Configure ubuntu 14.04 for cakePHP

Commands to Configure

Change the prompt to Root
# sudo su

Update the server
# sudo apt-get update

Update the time of server
# sudo ntpdate 0.pool.ntp.org

Update the timezone
# sudo dpkg-reconfigure tzdata

Update the environment file for hided error
# sudo vi /etc/environment
—- Add this line in bottom —
LC_ALL=C

Install tasksel
# sudo tasksel install lamp-server

Configure Apache
# sudo vi /etc/apache2/apache2.conf
# sudo vi /etc/apache2/sites-enabled/000-default.conf

Install the missing component
# sudo a2enmod rewrite

Configure PHP
# sudo vi /etc/php5/apache2/php.ini

Install additional components
# sudo apt-get install ntp unzip subversion sendmail php5-gd php5-curl php5-intl php5-imap -y

Restart and you are DONE
# sudo /etc/init.d/apache2 restart

 

About: tiru


Leave a Reply

Your email address will not be published. Required fields are marked *