-
Notifications
You must be signed in to change notification settings - Fork 26
Proxy43 install & usage
forumbyr edited this page Mar 18, 2015
·
23 revisions
-
Get executable jar file 'rdap-proxy43-jar-with-dependencies.jar'.
There are two methods to get this file:
- Get from here for jar builded with JDK7.
- [Build from source] (https://github.com/cnnic/rdap/wiki/Proxy43-install:build-from-source)
-
Copy rdap-proxy43-jar-with-dependencies.jar to proxy43 install directory, and we call it $PROXY43_INSTALL_DIR.
-
Download configuration file "proxy43.properties" from here, and copy it to $PROXY43_INSTALL_DIR.
WARN: Must change 'rdapServerBaseUrl' value to your RDAP service URL in proxy43.properties. -
Start up and shutdown. Must use root user.
-
Start up
[in Linux/OS X, open a shell and execute command:] cd $PROXY43_INSTALL_DIR #$PROXY43_INSTALL_DIR must be replaced by real dir nohup java -jar rdap-proxy43-jar-with-dependencies.jar start & [in Windows, open command prompt window and execute command:] cd $PROXY43_INSTALL_DIR #$PROXY43_INSTALL_DIR must be replaced by real dir java -jar rdap-proxy43-jar-with-dependencies.jar start
-
Test if it is runing ok
Run jwhois command, in Linux/OS X for example:
whois -h $PROXY43_HOST cnnic.cn #$PROXY43_HOST must be replaced by real proxy43 host
It's ok if response contains 'rdapConformance'.
-
Shutdown
cd $PROXY43_INSTALL_DIR #$PROXY43_INSTALL_DIR must be replaced by real dir java -jar rdap-proxy43-jar-with-dependencies.jar shutdown
-
Log
Log file is $PROXY43_INSTALL_DIR/logs/proxy43.log.
-