Bagaimana Cara Install Linux Apache MYSQL PHP LAMP di Ubuntu 14.04

Kali ini techbatavia akan membahas tentang mengganti web server nginx dengan apache. Apache adalah web server yang bertugas untuk memenuhi permintaan  browser dalam menampilkan suatu halaman situs.

Apache web server ialah web yang paling banyak di gunakan untuk saat ini. Dari data w3techs 25 februari 2015, Apache masi merajai pasar dengan 58,$ dari seluruh web server yang ada. Sedangkan NGINX menduduki peringkat ke 2 dengan persenan 23,4%.

LEMP dan LAMP juga merupakan instalasi paket yang sangat di harapkan ( butuhkan) untuk membuat sebuah website yang dinamis. Berikut ini kami akan membahas Cara Install Linux Apache MySQL PHP ( LAMP ) di ubuntu 14.04.

Linux

Pastikan anda tepat dalam memilih distro ubuntu 14.04 untuk dapat follow dan ikutin tutorial ini. mungkin anda ingin bertanya ” Apakah saya bisa menggunakan ubuntu dengan versi lainnya? ” tentu saja bisa, tapi sebaiknya anda menggunakan ubuntu 14.04.

Apache

Kalau anda menggunakan VPS ( Virtual Private Server ), biasanya apache sudah terinstal dengan default. Cukup cek sendiri melalui command di bawah ini :

untuk mengecek port apa saja yang digunakan dengan comand

Jika apache belum terinstall dalam server anda, silahkan ketik command

Setelah itu silahkan cek lagi melalui terminal console dengan mengetikan IPVPS atau domainanda.com di browser yang anda pilih. Jika tampilan halaman default apache ubuntu anda seperti yang di bawah ini artinya proses instal anda sudah berjalan lancar dan sukses.

Apache Ubuntu

Database MySQL

Untuk Instal database MySQL melalui comand

sesudah itu silahkan ketik perintah ini :

Untuk menjaga keamanan anda sebaiknya anda menghapus settingan user dan password default yang di berikan MySQL, silahkan ketik dengan command di bawah ini dan jika ada konformasi N/Y silahkan ketik Y untuk menyetujuinya.

proses instalasi MySQL sudah selesai selanjutnya kita ke bagian terakhir dari Php LAMP.

PHP

Php merupakan hypertext Pre Processor yang ialah bahasa script yang di tanam dalam seisi server. Php sendiri memiliki banyak versi tentu saja yang terbaru sudah mencapai versi 5 dan memiliki fitur baru dan dukungan lebih baik terhadap beberapa Object Oriented Progamming. Php ini bersifat open source dan anda tidak perlu menggunakan biaya untuk menggunakannya. Saat ini tentu bahasa php merupakan bahasa pemograman web yang paling di gunakan dan telah mencapai 82,1% website di seluruh dunia menggunakannya hingga saat ini.

Untuk melakukan install PHP 5 di ubuntu 14.04 silahkan ketik comand :

Dalam beberapa kasus apache biasanya pertama kami akan memastikan file index. html dibandingkan file lainnya. Sedangkan untuk memprioritaskan yang di pilih apache menjadi index. php anda perlu menggantinya yang terletak di dir.conf dengan editor source pilihan anda. Saya sendiri memilih nano editor ( bila belum terinstall silahkan install dahulu )

setelah itu akan muncul seperti ini :

setelah itu pindahkan index php ke bagian terdepan. Letakkan Directory Index melalui comand ini :

simpan setting tersebut dengan CTRL+X dan jangan lupa konfirmasi dengan “Y”

Untuk restart apache silahkan melalui comand :

Install Modul PHP

Opsi tambahan, anda dapat menginstall PHP yang telah tersediakan, untuk melihat jenis apa saja yang ada dalam modul tersebut silahkan ketik dengan perintah

Untuk menginstallnya cukup melakukannya dengan apt-get install diikuti dengan fitur yang anda inginkan, seperti contoh yang saya install di php5-cli dengan perintah

Untuk mengetahui informasi tentang fitur fitur tersebut dapat di lihat dengan perintah :

Melalui package_name yang ialah untuk mengetahui modul yang anda ingin ketahui tentang informasi tersebut. contoh untuk mengetahui modul php5-cli dengan perintah

Lanjutnnya untuk melakukan test php yang telah anda install dengan membuat file info .php dengan perintah

setelah itu akan di layar kaca anda akan tampil layar kosong, langsung saja ketikan tulis berikut ini ke dalam file info .php anda. Untuk memudahkannya silahkan copy paste atau ketik dengan perintah :

setelah itu simpan dengan CTRL+X seperti biasa. Silahkan langsung dengan dengan mengetikkan domainanda.com/info.php atau IP/info.php di browser yang anda pilih. Jika tampilan halaman anda seperti di bawah ini, berart test php anda telah berhasil.

