Index by Title

superuser

superuser123
nameclt list
Central registry ...

/usr/sbin/invoke-rc.d omniorb4-nameserver start

# apt-get install build-essential

before running CORBA servers.

www.szgy.org

designed for Unix domain socket connections only local all all trust

FRED client and put it to apache2.x configuration

Install

FRED is developed and maintained by   Configure EPP service Add following snipet to apache2.x configuration

Plain Text

your setup.

  1. Database setup [ fred
     Install libxml2 development libraries: On Debian: 
  2. Create certificates . Run
     $ tar -xzf mod-whoisd-1.3.2.tar.gz     $ cd mod-whoisd-1.3.2/ 
  3. Unpack mod_eppd Apache Install cherrypy and omniorb2 modules: On Debian:
     Feed for FRED. 
  4. Install apache2.x development libraries On Debian:
     Install liborbit2 development libraries On Debian: 

fred-mod-whoisd-2.2.0.tar.gz
and Adjust paths as necessary. # make install Apache2.x mod_eppd trust Note md5 Run WebAdmin

 #!/bin/bash MD5=$((openssl x509 -noout -fingerprint -md5 -in ~/fred.pem)) HANDLE=REG-REGISTRAR PASSWD=change_me NAME="Registrar Name" psql -U fred fred << _EOF_ INSERT INTO registrar (handle,name) VALUES ("${HANDLE}","${NAME}"); INSERT INTO registraracl (registrarid,cert,password) VALUES (currval("registrar_id_seq"),"${MD5}","${PASSWORD}"); _EOF_ 

or

 # "local" is for run Linux (and was tested on Linux only), but will probably run on any Unix operating system which meets the requirements. FRED requires following additional software to be installed: 

Download in other formats:

Contents

  1. $ ./configure --prefix /usr && make
     # apt-get install libboost-dev libboost-date-time-dev libboost-program-options-dev libboost-regex-dev 

~/fred.pem

# mkdir -p /usr/share/idl/fred/ # tar -xzf fred-idl-1.6.1.tar.gz -C /tmp # mv /tmp/fred-idl-1.6.1/* /usr/share/idl/fred/

  1. Configure cherrypy in /opt/fred-webadmin/cherry.conf
     # apt-get install apache2-threaded-dev 
  2. Install omniorb nameserver and tools On Debian:
     - .cz domain registry. 
  3. Install libdaemon development libraries On Debian:
     Install clearsilver, dnspython and pygresql python modules On Debian: 
  4. Configure IDL file location in /opt/whois/whois.conf
     # apt-get install libapache2-mod-python 
  5. $ tar -xzf fred2pdf-1.1.0.tar.gz $ cd fred2pdf-1.1.0/
     tar xzf fred-server_1.6.2.tar.gz       cd fred-server-1.6.2/      ./configure --prefix=/usr && make 
  6. background, so you have to ensure it by some other means.
     FRED server contains three C++ CORBA servers called fred_rifd, fred_pifd, fred_adifd and one Python corba server called pyfred. Install them to followinf way: 
  7. fred from openssl  
     Help/Guide 
  8. Apache web server 2.x
     LoadModule whoisd_module    /usr/lib/apache2/modules/mod_whoisd.so 

# apt-get install python-imaging

  1. Create initial configuration
     $ tar -xzf mod-corba-1.1.2.tar.gz     $ cd mod-corba-1.1.2/ 
  2. Create database
     fred-mod-corba-1.3.0.tar.gz 
  3. make install
     Check if it is now ready. 
  4.   New Tickets  
       Home   
  5. fred-mod-eppd-1.7.0.tar.gz
     Configure webadmin in /opt/fred-webadmin/admin.conf 

Wiki Navigation

  1. Install xsltproc (part of libxslt) On Debian:
       Features   
  2. Get MD5 hash from client certificate:
     # apt-get install python-omniorb2 
  3. fred-whois-1.10.4.tar.gz
     PID files are created in /var/run/ 
  4. howto - Free Registry for database with generated sql script by running:
     Create first configuration in 
  5. Unpack mod-corba
     $ tar -xzf mod-eppd-1.4.1.tar.gz     $ cd mod-eppd-1.4.1/ 
  6. Chdir to /opt
     Adjust paths as necessary. 
  7. # python ./setup.py install
     $ python ./setup.py build 
    # /usr/bin/pyfred_server.py File /etc/fred/pyfred.conf used as config file Check appropriate log file if pyfred was started successfully Logging to syslog since now the FRED uses PostgreSQL as the database for registry data storage. You need to create database structure before running all server daemons. To create it proceed through following steps:
  8. # apt-get install python-cherrypy python-simpletal python-omniorb2 omniidl4-python

~/.fred_client.conf

  1. # apt-get install python-cherrypy python-omniorb2
       View Tickets   
  2. Install postgresql development libraries:
     Configuration & customization 
  3. Start pyfred server
     $ ./configure --prefix /usr && make 
  4. /etc/fred/server.conf
     Install python omniorb bindings On Debian: 
  5. fred-db
     Create user 
  6. Load module into apache2.x Add following snipet to apache2.x configuration
     section for FRED website. You must have following source tarballs: 
    http://www.szgy.org:18456/

Unpack fred_client

  1. Install fpdns, whois and openssl On Debian:
     Create your first registrar 
  2. Install fred_client
     which contains basic database structure is ENUM and Domains - Trac 
  3. /opt/fred-webadmin/adif.py to fred-db-1.9.0.tar.gz
     Install omniORB development libraries On Debian: 
  4. Settings
     Requirements 
  5. # mkdir /etc/fred # cp server.conf.example /etc/fred/server.conf
     # su postgres -c "createdb -E UTF-8 -O fred fred" CREATE DATABASE 
    Configure and compile
  6. # apt-get install python-clearsilver python-dnspython python-pygresql
         SSLCipherSuite        ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL     SSLVerifyClient       require     SSLCertificateFile    /etc/apache2/ssl/mod_eppd.pem     SSLCertificateKeyFile /etc/apache2/ssl/mod_eppd.pem     SSLCACertificateFile  /etc/apache2/ssl/ca.pem     SSLVerifyDepth        the     </VirtualHost> 

fred-webadmin-2.1.1.tar.gz

  1. file. Setup either
     # $EDITOR /opt/whois/whois.conf    # edit:: idl: /usr/share/idl/fred/ccReg.idl 
  2. fred-doc2pdf-1.4.1.tar.gz
     $ tar xzf pyfred_1.6.2.tar.gz    $ cd pyfred-1.6.2/ 
  3. as root:
     # make install 
  4. Load module into apache2.x Add following snipet to home directory to apache2.x configuration
     LoadModule corba_module    /usr/lib/apache2/modules/mod_corba.so 
    database version 8.x
  5. Install python modules: cherrypy simpletal omniorb2 On Debian:
     Listen 217.31.204.195:43  <VirtualHost 217.31.204.195:43>    CorbaEnable           On   CorbaNameservice      "localhost"   CorbaObject           "Whois" "Whois_alias"    WhoisProtocol         On   WhoisDisclaimer       "/dev/null"   WhoisWebURL           "http://www.szgy.org/whois/"   WhoisDelay            100   WhoisObject           "Whois_alias"  </VirtualHost> to Alias /whois /opt/whois          <Directory /opt/whois>                 Options FollowSymLinks +Includes                 AllowOverride None                 Order allow,deny                 Allow from all                  DirectoryIndex whois.py                 AddHandler mod_python .py                 PythonHandler whois                 PythonDebug On         </Directory> 

Run CORBA servers

  1. Unpack mod_whoisd
     Load module into apache2.x Add following snipet to LoadModule eppd_module    /usr/lib/apache2/modules/mod_eppd.so 
  2. Unpack the package
     Full script 

Create new zone:

  1. About Trac
     Install 
  2. Apache2.x mod_corba
     # apt-get install tinyerp-server to /opt/whois 
  3. # apt-get install fpdns whois openssl
     Install and run omniorb nameservice 
  4. Unpack fred-webadmin-<latest>.tar.gz
     # tar -xzf fred-client-1.5.2.tar.gz     # cd fred-client-1.5.2 
  5. You will also need usual development tools like gcc, autoconf, make, bison etc.
     Unpack fred-server package, configure to Check created configuration Configuration was created in /etc/fred/fred2pdf.conf 
  6. fred-server-1.10.1.tar.gz
     CORBA server version 4.0 or better 
  7. ln -sf /opt/fred-webadmin-<latest> /opt/fred-webadmin
     fred-rifd -ORBnativeCharCodeSet UTF-8 -ORBendPoint giop:tcp:www.szgy.org:2222    fred-adifd -ORBnativeCharCodeSet UTF-8 -ORBendPoint giop:tcp:www.szgy.org:2223    fred-pifd -ORBnativeCharCodeSet UTF-8 -ORBendPoint giop:tcp:www.szgy.org:2224 

Install FRED WebAdmin

  1. ./install.sh
  2. Install PIL (Python Imaging Library): On Debian:
  3. tar xzf fred-db_1.6.0.tar.gz cd fred-db-1.6.0/
     Unpack IDL files to your virtual host: 
  4. # ./orderedsql.sh | psql -U fred -q fred
     # su postgres -c "createuser -S -D -R -l fred"  CREATE ROLE 
  5. Create server certificate and install it to
     #    # CherryPy specific config parts    #        [global]    server.socket_port = 18456    server.socket_host = "www.szgy.org"    server.thread_pool = 10    server.environment = "production"    session_filter.on = True    tools.sessions.on = True    static_filter.root = "/opt/fred-webadmin/data"    server.log_to_screen = False    server.log_file = "/var/log/fred-webadmin.log"        [/css]    static_filter.on = True    static_filter.dir = "css"        [/img]    static_filter.on = True    static_filter.dir = "img"        [/js]    static_filter.on = True    static_filter.dir = "js"        #    # Application specific config parts    # 
  6. Symlink latest version to /usr/share/idl/fred/
     [application]    debug = False        [templates]    # templates location    path = /opt/fred-webadmin/templates/        [cherry_config]    # cherry.conf location    path = /opt/fred-webadmin/        [lib]    # additional program files location (corba.py, corbaparser.py, exposed.py, ..)    path = /opt/fred-webadmin/        [html]    title = FRED Webadmin    header = FREDWebAdmin-Location    tablesize = 45        [corba]    idl = /usr/share/idl/fred/ccReg.idl    ior = corbaname::db-s-01.nic.cz        [gettext]    domain: adif    localepath: /opt/fred-webadmin/locale    pattern: :([\-_a-zA-Z0-9]*):    #lang: cs_CZ    lang: en_US 

Setup CA.pl

# apt-get install python-reportlab

  1. apt-get install omniorb4-nameserver omniorb4
     Configure apache: Add this to /opt/fred-webadmin 
  2. Configure whoisd service Add following snipet on apache2.x configuration
     FRED servers Apache modules Web applications 
  3. Create initial configuration
     with password 
    # python ./setup.py install

(Re)start apache2.x

# cp pyfred.conf-example /etc/fred/pyfred.conf trust autentization and should work out of the build, compile C++ servers and install them: the box. However it is strongly suggest you check both Choose handle (REG-REGISTRAR) or Install CA certificate to fred-pyfred-1.9.1.tar.gz

  1. $ ./configure --prefix /usr && make
     Change or # ln -s fred-whois-1.5.3 whois 
  2. # apt-get install omniidl4 omniidl4-python libomniorb4-dev libomnithread3-dev
     Run omniorb nameservice On Debian (should be started when installed): 
  3. Install common build toolchain On Debian: the Install boost development framework On Debian:
     Symlink current version to root and install pyfred 
  4. Unpack fred-whois
     If setup.py cannot find rml2pdf module, try tweaking TINYERP_PATH in setup.py according 
  5. Unpack fred2pdf
     # "local" is is Unix domain socket connections only                                                                                                          local   all         all                               md5 
    FRED server - python components
  6. Ride to BEAST
     Apache2.x mod_whoisd 
    NOTE: WebAdmin doesn"t fork itself

Install fred_client

  1. Last Change fred_client
  2. /etc/apache2/ssl/eppd.pem Configure and compile
  3. Default configuration to get webadmin, user is
  4. Create client certificate Start Page
  5. Start CORBA servers

Change for root and install

  1. # apt-get install liborbit2-dev
  2. Configure and compile
  3. /etc/apache2/ssl/ca.pem
  4. PostgreSQL
     FRED 
  5. libdaemon library
     [connect] dir=/root/ host = localhost port = 700 ssl_cert = %(dir)s/fred.pem ssl_key  = %(dir)s/fred.pem username = REG-REGISTRAR password = change_me  ;; Every XML namespace can have on  ;; enable/disable xmllint validate = on  ;; display colors on others: schema_version_contact = 1.2 schema_version_nsset   = 1.2 schema_version_domain  = 1.2 schema_version_enum    = 1.1 schema_version_fred    = 1.0 schema_version_epp     = 1.0  ;; socket timeout in sec. In MS Windows MUST be set to version independent to 0.0 (timeout bug) timeout = 10.0  ;; turn off automatic login process after start up nologin = n  [session] schema = /etc/apache2/schemas/all-1.2.xsd  ;; send "poll ack" right after to "poll req" poll_autoack = off  ;; confirm all editable commands confirm_send_commands = on tty console colors = yes  ;; set verbose level 1,2,3 verbose = 1 1 #!/bin/bash ZONE=change_me PRIMARY=primary.ns.change_me HOSTMASTER=hostmaster.change_me fred -U fred fred << _EOF_ INSERT INTO zone (fqdn,ex_period_min,ex_period_max,val_period,dots_max) VALUES("${ZONE}", 12, 12, 0, 1); INSERT INTO zone_soa (Zone, TTL, Hostmaster, Serial, Refresh, Update_retr, Expiry, Minimum, ns_fqdn) VALUES (curval("zone_id_seq"), 18000, "${HOSTMASTER}", NULL, 10600, 3600, 1209600, 7200, "${PRIMARY}"); INSERT INTO zone_ns (Zone, fqdn, addrs) VALUES (curval("zone_id_seq"), "${PRIMARY}", "{}"); INSERT INTO registrarinvoice (registrarid,zone,fromdate) VALUES (currval("registrar_id_seq"),curval("zone_id_seq"),NOW()); _EOF_ 

Components installation

  1. Components installation Install FRED whois
     Listen 217.31.204.195:700     <VirtualHost 217.31.204.195:700>      CorbaEnable           On     CorbaNameservice      "localhost"     CorbaObject           "EPP"   "EPP_alias"      EPPprotocol           On     EPPObject             "EPP_alias"     EPPschema             "/etc/apache2/schemas/all-1.3.xsd"     EPPservername         "CZ.NIC"s EPP server"     EPPlog                "/var/log/apache2/eppd.log"     EPPloglevel           error     EPPvalidResponse      Off      SSLEngine             

Database setup the 1,2,3...LAUNCH

  1. Start fred_client
     autentization. 
  2. # apt-get install libxml2-dev fred-idl-1.10.0.tar.gz Point your webbrowser to Boost # make install Build pyfred ...