1. 64-bit deRedHat6.1 is installed. If the disk cannot be installed due to hard disk format problems, you can use the boot disk of the IBM server to boot and re-allocate the hard disk; you can download the server boot file here. 2. Set the IP reference file. Set/etc/hosts and add the host name. 3. Set the firewall. Note: Open the 8080port to enable the Firewall Service. Restart the 4th port to decompress jboss-eap-4.3.0.ga_cp0
1. Install 64-bit de RedHat 6.1. If the disk cannot be installed due to hard disk format problems, you can use the IBM server boot disk boot and re-allocate the hard disk;
You can download the server boot file here.
2. Set the IP address reference document; Set/etc/hosts and add the host name;
3. Set a firewall. Note: port 8080 must be enabled, and the Firewall Service must be enabled;
4. decompress the jboss-eap-4.3.0.ga_cp09.zip file. For more information about JBOSS service configuration, see environment variable configuration;
5. Install jdk-6u26-linux-x64.bin; environment variable configuration reference documents;
6. content to be configured for deployment programs in the production environment;
Jvm adjusted to 2048 memory parameters, maxThreads = 300 maximum number of web connections, waiting thread acceptCount = 300, maximum number of database connections by default 20, maximum 100;
The log is adjusted to the INFO level;
Run the following command to manage programs in JBOSS:
1) Use winscp and other tools to upload xxx. war to the/usr/local/directory.
2) Deploy the application to JBoss
Root@www.linuxidc.com ~ # Mv/usr/local/xxx. war/usr/local/jboss-eap-4.3/jboss-as/server/ccs/deploy/
3) Disable JBoss
Root@www.linuxidc.com ~ # Service jboss stop
Or force close:
Root@www.linuxidc.com ~ # Ps aux | grep java (obtain the pid of the jboss process)
Root@www.linuxidc.com ~ # Kill-9 pid (Force kill the jboss process, and the pid is obtained from the above command)
4) Delete JBoss cache and temporary files
Root@www.linuxidc.com ~ # Rm-rf/usr/local/jboss-eap-4.3/jboss-as/server/ccs/work/
Root@www.linuxidc.com ~ # Rm-rf/usr/local/jboss-eap-4.3/jboss-as/server/ccs/tmp/
5) Start JBoss
Root@www.linuxidc.com ~ # Service jboss start
Or start it manually:
Root@www.linuxidc.com ~ # Nohup/usr/local/jboss-eap-4.3/jboss-as/bin/run. sh-c ccs-B 0.0.0.0 &
5) view Log
Root@www.linuxidc.com ~ # Tail-f/usr/local/jboss-eap-4.3/jboss-as/server/ccs/log/server. log