23.02.2015 Views

www.it-ebooks.info

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 1<br />

The installation wizard will ask us to select predefined packages to install; one of the<br />

options available is LAMP server.<br />

Although this is highly convenient, we don't want to install the LAMP server that<br />

comes pre-packaged w<strong>it</strong>h our Ubuntu CD; we will be installing all the LAMP<br />

components manually to guarantee that they are set up according to specific needs<br />

and are up to date w<strong>it</strong>h the latest patches.<br />

Next, for this, we will need an SSH server; select OpenSSH server from the list and<br />

click on Continue:<br />

Now, installation of Ubuntu is complete and <strong>it</strong> will reboot into our newly installed<br />

virtual box.<br />

We are almost ready to proceed w<strong>it</strong>h the installation of the rest of our environment,<br />

but first we need to update our package manager repos<strong>it</strong>ory defin<strong>it</strong>ions, log in to the<br />

console and run the following command:<br />

$ sudo apt-get update<br />

APT stands for Advanced Packaging Tool and is one of the core libraries included<br />

w<strong>it</strong>h most Debian GNU/Linux distributions; apt greatly simplifies the process of<br />

installing and maintaining software on our systems.<br />

Once apt-get has finished updating all the repos<strong>it</strong>ory sources, we can proceed w<strong>it</strong>h<br />

the installation of the other components of our LAMP server.<br />

[ 15 ]<br />

<strong>www</strong>.<strong>it</strong>-<strong>ebooks</strong>.<strong>info</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!