Tuesday, April 29, 2008

Ubuntu as LAMP server

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.com

5 Minutes Squid

Using Fedora Core 4
based on Red Hat Magazine | Squid in 5 minutes
All command running as root
  1. Check if squid is available:
    # rpm -q squid
  2. If squid available, it'll output something like
    squid-2.5.STABLE9-7
    if not then execute the command:
    # yum install squid
  3. 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
  4. 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
  5. Turning on Squid:
    # service squid start
    # chkconfig squid on
  6. 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....