This tutorial presumes that you understand what is a LAMP Server , how to deploy a web site and how to install software using Terminal and experience in running other Basic Terminal Commands.
To install any application you need root access , You can prefix sudo before every command or login to root user and execute the commands
Enter the password of your account
You need to update the local repo by fetching indexes from remote canonical repos
To install Apache you must install the Metapackage apache2. This can be done by running the following command.
apt-get install apache2
To install MySQL you must install the Meta package mysql-server.
apt-get install mysql-server
To install php and apache lib for php if required install other libs like mysql lib and lots of other libs are available
apt-get install php5 libapache2-mod-php5
Open a web browser and navigate to that ubuntu IP
You should see a message saying
You can check your PHP by executing any PHP file from within /var/www/.
Alternatively you can execute the following command, which will make PHP run the code without the need for creating a file .
php -r ‘echo “nWow my installation is working.”;’
6+ years of experience in building data protection, copy data management and storage management applications, automation software and plugins for private and public clouds
This is a personal weblog. The opinions expressed here represent my own and not those of my employer. my thoughts and opinions change from time to time… This weblog is intended to provide a semi-permanent point in time snapshot and manifestation of the various memes running around my brain, and as such any thoughts and opinions expressed within out-of-date posts may not the same, nor even similar, to those I may hold today.