Ubuntu: Setup Apache2, PHP5 and MySQL

Packages to install to run PHP: sudo apt-get install apache2 sudo apt-get install php5 sudo apt-get install libapache2-mod-php5 sudo service apache2 restart Some optional / useful php libraries to install:

Fedora: Disable Default Apache Page

By default when Fedora / Red Hat Linux is installed, a ‘Fedora test page’ is displayed when Apache server is started. Or when websites are configured on server, denying IP address …

Ubuntu: Add user

There are 2 commands to add user: useradd and adduser. (The commands could be the same for other Linux.) adduser is easier to use. It prompts for relevant information. To …

Linux Version

To find out the Ubuntu version the server is running, the information can be found in file /etc/issue. Alternatively, run this command: lsb_release -a To find out the kernel version, …