Changes

Jump to navigation Jump to search
no edit summary
Line 35: Line 35:     
Then install LAMP by following the excellent [https://wiki.archlinux.org/index.php/LAMP Arch Linux LAMP guide].
 
Then install LAMP by following the excellent [https://wiki.archlinux.org/index.php/LAMP Arch Linux LAMP guide].
   
    
 
    
 
   # pacman -S apache php php-apache mysql
 
   # pacman -S apache php php-apache mysql
Line 41: Line 40:  
   # rc.d start mysqld  
 
   # rc.d start mysqld  
 
    
 
    
Then add a MySQL password:
+
Don't forget to add a MySQL password:
 
    
 
    
 
   # mysqladmin -u root password ‘password’
 
   # mysqladmin -u root password ‘password’
 
   # mysql -u root -p
 
   # mysql -u root -p
 
    
 
    
Type exit to exit from the CLI MySQL client
      
Then Edit /etc/rc.conf (to start MySQL at boot):  
 
Then Edit /etc/rc.conf (to start MySQL at boot):  
Line 59: Line 57:  
# rc.d start httpd
 
# rc.d start httpd
    +
Then Edit /etc/rc.conf (to start Apache at boot):
 +
 
 +
  DAEMONS=(... httpd ...)
 +
 
 
Having followed the php installation guide then you'll also need to update php's basedir to match Apache:
 
Having followed the php installation guide then you'll also need to update php's basedir to match Apache:
   Line 103: Line 105:  
Complete details coming soon ...
 
Complete details coming soon ...
    +
Needs to include:
    +
* git
 +
* installing ipscan
 +
* locking down ssh
 +
* firewall
 +
* cron jobs
 +
* php landing page example
     

Navigation menu