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
- download Should return empty listing
- Chdir by Date fred-client-1.6.1.tar.gz
- Install Support
- Download Download FRED source tarballs from
- libdaemon Build IDL files
- .
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
- Configure fred_client
- . Install TinyRML On Debian:
- Adjust paths as necessary.
- $ python setup.py build_idl
- The database is registrar
- # apt-get install libpq-dev
- # apt-get install xsltproc
- Unpack pyfred package
- Install mod-python On Debian:
- $ python ./setup.py build
- : Setup connection rights in
Plain Text
your setup.
- Database setup [ fred
Install libxml2 development libraries: On Debian:
- Create certificates . Run
$ tar -xzf mod-whoisd-1.3.2.tar.gz $ cd mod-whoisd-1.3.2/
- Unpack mod_eppd Apache Install cherrypy and omniorb2 modules: On Debian:
Feed for FRED.
- 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
- $ ./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/
- Configure cherrypy in /opt/fred-webadmin/cherry.conf
# apt-get install apache2-threaded-dev
- Install omniorb nameserver and tools On Debian:
- .cz domain registry.
- Install libdaemon development libraries On Debian:
Install clearsilver, dnspython and pygresql python modules On Debian:
- Configure IDL file location in /opt/whois/whois.conf
# apt-get install libapache2-mod-python
- $ 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
- 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:
- fred from openssl
Help/Guide
- Apache web server 2.x
LoadModule whoisd_module /usr/lib/apache2/modules/mod_whoisd.so
# apt-get install python-imaging
- Create initial configuration
$ tar -xzf mod-corba-1.1.2.tar.gz $ cd mod-corba-1.1.2/
- Create database
fred-mod-corba-1.3.0.tar.gz
- make install
Check if it is now ready.
- New Tickets
Home
- fred-mod-eppd-1.7.0.tar.gz
Configure webadmin in /opt/fred-webadmin/admin.conf
Wiki Navigation
- Install xsltproc (part of libxslt) On Debian:
Features
- Get MD5 hash from client certificate:
# apt-get install python-omniorb2
- fred-whois-1.10.4.tar.gz
PID files are created in /var/run/
- howto - Free Registry for database with generated sql script by running:
Create first configuration in
- Unpack mod-corba
$ tar -xzf mod-eppd-1.4.1.tar.gz $ cd mod-eppd-1.4.1/
- Chdir to /opt
Adjust paths as necessary.
- # 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: - # apt-get install python-cherrypy python-simpletal python-omniorb2 omniidl4-python
~/.fred_client.conf
- # apt-get install python-cherrypy python-omniorb2
View Tickets
- Install postgresql development libraries:
Configuration & customization
- Start pyfred server
$ ./configure --prefix /usr && make
- /etc/fred/server.conf
Install python omniorb bindings On Debian:
- fred-db
Create user
- 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
- Install fpdns, whois and openssl On Debian:
Create your first registrar
- Install fred_client
which contains basic database structure is ENUM and Domains - Trac
- /opt/fred-webadmin/adif.py to fred-db-1.9.0.tar.gz
Install omniORB development libraries On Debian:
- Settings
Requirements
- # 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 - # 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
- file. Setup either
# $EDITOR /opt/whois/whois.conf # edit:: idl: /usr/share/idl/fred/ccReg.idl
- fred-doc2pdf-1.4.1.tar.gz
$ tar xzf pyfred_1.6.2.tar.gz $ cd pyfred-1.6.2/
- as root:
# make install
- 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 - 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
- Unpack mod_whoisd
Load module into apache2.x Add following snipet to LoadModule eppd_module /usr/lib/apache2/modules/mod_eppd.so
- Unpack the package
Full script
Create new zone:
- About Trac
Install
- Apache2.x mod_corba
# apt-get install tinyerp-server to /opt/whois
- # apt-get install fpdns whois openssl
Install and run omniorb nameservice
- Unpack fred-webadmin-<latest>.tar.gz
# tar -xzf fred-client-1.5.2.tar.gz # cd fred-client-1.5.2
- 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
- fred-server-1.10.1.tar.gz
CORBA server version 4.0 or better
- 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
- ./install.sh
- Install PIL (Python Imaging Library): On Debian:
- tar xzf fred-db_1.6.0.tar.gz cd fred-db-1.6.0/
Unpack IDL files to your virtual host:
- # ./orderedsql.sh | psql -U fred -q fred
# su postgres -c "createuser -S -D -R -l fred" CREATE ROLE
- 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 #
- 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
- apt-get install omniorb4-nameserver omniorb4
Configure apache: Add this to /opt/fred-webadmin
- Configure whoisd service Add following snipet on apache2.x configuration
FRED servers Apache modules Web applications
- 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
- $ ./configure --prefix /usr && make
Change or # ln -s fred-whois-1.5.3 whois
- # apt-get install omniidl4 omniidl4-python libomniorb4-dev libomnithread3-dev
Run omniorb nameservice On Debian (should be started when installed):
- Install common build toolchain On Debian: the Install boost development framework On Debian:
Symlink current version to root and install pyfred
- Unpack fred-whois
If setup.py cannot find rml2pdf module, try tweaking TINYERP_PATH in setup.py according
- Unpack fred2pdf
# "local" is is Unix domain socket connections only local all all md5
FRED server - python components - Ride to BEAST
Apache2.x mod_whoisd
NOTE: WebAdmin doesn"t fork itself
Install fred_client
- Last Change fred_client
- /etc/apache2/ssl/eppd.pem Configure and compile
- Default configuration to get webadmin, user is
- Create client certificate Start Page
- Start CORBA servers
Change for root and install
- # apt-get install liborbit2-dev
- Configure and compile
- /etc/apache2/ssl/ca.pem
- PostgreSQL
FRED
- 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
- 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
- Start fred_client
autentization.
- # apt-get install libxml2-dev fred-idl-1.10.0.tar.gz Point your webbrowser to Boost # make install Build pyfred ...