Monday, 23 July 2012

Install and configure Orinus 1.2 for Linux

0. Assume:
+ We use Ubuntu
+ We has installed JRE 1.6
+ We has added 'java' to execute path
+ Local IP of server is 192.168.1.113

1. Download Orinus 1.2 for Linux

2. Unpack Orinus-1.2-linux.zip

3. Copy Orinus-1.2-linux/Orinus to application folder, eg. ~/programs/orinus

4. Modify [App Folder]/cfg/config.properties, add following line:

port=8080
hosts=|192.168.1.113|

5. Grant execute right for [App Folder]/orinus, eg. ~/programs/orinus/orinus

sudo chmod u+x ~/programs/orinus/orinus

6. Change current folder to [App Folder], eg. ~/programs/orinus

cd ~/programs/orinus

7. Run Orinus

./orinus -silent&

8. Map 8080 port to 80 port

sudo /sbin/iptables -t nat -I PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080

9. Open web page in browser: http://192.168.1.113/system/


10. Click on "Login" button


11. Click on "Settings" button


12. Modify settings for application

a. Data Storage Path

This text box stores path to folder saving all data of application. Leave blank for default. Default path is [App Folder]\dat

b. Server Port

This text box stores port that application use for web service. Leave blank for default. Default value is 80.

c. Administration Web Path

This text box stores web folder of administration section of application. Default is 'system'.

For example, if we change to 'admin'. To access administration section, we open web page: http://192.168.1.113/admin/

d. Preserved Domains

This text box stores list of domain for application (separated by '|').

For example, if we change to '|192.168.1.113|www.paesia.com|www.pedatus.com|', we can access administration section by opening following web page:
+ http://192.168.1.113/system/
+ http://www.paesia.com/system/
+ http://www.pedatus.com/system/

e. Administration Password

This text box stores password for accessing administration section. Default is empty password (no password).

13. Click on 'Save' button

14. If we change server port, we need to restart application.

No comments:

Post a Comment