WebTo disable a service in certain runlevels only, add the --level option followed by numbers from 0 to 6 representing each runlevel in which you do not want the service to run: chkconfig service_name off --level runlevels. For instance, to disable the abrtd in runlevels 2 and 4, type: ~]# chkconfig abrtd off --level 24. WebTo enable a service to run at run levels 2,3, 4, or 5, use the on argument: # chkconfig httpd on # chkconfig --list httpd httpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off. To enable the service for certain run levels only, specify the --level option followed by a concatenated list of the run levels, for example: # chkconfig --level 35 httpd on ...
Managing the ASM Cluster File System (ACFS) - Oracle
WebApr 14, 2024 · 一. 简单的方法Tomcat安装目录下的bin目录有两个脚本分别用来启动和停止Tomcat,分别是startup.sh, shutdown.sh,你可以用这两个脚本来手工启动和停止Tomcat服务并进行安装后的测试。 WebApr 7, 2016 · For example: /etc/init.d/copy start /etc/init.d/copy stop. Verify that your script had the required comments (see checkconfig man page). Each service which should be manageable by chkconfig needs two or more commented lines added to its init.d script. The first line tells chk- config what runlevels the service should be started in by default ... how much are pro club sweats
Linux下的Oracle启动脚本及其开机自启动_PHP教程_IDC笔记
Web# chkconfig: # description: for example: # chkconfig: 345 99 01 # description: some startup script 345 - levels to configure 99 - … WebCheck if you have the httpd init script in the /etc/rc.d directory. If yes, then you can just run the following command which enables the httpd service to start at boot time. chkconfig --level 345 httpd on. If you don't have the init script, then just append the /etc/rc.local file with apachectl -k start (the command to start Apache). WebDescription. chkconfig provides a simple command-line tool for maintaining the /etc/rc [0-6].d directory hierarchy by relieving system administrators of the task of directly manipulating the numerous symbolic links in those directories. This implementation of chkconfig was inspired by the chkconfig command present in the IRIX operating system. how much are private schools