How to install LAMP on Ubuntu (Linux, Apache, MySQL and PHP) in one command

Lamp stands for Linux, Apache, MySQL and PHP. These tools are very common for running many websites such as WordPress, Drupal, Joomla, Collabtive…etc. In Ubuntu we can easily install Apache2, MySQL and PHP with one simple command. In later articles we will later setup some of these open source web applications and use the complete LAMP server.  If you are interested in following some of theses tutorials please subscribe to the RSS feed.

Since by default the Ubuntu server does not have a GUI we will install LAMP with the command line. If you do have a GUI installed, you can open a terminal and issue the following commands. This goes for your desktop as well.  Lets get started.

 

sudo apt-get install lamp-server^

 

sudo apt-get install lamp-server^

 

 

Enter your password

 

Enter Your Password

 

 

Enter “Y” and hit Enter

 

Hit "Y" and hit Enter

 

 

You should see your server downloading the needed Lamp Packages.

Create a secure MySQL password

 

Create MySQL password

 

 

Enter your new MySQL password one more time.

 

Enter MySQL password again

 

 

 

Advertisements

About lorddisk

WebCenter Content, WebCenter Portal, WebCenter Sites,Weblogic, Identity and Access Management (IAM),SSO,OAM,OIM,OAAM,OUD, OPAM,OID, OVD ,Oracle API Gateway ,OBIEE,OEDQ, Oracle ADF, Oracle SOA,J2EE, CackePHP ,PHP,J2SE,J2EE,Spring,Hibernate,JQuery,CSS,Java Script ,Joomla,Drupal,Worpress
This entry was posted in linux. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s