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:

Ubuntu: Install and Setup vsftpd

To install vsftpd: sudo apt-get install vsftpd By default it’s anonoymous only. to change and allow local user to ftp files to and from server: sudo vi /etc/vsftpd.conf change / …

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 …

PHP: Image manipulation

The GD image library provide functions to manipulate image files. On some installations, this does not come as default and needs to be installed. On fedora, the command is yum …