Installing Ubuntu as LAMP (Linux, Apache, Mysql, PHP - Perl - Python) Server is very easy. As it already has the choice available if you installing your Ubuntu using Ubuntu server CD. It'll install Apache with mod_php and PHP and Mysql along with php_mysql module. All tight up together. Not like in Fedora/CentOS/Redhat where you install Apache without PHP, which may lead to miss some configuration.
Simple and straight forward configuration is available on UbuntuGeek.comTuesday, April 29, 2008
5 Minutes Squid
Using Fedora Core 4
based on Red Hat Magazine | Squid in 5 minutes
All command running as root
based on Red Hat Magazine | Squid in 5 minutes
All command running as root
- Check if squid is available:
# rpm -q squid - If squid available, it'll output something like
squid-2.5.STABLE9-7
if not then execute the command:
# yum install squid - Configure squid: (just added on the last line)
# cp /etc/squid/squid.conf ~
# vi /etc/squid/squid.conf
http_port 8080
acl intranet src 192.168.0.0/24
http_access allow intranet - Info:
Our proxy server running on port 8080 so make sure you open that port on firewall
and the proxy only allow connection from network 192.168.0.0/24 - Turning on Squid:
# service squid start
# chkconfig squid on - Check Squid status:
# service squid status
# tail -f /var/log/messages/
# netstat -pant | grep 8080
Wednesday, March 19, 2008
Since I almost forgot this blog login and password so I started to blog my linux server experience on another free web hosting. So visit am3nblog if you want to know what missed. Most of blog is about centos, qmailtoaster and tips about linux.
Thursday, February 21, 2008
last week my friend doing same changes on his centos box, try to apply new samba config. somehow he forgot to do it. and samba can't be restarted. so he restart the whole server. but then after restarting the server, it wont boot properly.
after checking what happen it seems after loading network driver, kernel sudddenly panic.
so I switch to init 1, disable network service. restart the box, and whala.... centos recognized the system as a new box, as kudzu pop-up and asking do you want to configure a new network card, a new mouse, etc, etc....
after doing same configuration on network and samba daemon. the box boot up properly.
yuuu hu....
after checking what happen it seems after loading network driver, kernel sudddenly panic.
so I switch to init 1, disable network service. restart the box, and whala.... centos recognized the system as a new box, as kudzu pop-up and asking do you want to configure a new network card, a new mouse, etc, etc....
after doing same configuration on network and samba daemon. the box boot up properly.
yuuu hu....
Saturday, March 22, 2003
Friday, February 07, 2003
trial and configuration for linuxserver is stopped for now because I'm concentrating on linuxdesktop and my linuxserver does'nt have powersupply
(dikanibal buat keperluan user)
yang terakhir kali di kerjakan akhir bulan Januari 2003 adalah instalasi phpnuke versi terakhir dengan konfigurasi utk website internal tsp
(dikanibal buat keperluan user)
yang terakhir kali di kerjakan akhir bulan Januari 2003 adalah instalasi phpnuke versi terakhir dengan konfigurasi utk website internal tsp
Friday, January 17, 2003
Jan 15, 2003
Finding suitable configuration for installing php module
Jan 16, 2003
Download php source from php.net
read the README and do
install php with command
'./configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-mysql=/usr/local/mysql' '--with-gd' '--with-zlib-dir=/usr/include/zlib.h'
make
make install
for gd after I installing supported packages like freetypefont, libpng, xpm and other read the README
create file phpinfo.php
phpinfo();
?>
execute lynx http://localhost/phpinfo.php
and success...
Finding suitable configuration for installing php module
Jan 16, 2003
Download php source from php.net
read the README and do
install php with command
'./configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-mysql=/usr/local/mysql' '--with-gd' '--with-zlib-dir=/usr/include/zlib.h'
make
make install
for gd after I installing supported packages like freetypefont, libpng, xpm and other read the README
create file phpinfo.php
phpinfo();
?>
execute lynx http://localhost/phpinfo.php
and success...
Tuesday, January 14, 2003
Subscribe to:
Posts (Atom)