How to install LAMP Server on Zorin OS 9

August 15, 2014 | By | 1 Reply More

LAMP Server stands for Linux Apache MySQL and PHP server. With LAMP you will have a powerful web server on top of your Linux system. On this quick tutorial, I am going to show you how to install LAMP Server on Zorin OS 9. Installing LAMP Server on Zorin OS 9 is very easy. You will only need to run a single command and in few minutes, your web server is up and running.

To install LAMP Server on Zorin OS 9, open Terminal and run this command:

[codesyntax lang=”bash”]

[/codesyntax]

The output will looks like this. Type y and press enter to start the installation.

sudo apt-get install lamp-server^
Reading package lists… Done
Building dependency tree
Reading state information… Done
Note, selecting ‘mysql-server-core-5.5’ for task ‘lamp-server’
Note, selecting ‘mysql-server-5.5’ for task ‘lamp-server’
Note, selecting ‘libaio1’ for task ‘lamp-server’
Note, selecting ‘mysql-client-core-5.5’ for task ‘lamp-server’
Note, selecting ‘apache2-mpm-prefork’ for task ‘lamp-server’
Note, selecting ‘libaprutil1’ for task ‘lamp-server’
Note, selecting ‘libapache2-mod-php5’ for task ‘lamp-server’
Note, selecting ‘php5-mysql’ for task ‘lamp-server’
Note, selecting ‘php5-common’ for task ‘lamp-server’
Note, selecting ‘libaprutil1-dbd-sqlite3’ for task ‘lamp-server’
Note, selecting ‘php5-readline’ for task ‘lamp-server’
Note, selecting ‘ssl-cert’ for task ‘lamp-server’
Note, selecting ‘mysql-client-5.5’ for task ‘lamp-server’
Note, selecting ‘libhtml-template-perl’ for task ‘lamp-server’
Note, selecting ‘libterm-readkey-perl’ for task ‘lamp-server’
Note, selecting ‘libaprutil1-ldap’ for task ‘lamp-server’
Note, selecting ‘mysql-common’ for task ‘lamp-server’
Note, selecting ‘php5-cli’ for task ‘lamp-server’
Note, selecting ‘libmysqlclient18’ for task ‘lamp-server’
Note, selecting ‘apache2-data’ for task ‘lamp-server’
Note, selecting ‘php5-json’ for task ‘lamp-server’
Note, selecting ‘libapr1’ for task ‘lamp-server’
Note, selecting ‘apache2’ for task ‘lamp-server’
Note, selecting ‘mysql-server’ for task ‘lamp-server’
Note, selecting ‘apache2-bin’ for task ‘lamp-server’
Note, selecting ‘libwrap0’ for task ‘lamp-server’
Note, selecting ‘libdbd-mysql-perl’ for task ‘lamp-server’
Note, selecting ‘tcpd’ for task ‘lamp-server’
Note, selecting ‘libdbi-perl’ for task ‘lamp-server’
libaio1 is already the newest version.
libaio1 set to manually installed.
libwrap0 is already the newest version.
ssl-cert is already the newest version.
tcpd is already the newest version.
libmysqlclient18 is already the newest version.
libmysqlclient18 set to manually installed.
mysql-common is already the newest version.
mysql-common set to manually installed.
The following packages were automatically installed and are no longer required:
linux-image-3.13.0-32-generic linux-image-extra-3.13.0-32-generic
localechooser-data
Use ‘apt-get autoremove’ to remove them.
Suggested packages:
apache2-doc apache2-suexec-pristine apache2-suexec-custom apache2-utils
php-pear libmldbm-perl libnet-daemon-perl libplrpc-perl
libsql-statement-perl libipc-sharedcache-perl tinyca mailx php5-user-cache
The following NEW packages will be installed:
apache2 apache2-bin apache2-data apache2-mpm-prefork libapache2-mod-php5
libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap
libdbd-mysql-perl libdbi-perl libhtml-template-perl libterm-readkey-perl
mysql-client-5.5 mysql-client-core-5.5 mysql-server mysql-server-5.5
mysql-server-core-5.5 php5-cli php5-common php5-json php5-mysql
php5-readline
0 upgraded, 23 newly installed, 0 to remove and 1 not upgraded.
Need to get 14,6 MB of archives.
After this operation, 119 MB of additional disk space will be used.
Do you want to continue? [Y/n] y

You will be asked for MySQL root password during installation. Enter your MySQL root password and the installer will continue installing. Once finished, check if your web server is up and running by typing the following address using your web browser.

http://localhost

It should display the Apache2 default page

lamp server zorin

Tags: , ,

Category: Other Linux

Comments (1)

Trackback URL | Comments RSS Feed

  1. Crawley says:

    I could kiss you right about now. Thank you so much. After days of searching. This simple post did the job I needed.from windows and now I’m on Linux Zorin for like 3 days. Thanks to you I have apache installed…now I’m wondering about PHP and every time I try to create a folder I get an error :-(

Leave a Reply