Sunday, February 1, 2015

Maneira Fasil Instala LAMP iha Linux Mint 17



I. Konaba LAMP
LAMP nudar sigla para mensiona Linux, Apache, MySQL no PHP ne'ebe hanesan ambiente dezenvolvimentu web bazeia ba open source. Linux nudar sistema operasaun, Apache sai hanesan web server, MySQL para jestaun database no PHP (Preprocessor Hyper Text) nudar lingua programasaun web.

Iha oportunidade ne'e, Autores sei fahe maneira oinsa atu halo instalasaun LAMP ho fasil liu husi Terminal.

Notas:
Pratika ne'e uza sistema operasaun Linux Mint 17.1 "Rebecca", no bele mos aplika maneira instalasaun ne'e ba Debian ou Ubuntu.

Lalaok hanesan tuir mai:

II. Instalasaun
  1. Loke aplikasaun Terminal liu husi menu: System Tools → Terminal

  2. Kontinua instala LAMP ho maneira:

    sudo apt-get install lamp-server^

  3. Hatama password foun ba user root MySQL

  4. Kria Password root MySQL
III. Teste

A. Apache
Teste servidor web Apache ho aplikasaun browser favoritu hanesan Mozilla Firefox, Google Chrome, no seluktan ho maneira digitandu enderesu http://127.0.0.1 ou http://localhost iha aplikasaun browser ne'ebe uza.

Teste Servidor Web Apache Ho Aplikasaun Browser Mozilla Firefox

B. PHP
Hakarak hatene katak instalasaun PHP susesu integradus ho servidor web Apache, bele kria pajina web ida liu husi Terminal ho maneira hanesan tuir mai:
  1. sudo echo "<?php phpinfo(); ?>"  >  /var/www/html/phpinfo.php

  2. Hala'o fila-fali servisu servidor web Apache

    sudo service apache2 restart

    ou bele mos uza komandu iha kraik ne'e:

    sudo /etc/init.d/apache2 restart

  3. Loke aplikasaun browser hanesan Mozilla Firefox, no digitandu enderesu http://127.0.0.1/phpinfo.php ou http://localhost/phpinfo.php

    Teste Modulo PHP Ho Aplikasaun Browser Mozilla Firefox

C. MYSQL
Maneira atu teste database MySQL la'o ho diak bele hatama komandu iha kraik ne'e ba Terminal:

mysql  -u  root  -p

Janela Aplikasaun MySQL
Karik mosu informasaun hanesan ezemplu ilustrasaun iha leten, signifika Ita susesu hala'o MySQL.

Ne'e deit mata-dalan badak husi Autores, espera bele ajuda maluk sira ne'ebe hakarak hatene oinsa maneira fasil instala LAMP.

Haksolok ho Software Livre!

Referensia: 
http://www.lamphowto.com
http://en.wikipedia.org/wiki/LAMP_(software_bundle)
Fahe artiklu ne'e
  • Fahe ba Facebook
  • Fahe ba Twitter
  • Fahe ba Google+
  • Fahe ba Stumble Upon
  • Fahe ba Evernote
  • Fahe ba Blogger
  • Fahe ba Email
  • Fahe ba Yahoo Messenger
  • Seluktan...

Iha komentariu 6

:) :-) :)) =)) :( :-( :(( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ :-$ (b) (f) x-) (k) (h) (c) cheer

 
© Mata Dalan Linux & Software Livre
Designed by BlogThietKe Cooperated with Duy Pham
Released under Creative Commons 3.0 CC BY-NC 3.0
Posts RSSComments RSS
Back to top