Skip to content

Instantly share code, notes, and snippets.

Created October 14, 2013 16:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/6978145 to your computer and use it in GitHub Desktop.
Save anonymous/6978145 to your computer and use it in GitHub Desktop.
installing-IBSng-in-CentOS.txt
_______ ______ _____
___ ____ ____ __ __ __ \__ _________ /_ ___(_)_______
__ | /| / /_ | /| / /_ | /| / / _ / / /_ | /| / / _ \_ __ \ __ /__ ___/
__ |/ |/ /__ |/ |/ /__ |/ |/ /__/ /_/ /__ |/ |/ // __/ /_/ /___ / _ /
____/|__/ ____/|__/ ____/|__/_(_)____/ ____/|__/ \___//_.___/_(_)_/ /_/
Site : http://0web.ir"
Email : safeith@riseup.net"
Mobile : +98 930 400 1986"
## Install needed packages :
# yum install -y httpd postgresql postgresql-server postgresql-python php perl wget nano
## Disable selinux
# nano /etc/sysconfig/selinux
SELINUX=disabled
## Download IBSng
# wget -c http://ignum.dl.sourceforge.net/project/ibsng/IBSng-A1.24.tar.bz2
## Extract IBSng
# tar -xvjf IBSng-A1.24.tar.bz2 -C /usr/local
## Restart postgresql service
# service postgresql restart
## Open pg_hba.conf
# nano /var/lib/pgsql/data/pg_hba.conf
## And add this line to top of it
local IBSng ibs trust
## create database for IBSng
# su - postgres
$createdb IBSng
$createuser ibs
$createlang plpgsql IBSng
$ exit
## Installing IBSng
# python /usr/local/IBSng/scripts/setup.py
## And choice this numbers , one after another
1 ==>> To Install
2 ==>> Test DB Connection and Continue
2 ==>> Compile Configuration and Continue
1 ==>> Import Tables and Continue
Enter System password ==>> You will use it for login
1 ==>> Copy ibs.conf to '/etc/httpd/conf.d'
2 ==>> Chown apache directories to 'apache'
5 ==>> Continue
1 ==>> Copy logrotate Conf to /etc/logrotate.d
3 ==>> Continue
1 ==>> Copy Redhat init file to /etc/init.d
2 ==>> Set IBSng to start on reboot
b ==>> Back to main menu
x ==>> Exit
## Restart some services
# service httpd restart
# service postgresql restart
# service IBSng restart
##You can access On IBSNG
http://server_ip_address/IBSng/admin
user : system
password : you entered it in installation setup
## Some fixs in CentOS 6
# nano /usr/local/IBSng/core/lib/IPy.py
## And add *** Don't forget frist #
#coding:utf-8
# nano /usr/local/IBSng/core/lib/mschap/des_c.py
## And add *** Don't forget frist #
#coding:utf-8
## Some times IBSng can not start in boot by default in CentOS 6, If you have this problem use this command to start it
# service IBSng start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment