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 / …

Linux and Php: Timezone Setting

Recently a server was upgraded to FC14 with PHP V538 and when running PHP based website, the following warning is displayed: PHP Warning:  date(): It is not safe to rely on …

Fedora: How to disable SELinux

SELinux stands for security-enhanced Linux. It’s probably too secured and caused a lot of file errors. Here’s how to disable SELinux in Fedora Core 10. It’s probably more or less the …