{"id":2063,"date":"2013-10-29T13:56:36","date_gmt":"2013-10-29T13:56:36","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=2063"},"modified":"2013-10-29T13:56:36","modified_gmt":"2013-10-29T13:56:36","slug":"install-lamp-ubuntu-13-10-server","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2013\/10\/install-lamp-ubuntu-13-10-server\/","title":{"rendered":"Install LAMP (Linux, Apache, MySQL, PHP) in Ubuntu 13.10 Server"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/10\/lamp_logo.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-full wp-image-2064\" alt=\"LAMP ubuntu 13.10\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/10\/lamp_logo.gif\" width=\"280\" height=\"148\" \/><\/a>This tutorial show you how to install <b>LAMP<\/b> in Ubuntu 13.10 Server. LAMP stands for <b>Linux<\/b>, <b>Apache<\/b>, <b>MySQL<\/b>, and <b>PHP<\/b>. It is a combination of these 4 that suitable for building high-availability heavy-duty dynamic web sites.<\/p>\n<p><b>L<\/b>inux is a Unix-like and POSIX-compliant operating system. Ubuntu is one of popular Linux distributions.<\/p>\n<p><b>A<\/b>pache is a HTTP web server, the most popular in use. It serves webpages when they\u2019re requested by the web browsers. When you type an URL on your web server and press Enter, the pages you see on screen is most likely served by Apache webserver.<\/p>\n<p><b>M<\/b>ySQL is a database management system now owned by Oracle Corporation. It stores and organizes references to the information the webserver needs.<\/p>\n<p><b>P<\/b>HP is a reflective programming language, which makes it possible for all these different parts to work together.<\/p>\n<p><b>Tutorial Objectives:<\/b><\/p>\n<ul>\n<li>Install LAMP Stack in Ubuntu 13.10 Server<\/li>\n<li>Enjoy!<\/li>\n<\/ul>\n<p><b>To get started<\/b>, run single command below to install them:<\/p>\n<pre>sudo apt-get install lamp-server^<\/pre>\n<p>While the installing process, you&#8217;ll be prompt to set a password for MySQL root user.<\/p>\n<p><b>To check out if Apache is working<\/b>, type <span style=\"text-decoration: underline;\">http:\/\/ubuntuserverip<\/span> in client web browser or <span style=\"text-decoration: underline;\">localhost<\/span> in the local browser:<\/p>\n<div id=\"attachment_2065\" style=\"width: 530px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/10\/apache-works.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-2065\" class=\"size-full wp-image-2065\" alt=\"apache is working\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/10\/apache-works.jpg\" width=\"520\" height=\"251\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/10\/apache-works.jpg 520w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/10\/apache-works-300x144.jpg 300w\" sizes=\"auto, (max-width: 520px) 100vw, 520px\" \/><\/a><p id=\"caption-attachment-2065\" class=\"wp-caption-text\">apache is working<\/p><\/div>\n<p><b>To check out if PHP is working<\/b>, run command below to create a test php file in root of Apache webserver directory:<\/p>\n<pre>sudo vi \/var\/www\/info.php<\/pre>\n<p>Press <b>i<\/b> to start editing, and type in following lines:<\/p>\n<pre>&lt;?php\nphpinfo();\n?&gt;<\/pre>\n<p>After that, press <b>Esc<\/b> to exit editing. Press <b>Shift + :<\/b> and followed by <b>wq<\/b> and Enter to save the changes.<\/p>\n<p>Now, type <u>http:\/\/ubuntuserverip\/info.php<\/u> in client&#8217;s browser or <u>localhost\/info.php<\/u> in local browser, you&#8217;ll see:<\/p>\n<div id=\"attachment_2066\" style=\"width: 530px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/10\/php-mysql-works.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-2066\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/10\/php-mysql-works.jpg\" alt=\"php &amp; mysql is working\" width=\"520\" height=\"314\" class=\"size-full wp-image-2066\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/10\/php-mysql-works.jpg 520w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/10\/php-mysql-works-300x181.jpg 300w\" sizes=\"auto, (max-width: 520px) 100vw, 520px\" \/><\/a><p id=\"caption-attachment-2066\" class=\"wp-caption-text\">php &#038; mysql is working<\/p><\/div>\n<p>Scroll down to find out if there&#8217;s a section about <b>Mysql<\/b>, it means that <b>Mysql is working<\/b> too!<\/p>\n<p>Now your LAMP server is up and working, see <a href=\"https:\/\/ubuntuhandbook.org\/index.php\/2013\/10\/install-wordpress-ubuntu-13-10-server\/\" title=\"Install WordPress Ubuntu 13.10\" target=\"_blank\">how to install wordpress in Ubuntu 13.10<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial show you how to install LAMP in Ubuntu 13.10 Server. LAMP stands for Linux, Apache, MySQL, and PHP. It is a combination of these 4 that suitable for building high-availability heavy-duty dynamic web sites. Linux is a Unix-like and POSIX-compliant operating system. Ubuntu is one of popular Linux distributions. Apache is a HTTP [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[745,744,607,746,37],"class_list":["post-2063","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-apache","tag-lamp","tag-mysql","tag-php","tag-ubuntu-13-10"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/2063","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=2063"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/2063\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=2063"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=2063"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=2063"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}