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:
Ever since upgrading my PC to Windows 7, I’m always asked to enter my login to a network drive connected to a Linux server via samba everytime PC is restarted, even though the option Remember my credentials is checked. Why does window provides an option that doesn’t work?
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 via .htaccess, the same default page is displayed.
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 allow new user to run sudo, run: usermod -G admin <username>
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, run this command: uname -a These commands are probably applicable to other linux builds.