Search Computer Help Please

Tuesday, November 24, 2009

How to Install Free Registry of Enum and Domains on Ubuntu Debian Linux (FRED.NIC.CZ)

For anyone that is interested in enum technology and setting up a professional enum registry service for there customers may have stumbled across FRED the free registry of enum and domains. Its basically an open source project that comes with all the packages and software needed to create a central enum registry. (fred.nic.cz)

- allows registrars to join
- input domain names
- service invoices and much more

Installing the FRED system can be painful using the manuals but there is a FRED script that will install and let you run all the components very easily the only trouble being installing all the correct packages for it to execute trouble free. I had FRED working and I will go through the basic steps

Download the Appropriate Packages (sudo su) must be in root mode

apt-get -y install

apt-get install apache2 postgresql gcc autoconf make bison
build-essential libpq-dev omniidl4 omniidl4-python libomniorb4-dev
libomnithread3-dev libdaemon-dev libboost-dev libboost-date-time-dev
libboost-program-options-dev libboost-regex-dev python-imaging
python-reportlab tinyerp-server xsltproc apache2-threaded-dev
liborbit2-dev libxml2-dev python-cherrypy3 python-simpletal
python-omniorb2 omniidl4-python libapache2-mod-python
omniorb4-nameserver omniorb4 python-clearsilver python-dnspython
python-pygresql fpdns whois openssl libidn11 libidn11-dev
python-trml2pdf ttf-freefont python-simplejson php5

apt-get -y install
python-pygresql omniidl4-python postgresql-plperl-8.3
build-essential postfix libpq-dev
omniidl4 omniidl4-python libomniorb4-dev libomnithread3-dev
libdaemon-dev libboost-dev libboost-date-time-dev
libboost-program-options-dev libboost-regex-dev
libboost-graph1.34.1 libboost-iostreams1.34.1 libboost-program-options1.34.1
libboost-regex1.34.1 libboost-serialization1.34.1
libboost-signals1.34.1 libboost-thread1.34.1
libboost-graph1.34.1 libboost-signals-dev libboost-thread-dev libboost-serialization-dev
libidn11-dev python-imaging python-reportlab tinyerp-server
xsltproc python-clearsilver orbit2 orbit2-nameserver liborbi t2-dev
python-simplejson libomniorb4-dev python-omniorb python-dnspython
python-cherrypy3 python-simpletal unzip zip libapache2-mod-python
apache2-prefork-dev omniorb4-nameserver libxml2-dev ttf-freefont

note: there may be some duplicates in there but I haven't removed them, just ensure that you have all the above packages. Tested on ubuntu 8.04, 8.10. Note ubuntu 9.04 has some IPV6 Omniorb-nameserver clashes which may be a pain to get around (reloading the kernel or disabling ipv6)

Now follow the steps

wget http://fred.nic.cz/sources/fred-manager
chmod 755 fred-manager
./fred-manager download
./fred-manager install
./fred-manager start

Here we download the fred-manager script to any directory , ppl recommend /usr/src , or /usr/yourusername

we modify the priveldges for the fred-manager script
download the neccessary files for FRED, install and then start

and there you have it , FRED , Free registry of enum and domains should be up and running you can reach it using fred client located at

./root/bing/fred-client

or reach the http gui at http://serverip:/22344 , 23445

hope this helps someone who see's this ,gooodluck


2 comments:

  1. Hello;
    Please I need to your help;
    I try to install FRED system to be our Registry Software , But when i try to install FRED, i always excute these command :

    fred-rifd -ORBnativeCharCodeSet UTF-8 -ORBendPoint giop:tcp:localhost:2222 &&
    fred-adifd -ORBnativeCharCodeSet UTF-8 -ORBendPoint giop:tcp:localhost:2223 && fred-pifd -ORBnativeCharCodeSet UTF-8 -ORBendPoint giop:tcp:localhost:2224but these ports did not reserved and i did not get any error, (netstat did not show any thing about this ports),
    i get this ports by netstat:
    0.0.0.0:2809 0.0.0.0:* LISTEN 28835/omniNames
    127.0.0.1:5432 0.0.0.0:* LISTEN 28789/postgres
    0.0.0.0:18456 0.0.0.0:* LISTEN 17220/python
    0 0.0.0.0:2225 0.0.0.0:* LISTEN 28843/python

    and when i try to log in by the page :webadmin in port :18456/login/ i get this error :

    Error:
    Error: Backend server is not running!
    Traceback (most recent call last): File "/usr/local/lib/python2.6/site-packages/fred_webadmin/exposed.py", line 24, in _wrapper return view_func(*args, **kwd) File "/usr/local/lib/python2.6/site-packages/fred_webadmin/controller/adif.py", line 417, in login
    redir_addr = self._login_process_valid_form(form) File "/usr/local/lib/python2.6/site-packages/fred_webadmin/controller/adif.py", line 321, in _login_process_valid_form self._corba_connect(corba_server)
    File "/usr/local/lib/python2.6/site-packages/fred_webadmin/controller/adif.py", line 308, in _corba_connect corba_obj.connect(ior, nscontext) File "/usr/local/lib/python2.6/site-packages/fred_webadmin/corba.py", line 82, in connect
    self.context = obj._narrow(CosNaming.NamingContext) File "/usr/lib/python2.6/dist-packages/omniORB/CORBA.py", line 787, in _narrow return _omnipy.narrow(self, repoId, 1)TRANSIENT: CORBA.TRANSIENT(omniORB.TRANSIENT_ConnectFailed, CORBA.COMPLETED_NO)
    Please Help me;
    Thanks;
    Best Regards;
    Mustafa AL Rifaee;

    ReplyDelete
  2. it looks like the packages aren't installed correctly, you should try using the fred manager again from scratch

    did you install as root user? or regular?

    ReplyDelete