FAMP ? apa maksudnya ? Jika di linux kita mengenal istilah LAMP yang maksudnya Linux Apache Mysql Php, maka FAMP di atas maksudnya .. anda pasti tahu
… hehe
( apache 2.2, mysql 5.0 server dan php 4.4 )
## Apache ##
cd /usr/ports/www/apache22
[root@proxy3 /usr/ports/www/apache22]# make install clean
DocumentRoot :
[root@proxy3 /usr/local/www/apache22/data]# default dari apache
tambahkan pada /etc/rc.conf :
apache22_enable="YES"
juga pada /boot/loader.conf
accf_http_load="YES"
Apache sh script service start :
[root@proxy3 /usr/local/etc/rc.d]# apache22 <= ( execute otomatis dari apache22_enable="YES" )
Apache execute binary secara manual :
/usr/local/sbin/httpd [-k start|restart|graceful|graceful-stop|stop]
## Mysql ##
cd /usr/ports/databases/mysql50-server
root@proxy3 /usr/ports/databases/mysql50-server]# make install clean
Mysql sh script service start
[root@proxy3 /usr/local/etc/rc.d]# mysql-server ( execute otomatis dari mysql_enable="YES" )
Create password root mysql
# mysqladmin –u root password ‘urrootpassword’
#[root@proxy3 /]# mysql -u root –p
Enter password: urrootpassword
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 5
Server version: 5.0.45 FreeBSD port: mysql-server-5.0.45_1
Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the buffer.
Mysql>
Tambahkan pada httpd.conf :
Letakkan test.php di DocumentRoot

[get this widget]
6 komentar:
See Here
This comment has been removed because it linked to malicious content. Learn more.
See here or here
SECURITY CENTER: See Please Here
See Please Here
Hello. This post is likeable, and your blog is very interesting, congratulations :-). I will add in my blogroll =). If possible gives a last there on my blog, it is about the OLED, I hope you enjoy. The address is http://oled-brasil.blogspot.com. A hug.
Post a Comment