免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1041 | 回复: 0
打印 上一主题 下一主题

Install Sauron [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-12-22 08:53 |只看该作者 |倒序浏览
Sauron is a web based manager for ISC DNS & DHCP services, comparing to the well known web config tools such as Webmin, phpDhcpAdmin, it's so small.Ok Let's install on our CMTS server:
 
1.System request
My Ubuntu Server:
Linux vmlinux 2.6.32-21-generic-pae #32-Ubuntu SMP Fri Apr 16 09:39:35 UTC 2010 i686 GNU/Linux
Install requested package:
1)PostgreSQL : apt-get istall postgresql
2)Perl , it's already installed .skip
3)Perl modules : Net::DNS / Net::Netmask / DBI / DBD::Pg It's the first time install Perl modules. Some problems, goole it@@@. Command :
cpan>install Net::Netmask
cpan>install Net::DNS
cpan>install DBI
cpan>install DBD::Pg
Note : install DBD::Pg need the PostgreSQL configure utility "pg_config", apt-get install libpq-dev will install it.
4)tar -zxvf sauron-0.7.3.tar.gz ; cd sauron-0.7.3.tar.gz ; ./configure && make && make install
OK, all have install , last do not forget our major role : DHCP-Server & Bind, apt-get install dhcp-server bind
 
2.Configuration
1)Initial PostgreSql database.
Firstly,export postgresql binary path to system PATH
export PATH=/usr/lib/postgresql/8.4/bin:$PATH
next, initial command:
sudo mkdir -p /usr/local/pgsql/data
sudo chown $UID:$UID -R /usr/local/pgsql/data
initdb -D /usr/local/pgsql/data
postmaster -D /usr/local/pgsql/data
If postmaster execute is running without any error, kill it with Ctrl+c, run again in background :
postmaster -D /usr/local/pgsql/data > logile 2>&1
{Refer to chinese manual of PostgreSQL : http://www.pgsqldb.org/pgsqldoc-8.1c/installation.html}
2 cd to sauron install folder , on my server it's ~/soft/sauron/sauron
command :
createdb sauron
./createtables
./status
If not any errors , congratulation!
Last step , check perl modules:
./status --version
Sauron: 0.7.3
CGI: 3.43
Digest::MD5: 2.39
DBI: 1.616
Net::DNS: 0.66
Net::IP: 1.25
Net::Netmask: 1.9016
Sauron::Sauron: 1.30
Sauron::BackEnd: 1.73
Sauron::CGIutil: 1.20
Sauron::DB: 1.6
Sauron::Util: 1.25
Sauron::UtilDhcp: 1.5
Sauron::UtilZone: 1.15
Sauron::CGI::Utils: 1.5
Sauron::CGI::Servers: 1.11
Sauron::CGI::Zones: 1.9
Sauron::CGI::Hosts: 1.25
Sauron::CGI::Nets: 1.11
Sauron::CGI::Groups: 1.1
Sauron::CGI::Templates: 1.1
Sauron::CGI::Login: 1.6
 
............................to be continue...
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP