1. write a start script and put the following two comments into your script:
# chkconfig: 2345 90 10
# description: start Galaxy service and listening on port 8080, to visit please go http://localhost:8080
put your scripts here, which you wish to start when system boots
Where the chkconfig line is the most important, it lists
a. 2345 - runlevels the service will be started (by default),
b. 90 - when the service is started when entering a runlevel (relative to others, look into /etc/rc3.d for example),
c. 10 - when the service is stopped (relative to others, see /etc/rc0.d for example)
2. put your script into /etc/init.d, make it executable (usually chmod'ed to 755)
3. As root run "chkconfig --add your_service
Showing posts with label Galaxy. Show all posts
Showing posts with label Galaxy. Show all posts
Satrt Customer Service when CentOS starts
Make Galaxy accept remote access
In order to make Galaxy access remote access, I have set up the following parts:
3. Restart iptables: sudo /etc/init.d/iptables restart
4. restart you Galaxy
1. Uncomment the following line in universe_wsgi.ini file which located in your home directory of galaxy, and change the ip address to 0.0.0.0
host = 0.0.0.0
2. Edit the iptables at /etc/sysconfig/iptables and add the following line into this file, where port_num represent the port number of your galaxy listening port.
A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport port_num -j ACCEPT
3. Restart iptables: sudo /etc/init.d/iptables restart
4. restart you Galaxy
Subscribe to:
Posts (Atom)
Datatable static image not found on the server
When you use ```datatables.min.css``` and ```datatables.min.js``` locally, instead of datatables CDN, you may have encountered that ```sort...
-
Here is the example of installation of Hadoop on a single machine, UBuntu box in this case. For a simple cluster installation, please refere...
-
Step 1. Install Oracle XE 11g 1. Download Oracle XE (oracle-xe-11.2.0-1.0.x86_64.rpm.zip) from Oracle official website. You need an accoun...
-
Prepare the environment Before configure and compile R source code, I did the following updating of CentOS in order to support R capabilitie...