yum install postgresql-server yum install postgresql-python yum install php-gd yum install php-mbstring yum install php-pdo yum install httpd yum install php yum install ppp yum install kernel yum install nano yum install mod_python php httpd-manual system-config-httpd httpd webalizer mud_perl perl-DBD-pg mod_ssl postgresql-libs apr-util dovecot wget http://voxel.dl.sourceforge.net/project/ibs/IBSng/IBSng-A1.24/IBSng-A1.24.tar.bz2 tar -xvjf IBSng-A1.24.tar.bz2 -C /usr/local service postgresql start nano /var/lib/pgsql/data/pg_hba.conf اضافه کردن متن زير در خط اول فايل local IBSng ibs trust su - postgres createuser ibs createdb IBSng createlang plpgsql IBSng logout service httpd start service postgresql restart /usr/local/IBSng/scripts/setup.py 1>2>2>1>enter pass admin>1>2>5>1>3>1>2>b>x 1 Install 2 Test DB Connection and Continue 2 Compile Configuration and Continue 1 Import Tables and Continueb Enter System password 1 Copy ibs.conf to '/etc/httpd/conf.d' 2 Chown apache directories to 'apache' 5 Countinue 1 Copy Redhat init file to /etc/init.d 3 1 2 Set IBSng to start on reboot b Back to main menu x Exit rpm -ivh http://acelnmp.googlecode.com/files/pptpd-1.3.4-1.rhel5.1.i386.rpm rpm -ivh ftp://ftp.pbone.net/mirror/ftp.freshrpms.net/pub/freshrpms/pub/dag/redhat/el5/en/i386/dries/RPMS/radiusclient-0.3.2-0.2.el5.rf.i386.rpm cd /etc/radiusclient wget http://www.webhostingtalk.ir/dl/Video/IBSng/dictionary.microsoft rm -f /etc/pptpd.conf cd /etc wget http://www.webhostingtalk.ir/dl/Video/IBSng/pptpd.conf rm -f /etc/ppp/options.pptpd cd /etc/ppp wget http://www.webhostingtalk.ir/dl/Video/IBSng/options.pptpd rm -f /etc/sysctl.conf cd /etc wget http://www.webhostingtalk.ir/dl/Video/IBSng/sysctl.conf rm -f /etc/radiusclient/radiusclient.conf cd /etc/radiusclient wget http://www.webhostingtalk.ir/dl/Video/IBSng/radiusclient.conf rm -f /etc/radiusclient/dictionary cd /etc/radiusclient wget http://www.webhostingtalk.ir/dl/Video/IBSng/dictionary rm -f /etc/ppp/ip-up cd /etc/ppp wget http://www.webhostingtalk.ir/dl/Video/IBSng/ip-up nano /etc/radiusclient/servers 127.0.0.1 terahost.ir sysctl -p echo 1 > /proc/sys/net/ipv4/ip_forward iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE iptables -A INPUT -i eth0 -p tcp --dport 1723 -j ACCEPT iptables -A INPUT -i eth0 -p gre -j ACCEPT iptables -A FORWARD -i ppp+ -o eth0 -j ACCEPT iptables -A FORWARD -i eth0 -o ppp+ -j ACCEPT /sbin/service iptables save chkconfig pptpd on chkconfig httpd on chkconfig postgresql on ---------------- service postgresql restart service pptpd restart service httpd reload service IBSng start chkconfig IBSng on