Install and configure Orinus 1.2 for Linux | Tutorial of Orinus - JavaScript Sandbox
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:
5. Grant execute right for [App Folder]/orinus, eg. ~/programs/orinus/orinus
6. Change current folder to [App Folder], eg. ~/programs/orinus
7. Run Orinus
8. Map 8080 port to 80 port
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.
+ 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.
Monday, May 9, 2016
at
12:03 AM
Blog Archive
-
▼
2016
(29)
-
▼
May
(17)
- Make SEO friendly URL with Struts 2.5 project
- Initiative Struts 2.5 project for test driven deve...
- Struts 2 in Action
- "The mbstring extension is missing." error when in...
- Skill - Develop java desktop application using tes...
- Skill - Develop java web application using test dr...
- Skill - Develop native android application using t...
- Skills of Trần Đình Thoại
- Install Android Studio 2.0 on Ubuntu Desktop 16.04
- Trần Đình Thoại on EscapeNotes project
- Tutorial of Orinus - JavaScript SandBox
- Install and customize Pedatus 1.3 - Micro Search E...
- Install and configure Orinus 1.2 for Linux | Tutor...
- Install and configure Orinus 1.2 for Windows | Tut...
- Create search engine | Tutorial of Orinus - JavaSc...
- Create basic script | Tutorial of Orinus - JavaScr...
- Screenshots of Orinus - JavaScript SandBox
-
▼
May
(17)