Showing posts with label lamp. Show all posts
Showing posts with label lamp. Show all posts

10 May, 2018

[SOLVED] Install WordPress on a Arch Linux Manjaro LAMP Stack

Bingo! WordPress up and running on Manjaro (Arch Linux)


I followed this recipe. Found on HowToForge.

[SOLVED] Arch LAMP Server PHP Problems

At last! The LAMP stack is up and running. 


At last I found a recipe that created the ArchLinux LAMPP. 



Unfortunately you have to fight idiotic popups and similar all of the time, but the article is sane and easy to follow.


What I struggled with
PHP cannot execute the files in Arch:

* PHP 7.2.5 (cli) (built: Apr 24 2018 18:12:24) ( NTS )
* Linux XXXXX 4.14.39-1-MANJARO #1 SMP PREEMPT Wed May 2 19:03:39 UTC 2018 x86_64 GNU/Linux

MySQL is up and running, and so is Apache. The problem is probably the settings in /etc/httpd/conf/httpd.conf

Next Morning
Tried, tried, reinstalled everything from rock bottom again. No success. The instructions on the Arch wiki don't work (for me at least).

After 4 hours of struggle I gave up - installing a LAMP server should be a nobrainer, as in Ubuntu. Now I try to build ... of all things in Hell ... xampp!

XAMPP
After waiting more than an hour for the Xampp binaries the thing was dropped. Which was very fortunate. I have some bad experiences from previous Xampp usage ... so WTH. Don't care now.

02 October, 2010

LAMP server

Linux
Ok, linux har vi...

Apache

Husk at installere doc filerne. Prøv så i browseren:
http://localhost/manual

Husk opsætning af /etc/apache2/sites-available/


ServerAdmin webmaster@localhost

DocumentRoot /var/www

Options FollowSymLinks
AllowOverride None


Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
# apaches default side
RedirectMatch ^/$ /joomla

-- Denne opsætning laver en anden default mappe end /www

MySQL
Husk at tilføje bruger.

  • #mysqladmin -u root password your-new-password
  • #mysqladmin -h root@local-machine-name -u root -p password your-new password
  • #/etc/init.d/mysql restart

PHP
tjek ved "phpinfo();"
tilføj phpadmin værktøj

Sikkerhed
En firewall er en god ide...