Revision [3359]

This is an old revision of installgaliumfred made by CalumMcAlinden on 2014-08-23 16:42:27.

 


Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/sourpuss.net/http/www/mirror/wiki.opennicproject.org/3rdparty/plugins/geshi/geshi.php on line 2148

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/sourpuss.net/http/www/mirror/wiki.opennicproject.org/3rdparty/plugins/geshi/geshi.php on line 2148

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/sourpuss.net/http/www/mirror/wiki.opennicproject.org/3rdparty/plugins/geshi/geshi.php on line 2148

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/sourpuss.net/http/www/mirror/wiki.opennicproject.org/3rdparty/plugins/geshi/geshi.php on line 2148

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/sourpuss.net/http/www/mirror/wiki.opennicproject.org/3rdparty/plugins/geshi/geshi.php on line 2148

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/sourpuss.net/http/www/mirror/wiki.opennicproject.org/3rdparty/plugins/geshi/geshi.php on line 2148

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/sourpuss.net/http/www/mirror/wiki.opennicproject.org/3rdparty/plugins/geshi/geshi.php on line 2148

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/sourpuss.net/http/www/mirror/wiki.opennicproject.org/3rdparty/plugins/geshi/geshi.php on line 2148

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/sourpuss.net/http/www/mirror/wiki.opennicproject.org/3rdparty/plugins/geshi/geshi.php on line 2148

Installation of galimufred


Here it will be detailed how to get a working version of galiumfred installed. At this stage it does not mater if there is no FRED back end to connect to.

Software pre-reqs;
The above software needs to be installed and working before you can continue with this installation. MyDNS needs to be installed and turned off (only mydnsexport is needed), unless you plan on using it for the DNS server. If you do plan on using MyDNS, do not install bind9.

Configure galiumfred


Download galium fred from http://www.opennicproject.org/opennic-downloads/doc_download/3-galiumfred and extract it to the web root you plan to use. Fix permissions once extracted! You should see a dir called conf. In this dir you shall see a file called import.sql. Import this into a MySQL database and create a user for galiumfred. To configure galiumfred webfrontend edit the file conf/config.php. I will list the main options to be concerned about below.

MySQL:

Modify the below to match your MySQL server setup.

// [MySQL]
//
$sys_mysql_host = '127.0.0.1';
$sys_mysql_user = 'galiumfred';
$sys_mysql_pass = 'password';
$sys_mysql_db   = 'galiumdb'


DNS config:

Below is DNS information for your setup, I have commented on the correct options and left examples in place.

// the server name that serves this tld
$config['server'] = 'ns5.opennic.glue.'; //Your T1 server
$config['serverid'] = '1'; //your FRED ID allocation
$config['defaultnsset'] = 'NS102'; //your default FRED NSSET
//new config options please comment
$ns = 'ns1.qld.au.dns.opennic.glue.'; //Your master DNS server for zones
$glue;
$glue["ns1"] = "ns1."; //The master NS server
$glue["ns2"] = "ns2."; //The master NS server
$ipaddy;
$ipaddy["ns1"] = "202.83.95.229"; //The IP addy of the NS server
$ipaddy["ns2"] = "119.31.230.42"; //The IP addy of the NS server


Thats all the configuration needed to get you working for the webfront end. There is however more to configure. galiumfred's back end is run via perl scripts. These sync the DNS information with the servers in your DNS pool. The config file lives in ./config/dns-config.yaml.

---

# DB settings
username: "galiumfred"
password: "hardpassword"

#DNS settings
dnsmaster: "202.83.95.228" #Your DNS master IP
nameconf: "/var/lib/named/etc/bind/named.conf.galium" #Where the master DNS config lives
namesconf: "/var/lib/named/etc/bind/named.slave.galium" #Where the slave DNS config lives
namedslaveconf: "/var/www/dev.geek/web/conf/named/named.slave.galium"  #Where the generated slave DNS config lives
targetpath: "/etc/bind/" #Where the rsync path is
sourcepath: "/var/www/dev.geek/web/conf/named/" #Where to rsync from
bindinitscript: "/etc/init.d/bind9" #the init.d script to reload bind
sshcommand: "/usr/bin/ssh -p3200 -P" #The ssh command to rsync over
bindowner: "bind:bind" #Who should own the DNS host
targethosts:
  - "bupdater@ns3.jdcomputers.com.au" #The slave DNS hosts
  - "bupdater@ns4.jdcomputers.com.au" #The slave DNS hosts


The last part of the config is straight forward. Copy mydns.conf to /etc so that mydnsexport will work.

So you should have a basic installation off galiumfred working now. Sorry this is so rough, but this was a quick hack job to make galium preform the way I want.
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki