okey ba kolega sira
nebe maka aprende ona kona-ba aplikasaun open source nian mak hanesan
apache2 hau fiar katak kolega sira aprende no komprende ona saida
maka Apache Web-server, PHP, MySQL-Server no
PhpMyadmin ne’ebé iha Aplikasaun Server Apache. Apache ne'e livre
bazeia ba Fonte sira ne’ebé Nakloke aplikasaun ida hatene nu'udar
no dala barak uza husi servidór iha mundu tomak. Apache bele
konkorre ba operasaun
sistema barak
(Unix, BSD, Linux, Windows Microsoft no Novell Netware nune'e
plataforma sira seluk) no funsionamentu situs
internet. Protokolu ida-ne'e uza atu serbí ba
web / fasilidade www uza HTTPS
notas
: emzeralmente web server mak hanesan
fatin ne’ebe maka rai dadus sira hotu nebe maka ita kria iha
aplikasaun hanesan PHPMyadmin no sira seluk no nia maka jere dadus
sira hotu nebe maka ita asesu ba
lalaok atu instala apache iha ita nia pc/lap hanesan babain iha linux atu instala liu husi terminal hanehan tekladu CRT-ALT+T ne hanesan atu loke terminal no tuir hanehan tekladu no halo tuir kodigu nebe mak iha kraik ne
$ sudo apt-get install apache2
loke ita nia browser hanesan fire fox depois hanehan tekladu apeche nia url http://[ip address server]
2. Install PHP5
lalaok
atu instala PHP5 iha ita nia pc/lap hanesan babain iha linux atu
instala liu husi terminal hanehan tekladu CRT-ALT+T ne hanesan atu loke
terminal no tuir hanehan tekladu no halo tuir kodigu nebe mak iha kraik
ne
$ sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql
halo konfigurasaun hanesan babain iha ita uza text editor iha gui maibe iha terminal ita uza nano ne hanesan file text ida mos .php ba ita nia direktori /var/www/html/
$ sudo nano /var/www/html/info.php
depois tuir aumenta script iha kraik ne'e
<?php phpinfo(); ?>
save ou rai hanehan tekladu Ctrl + X tuir tan hanehan tekladu Y hotu [ENTER] agora restart servicu apache2
$ sudo service apache2 restart
Ba loke browser koko tuirmai sujestaun kona-ba url http: / / ipaddress server / info.php
3. Install MySql-Server
$ sudo apt-get install mysql-server
tau Password ba MySQL
tau nafatin password
Ba teste iha komandu tuir mai ne'e.
$ sudo mysql -u root -p
4. Install PhpMyadmin.
lalaok atu instala PhpMyadmin iha ita nia pc/lap hanesan babain iha linux atu instala liu husi terminal hanehan tekladu CRT-ALT+T ne hanesan atu loke terminal no tuir hanehan tekladu no halo tuir kodigu nebe mak iha kraik
lalaok atu instala PhpMyadmin iha ita nia pc/lap hanesan babain iha linux atu instala liu husi terminal hanehan tekladu CRT-ALT+T ne hanesan atu loke terminal no tuir hanehan tekladu no halo tuir kodigu nebe mak iha kraik
$ sudo apt-get install phpmyadmin
-iha opsaun "configure phpmyadmin" hili apache2
-input sql password abut
-Tama password ba phpmyadmin
Kria ligasaun simbóliku ida ho haruka.
-input sql password abut
-Tama password ba phpmyadmin
Kria ligasaun simbóliku ida ho haruka.
$ sudo ln -s /usr/share/phpmyadmin /var/www/html/phpmyadmin
Ba teste sujestaun browser ne ' ebé nakloke ba url http: / / [ip rezolve server] / phpmyadmin
Karik erru mbstring ida ne ' ebé mosu halai komando hirak tuir mai ne'e
Karik erru mbstring ida ne ' ebé mosu halai komando hirak tuir mai ne'e
$ sudo apt-get install phpmyadmin php-mbstring php-gettext
$ sudo service apache2 restart
0 comments:
Post a Comment