tampilan test php

silahkan langsung berikan perintah ini untuk menghapus file info.php yang telah anda buat.

Sekian dari artikel kami Bagaimana Cara Install MYSQL php Lamp di Ubuntu 14.04

31 COMMENTS

  1. We take it that only a expert novelist can cunning academic content that’s nothing stubby of fulfilled http://ouanessayounsi.com/best-college-essays/we-solution-that-one-depending-on-my-personal-understanding-encounter-and-also-the-assistance-which-i-experienced-obtained-through-my-personal-instructors-regarding-investigation-documents/ and brings the paramount results. A moral choice by mary gordon essay. Every online essay journo in our network has a antagonistically track-record of providing fact-finding and scribble literary works benefit to students. Essays for myanmar students Westview

  2. We imagine that only a professional writer can cunning speculative content that’s nothing stubby of best [url=http://propergraduate.biz/2017/09/27/ethnic-background-plays-a-role-in-an-individual-s/]http://propergraduate.biz/2017/09/27/ethnic-background-plays-a-role-in-an-individual-s/[/url] and brings the largest results. Essay on safe road travel. Every online essay wordsmith in our network has a foul track-record of providing into and expos‚ benefit to students. Junior accountant cover letter no experience

  3. We believe that barely a professional writer can genius erudite size that’s nothing succinct of fulfilled [url=http://manexperts.me/2017/11/27/what-type-of-topics-should-be-in-a-boat-cleaning/]http://manexperts.me/2017/11/27/what-type-of-topics-should-be-in-a-boat-cleaning/[/url] and brings the best results. Bsc english papers punjab university 2011. Every online essay wordsmith in our network has a strong track-record of providing into and scribble literary works aid to students. Essays on swamy vivekananda s contribution to the nation building

  4. We suppose that alone a able paragrapher can genius erudite fulfilled that’s nothing short of perfect [url=http://geometryrank.me/2017/11/01/become-a-successful-story-writer-in-india/]http://geometryrank.me/2017/11/01/become-a-successful-story-writer-in-india/[/url] and brings the best results. Ib english sl paper 2 mark scheme. Every online attempt journo in our network has a antagonistically track-record of providing check in and penmanship benefit to students. If men could menstruate gloria steinem essays glasgow

  5. We suppose that barely a skilful correspondent can ship speculative fulfilled that’s nothing stubby of best [url=http://collegeagent.me/2017/12/27/business-management-case-study-over-disclosure/]http://collegeagent.me/2017/12/27/business-management-case-study-over-disclosure/[/url] and brings the paramount results. Critical reading and thinking cornell. Every online effort writer in our network has a foul track-record of providing check in and penmanship benefit to students. Comparison essay great gatsby winter dreams

  6. We take it that only a professional paragrapher can ship erudite size that’s nothing short of best [url=http://essayawesome.me/2017/09/30/wifi-wireless-systems-in-robotic-factories-case/]http://essayawesome.me/2017/09/30/wifi-wireless-systems-in-robotic-factories-case/[/url] and brings the best results. Ad hoc networking research papers. Every online essay writer in our network has a strong track-record of providing fact-finding and penmanship aid to students. Icas english past papers answers

  7. We take it that just a professional novelist can craft erudite ease that’s nothing short of fulfilled [url=http://geometrymix.me/2017/09/24/writing-an-analytical-research-paper/]http://geometrymix.me/2017/09/24/writing-an-analytical-research-paper/[/url] and brings the most skilfully results. Ma english bzu multan guess paper. Every online attempt journo in our network has a concentrated track-record of providing research and scribble literary works support to students. In a brief essay explain how beowulf is introduced. how do others view him

  8. We take it that only a able paragrapher can cunning visionary ease that’s nothing abbreviated of correct [url=http://physicselegant.me/2017/12/29/help-with-essay-writing-software-read-before-you/]http://physicselegant.me/2017/12/29/help-with-essay-writing-software-read-before-you/[/url] and brings the most skilfully results. Phd thesis on financial inclusion. Every online effort wordsmith in our network has a foul track-record of providing into and writing assistance to students. Help with managerial accounting homework

  9. We believe that just a professional correspondent can cunning speculative fulfilled that’s nothing short of best [url=http://solidgraduate.me/2017/12/04/freelance-writing-jobs-for-beginners-without/]http://solidgraduate.me/2017/12/04/freelance-writing-jobs-for-beginners-without/[/url] and brings the largest results. Tesis tentang sistem peradilan pidana. Every online attempt wordsmith in our network has a concentrated track-record of providing into and scribble literary works assistance to students. The conclusion paragraph should include a restatement of the thesis

  10. We must just look instead of several specialised examples online. There is a lot of different expedient info on the web [url=http://rushessay-s.com/rush-essay/interpersonal-difficulties/]interpersonal difficulties[/url] nowadays really. I can also second you to try one\’s hand at out. It is a cold-hearted emotional attachment indeed.

  11. You can nothing but look for some specialised examples online. There is a lot of different expedient info on the web [url=http://sameday-essay.com/pdf-essay-writing/the-actual-sentence-structure-element-punctuation-along-with-nevertheless-that-which-panel-documents/]the actual sentence structure element punctuation along with nevertheless that which panel documents[/url] these days really. I can also recommend you to undertaking out. It is a cold-hearted thing indeed.

  12. We must nothing but look representing some specialised examples online. There is a oceans of unalike productive info on the network [url=http://whiteessay.com/custom-essay-writing-services/composing-a-great-background-document/]composing a great background document[/url] these days really. I can also recommend you to undertaking out. It is a chilliness predilection indeed.

  13. You can just look in support of some specialised guides online. There is a enormous numbers of different useful info on the network [url=http://chiefessay.biz/2017/10/12/behavioral-economics-founder-richard-thaler-wins/]behavioral economics founder richard thaler wins[/url] today really. I can also recommend you to undertaking wide of the mark. It is a diminish predilection indeed.

  14. They can just look instead of some specialised examples online. There is a enormous numbers of divergent expedient info on the cobweb [url=http://essaysuper.biz/2017/11/14/how-to-research-a-political-science-paper/]how to research a political science paper[/url] these days really. I can also advocate you to judge not at home. It is a cold-hearted thing indeed.

  15. We must nothing but look in support of several specialised examples online. There is a oceans of extraordinary advantageous info on the cobweb [url=http://trueaudiozlm.tk/hp-deskjet-d1460-driver-free-zone]Hp Deskjet d1460 driver Free[/url] nowadays really. I can also advocate you to try one\’s hand at not at home. It is a diminish predilection indeed.

  16. We can nothing but look in support of several specialised guides online. There is a lot of different productive info on the cobweb [url=http://adultfinderdriftza.tk/picky-dating-app]Picky Dating App[/url] today really. I can also persuade you to try out. It is a diminish predilection indeed.

  17. They can just look instead of some specialised examples online. There is a lot of different expedient info on the web [url=http://clickfilesfh.cf/amor-en-conserva-ciclo-hermanos-marx-vhsrip-comedia-descargar-torrent-divxtotal]amor en conserva[/url] nowadays really. I can also advocate you to undertaking in sight. It is a cool emotional attachment indeed.

  18. We must honourable look for several specialised guides online. There is a oceans of different productive info on the network [url=http://Digisaluteqs.cf/change-my-software-8-edition-version-1-179-download]read review[/url] these days really. I can also recommend you to try out. It is a chilliness attitude indeed.

  19. We must just look instead of several specialised guides online. There is a lot of extraordinary expedient info on the cobweb [url=http://Femfinderfilmqg.tk/jungkook-dating-staff]jungkook dating staff[/url] these days really. I can also recommend you to judge wide of the mark. It is a cool attitude indeed.

  20. They must nothing but look representing some specialised guides online. There is a enormous numbers of divergent useful info on the net [url=http://filezautomu.cf/zono062]zono062[/url] today really. I can also advocate you to try not at home. It is a diminish predilection indeed.

  21. I have learn several excellent stuff here. Certainly price bookmarking for revisiting.
    I wonder how a lot attempt you set to make the sort of
    wonderful informative site.

  22. Hello there I am so happy I found your web site, I really found you by error,
    while I was researching on Askjeeve for something else, Anyways I am here now and would just like to say thank you for a remarkable post
    and a all round entertaining blog (I also love the theme/design), I don’t have time
    to read it all at the minute but I have bookmarked it and
    also added your RSS feeds, so when I have time I will be back to read a lot more, Please do keep
    up the superb b.

  23. I was curious if you ever considered changing the
    structure of your website? Its very well written;
    I love what youve got to say. But maybe you could a little
    more in the way of content so people could connect with it better.
    Youve got an awful lot of text for only having one or
    2 images. Maybe you could space it out better?

  24. We’re a group of volunteers and starting a new scheme in our community.

    Your website offered us with valuable information to work on. You have done an impressive job
    and our entire community will be grateful to you.

  25. Hello everybody, here every one is sharing these kinds of know-how, therefore it’s pleasant to read this website, and I used to pay
    a quick visit this website every day.

  26. Greetings! I’ve been reading your weblog for some time now and finally got the courage to go ahead and give you a shout out from
    Kingwood Tx! Just wanted to tell you keep up the fantastic job!

LEAVE A REPLY