Pages

Sunday, August 7, 2011

Easy to install WebServer with php supported on Ubuntu Server

This is a very easy way to create a web server in ubuntu. with just a few steps you will get a web server with php supported.

On terminal console just type this command :
# tasksel

then you will see several options. select LAMP and then select OK.
you will be asked to enter the root password of MySQL database server.
Your web server will installed automaticaly. ^^

to add phpmyadmin, just type the following command on console :
# apt-get install phpmyadmin

select apache2, when asked a choice

Friday, August 5, 2011

gBilling, free internet cafe billing system for linux and windows


have an internet cafe with 2 different OS sometimes makes usdizzy looking for programs that support billing with both OS.
gBilling can be used as a solution to these problems. gBilling can run well on Windows and Linux operating systems
gBilling is a free program and can be downloaded on the official website
http://gbilling.sourceforge.net

Installing a Proxy Server for my internet cafe

because of the limited bandwidth in my internet cafe, demanded that I can save my internet bandwidth. That requires a proxy server that can do caching content for many sites.

I started by installing ubuntu server on my old computer. I use a Pentium III class computer with 512MB of RAM and 80 GB of Hard drive.

I'm using Ubuntu Server 10.04 Lucid to create a Proxy Server.



Creating hard disk partitions
partition : /boot
file system : ext4
size : 256 MB

partition : / (root)
file system : ext4
size : 16 GB

partition : swap area
size : 2 GB

partition : /cache
file system : ext4
size : 61 GB

after base system installation is complete, proceed with repository update.
run this command on console :
sudo apt-get update

then I proceed with the installation of squid proxy server

# aptitude install squid squidclient squid-cgi

# aptitude install libzip-dev sharutils ccze libzip-dev automake1.9 gcc build-essential

# wget http://untuk-kita-semua.googlecode.com/files/LUSCA_FMI.tar.gz

# tar -zxvf LUSCA_FMI.tar.gz

# cd LUSCA_FMI

# ./bootstrap.sh

# cat /proc/cpuinfo

# CHOST="i686-pc-linux-gnu"
# CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
# CXXFLAGS="${CFLAGS}"

# ./configure --prefix=/usr --exec_prefix=/usr --bindir=/usr/sbin --sbindir=/usr/sbin --libexecdir=/usr/lib/squid --sysconfdir=/etc/squid --localstatedir=/var/spool/squid --datadir=/usr/share/squid --enable-http-gzip --enable-async-io=24 --with-aufs-threads=24 --with-pthreads --enable-storeio=aufs --enable-linux-netfilter --enable-arp-acl --enable-epoll --enable-removal-policies=heap --with-aio --with-dl --enable-snmp --enable-delay-pools --enable-htcp --enable-cache-digests --disable-unlinkd --enable-large-cache-files --with-large-files --enable-err-languages=English --enable-default-err-language=English --with-maxfd=65536

# make

# make install

FINISH ^^

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | cheap international calls