Fuse 6 is no longer supported
As of February 2025, Red Hat Fuse 6 is no longer supported. If you are using Fuse 6, please upgrade to Red Hat build of Apache Camel.此内容没有您所选择的语言版本。
2.4. Installing and Starting the Service
Overview 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
The operating system determines the exact steps to complete the installation of Red Hat JBoss Fuse as a service. The wrapper:install command contains basic instructions for your operating system.
Windows 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
- Installing the service
- Run the following command:
InstallDir\bin\ServiceName-service.bat install
InstallDir\bin\ServiceName-service.bat installCopy to Clipboard Copied! Toggle word wrap Toggle overflow By default, the service to start when Windows starts. If you specified theDEMAND_STARToption, you need to start the service manually. - Uninstalling the service
- Run the following command:
InstallDir\bin\ServiceName-service.bat remove
InstallDir\bin\ServiceName-service.bat removeCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Starting the service
- Run the following command:
net start "ServiceName"
net start "ServiceName"Copy to Clipboard Copied! Toggle word wrap Toggle overflow You can also start the service from the Windows Service dialog box. - Stopping the service
- Run the following command:
net stop "ServiceName"
net stop "ServiceName"Copy to Clipboard Copied! Toggle word wrap Toggle overflow You can also stop the service from the Windows Service dialog box.
Red Hat Enterprise Linux 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
- Installing the service
- Run the following commands:
ln -s InstallDir/bin/ServiceName-service /etc/init.d/ chkconfig ServiceName-service --add chkconfig ServiceName-service on
# ln -s InstallDir/bin/ServiceName-service /etc/init.d/ # chkconfig ServiceName-service --add # chkconfig ServiceName-service onCopy to Clipboard Copied! Toggle word wrap Toggle overflow By default, the service to start when Red Hat Enterprise Linux starts. - Uninstalling the service
- Run the following command:
chkconfig ServiceName-service --del rm /etc/init.d/ServiceName-service
#service ServiceName-service stop # chkconfig ServiceName-service --del # rm /etc/init.d/ServiceName-serviceCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Starting the service
- Run the following command:
service ServiceName-service start
service ServiceName-service startCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Stopping the service
- Run the following command:
service ServiceName-service stop
service ServiceName-service stopCopy to Clipboard Copied! Toggle word wrap Toggle overflow
Ubuntu Linux 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
- Installing the service
- Run the following commands:
ln -s InstallDir/bin/ServiceName-service /etc/init.d/ update-rc.d ServiceName-service defaults
# ln -s InstallDir/bin/ServiceName-service /etc/init.d/ # update-rc.d ServiceName-service defaultsCopy to Clipboard Copied! Toggle word wrap Toggle overflow By default, the service to start when Red Hat Enterprise Linux starts. - Uninstalling the service
- Run the following command:
rm /etc/init.d/ServiceName-service
#/etc/init.d/ServiceName-service stop # rm /etc/init.d/ServiceName-serviceCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Starting the service
- Run the following command:
/etc/init.d/ServiceName-service startservice ServiceName-service start
/etc/init.d/ServiceName-service startservice ServiceName-service startCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Stopping the service
- Run the following command:
/etc/init.d/ServiceName-service stop
/etc/init.d/ServiceName-service stopCopy to Clipboard Copied! Toggle word wrap Toggle overflow