Cd/opt/jboss/bin
Nohup sh run.sh-b 0.0.0.0 &
To start JBoss:
Nohup./run.sh-b 0.0.0.0 &
Nohup sh run.sh-b 0.0.0.0 &
Nohup said to run in the background;
Use./run.sh and SH run.sh can be started;-B means that the binding IP is started, if the 0.0.0.0 means that all IP can access the service, this parameter can be configured as follows in JBoss server.xml configuration file; add & Represents the return to command-line mode, you can execute the next command.
To view the startup information:
Tail-f Nohup.out
Common commands under Linux JBoss:
Start: Nohup./run.sh-b 0.0.0.0 &
STOP: SH shutdown.sh-s
Note "-" There are spaces on both sides
You can see if the JBoss process already exists:
Ps-ef |grep JBoss
The commands to start JBoss under Linux are:
./run.sh-c all& (plus & can make the program run unaffected by CTRL + C)
The commands to terminate JBoss under Linux are:
./shutdown.sh-s
Linux queries the Java process running:
Ps-ef |grep Java
Linux Kill process command:
Kill-9 16355
Linux, you need to change the permissions of the file to run:
chmod 744 shutdown.sh
Common commands under Linux JBoss