The Chkconfig command is primarily used to update (start or stop) and query run-level information for system services. Keep in mind that Chkconfig does not immediately automatically disable or activate a service, it simply changes the symbolic connection.Use syntax:chkconfig [--add][--del][--list][system service] or Chkconfig [--level Chkconfig Displays the usage when no parameters are running. If the servi
Start SQL Server
Net Start MSSQLServer
Pausing SQL Server
Net Pause MSSQLServer
Restarting a paused SQL Server
Net Continue MSSQLServer
Stop SQL Server
Net Stop MSSQLServer
to modify the password of the SQL Server SA by command line
has been using Enterprise Manager operation of SQL, yesterday to help a friend deployment site, leasing foreign VPS host, landin
DOS Process view and stop command
To view a process:
Tasklist/svc
To stop a process:
Taskkill/im 2468/f
dos view process, end Process command (common hacker commands)
shall want to upload a trojan or something, there will always encounter some things to stop, some can
Basic method of Operation:This article assumes that your APAHCE installation directory is/usr/local/apache2 and that these methods are suitable for any situationApahce Start command:Recommended/usr/local/apache2/bin/apachectl Start APACEH startupApache Stop Command/usr/local/apache2/bin/apachectlstop stopApache Restart command:/usr/local/apache2/bin/apachectl Res
=-xmx1024m log_folder=/custom/log6. Security SettingsAs an application service, security is a problem that cannot be ignored, and some of the following actions can be referenced as part of the underlying settings:
Create a separate user for the service, and preferably bind the user's shell to/usr/sbin/nologin
Give minimum scope permissions:chmod 500 app.jar
To prevent modification:sudo chattr +i app.jar
Do similar work to the. conf file:chmod 400 app.conf,sudo chown root:roo
This article assumes that your APAHCE installation directory is/usr/local/apache2 and these methods are suitable for any situation
Apahce Start command:Recommended/usr/local/apache2/bin/apachectl start APACEH
Apache Stop Command
/usr/local/apache2/bin/apachectl stop
Stop it
Apache reboot
Start SQL serverNet Start MSSqlServerPause SQL serverNet Pause MSSqlServerRestart the suspended SQL serverNet Continue MSSqlServerStop SQL serverNet stop MSSqlServerModify the SQL server sa password using the command line I have always used the Enterprise Manager to operate SQL. Yesterday I helped a friend deploy a website and rented a foreign vps host. After logging on, I only saw the SQL icon running norm
How to force stop a service when multiple Tuxedo users use the tmadmin command
When you need to restart the Tuxedo application, the following ERROR occurs: LIBTUX_CAT: 577: ERROR: Unable to register because the slot is already owned.
When the tmadmin command is executed, an error is returned:
$ TmadminTmadmin-Copyright (c) 1996-1999 BEA Systems, Inc. portions * C
down all admin and server processes In/app/app/etc/tuxconfigShutting down server processes ...Shutting down admin processes ...Server id = 0 Group id = SITE1 machine = SITE1:Cmdtux_cat:1668:warn:cannot shutdown BBL on SITE1. Clients and/or servers may be runningCmdtux_cat:949:warn:shutdown failed0 processes stopped.Mandatory command must be used: tmshutdown-c-yThis allows you to stop all tuxedo services an
Go to blog 77498935 Yipianfeng_ye's Special#启动apkmessage = os.popen("adb shell am start -W -n com.qihoo.appstore/.home.MainActivity")for line in message.readlines(): if "ThisTime" in line: print(line.split(":")[1])Import Os,timeClassApp():Def__init__(self,pagename,firstactivity):"" "Construction Method" "" Self.pagename = pagename self.firstactivty= firstactivity self.content=""#执行命令的文本 self.starttime=""#启动的时间DefStartApp(self):"" "Open App" "" "cmd ="ADB shell am start-w-n" +self.pagename+self.
calendar for the corresponding yearFour. Common shortcut keys:1.Ctrl + C #结束在命令行中运行的程序2.Tab Key #快速补全, press two times to display the current directory file3.ctrl+l #清屏4.ctrl+u #清除当前光标位置以前的内容5.ctrl+k #清除当前光标位置以后的内容6.ctrl+w #清除光标左侧的字段至前一个空格处7.ctrl+y #撤销删除操作8.ctrl+a #光标移动到命令行开始处9.ctrl+e #光标移动到命令行末尾10.ctrl+r #将自动在命令历史缓存中搜索后面输入的内容11.ctrl+d #快速关闭当前终端ALT +. #获取上一条命令 (in string, split into multiple strings if there are spaces in the middle)13.ctrl+-#缩小终端字体14.ctrl+shift++ #增大终端字体"Content" executes the
, have1Handler (s) forThis service ... The command completed successfullyStart and stop process:[[Email protected] ~]$ lsnrctl Startlsnrctl forLinux:version11.2.0.1.0-Production on --nov- . Geneva: $: -Copyright (c)1991, the, Oracle. All rights reserved. TNS-01106: Listener using Listener name Listener has already been started[[email protected]~]$ [[email protected]~]$ [[email protected]~]$ Sqlplus/As Sysdb
Reference Nginx development from beginner to proficient: http://tengine.taobao.org/book/chapter_02.html
Kill-hup pid (master pid) reboot gracefully, service uninterrupted
What does the master process do after it receives the HUP signal?First, after the master process receives the signal, it reloads the configuration file, starts the new worker process, and sends a signal to all old worker processes that they can retire honorably. After the new worker starts, it begins to receive the new reque
1. View Linux Boot Services
Copy Code code as follows:
Chkconfig--list query out all currently running services
Chkconfig--list ATD Query ATD The current state of the service
2. Stop all services and no longer start the next time the system starts, as follows:
Copy Code code as follows:
Chkconfig--levels 12345 NetworkManager off
If you want to see a service that is currently running, filter it with the following statemen
Open a command line window.
Start the World Wide Web Service
Net start w3svc
Start FTP service
Net start msftpsvc
Start the SMTP service
Net start SMTPSVC
Start the plesk Control Panel Service
Net start pleskcontrolpanel
Start the http ssl Service
Net start httpfilter
Restart IIS service
Iisreset/restart
View the I
1. Permanent effect, no recovery after rebootOpen: Chkconfigiptables onOFF: Chkconfigiptables off2, immediate effect, restart after restart firewall restartWay One:/etc/init.d/iptables restartMode two: Service iptables restartTurn off the firewall: mode one:/etc/init.d/iptables stopMode two: Service iptables stopStart firewall mode one:/etc/init.d/iptables startMode two: Service iptables startStrace tracing process (e.g. Sshd,yum installation)Failed to open or restart a process, you can use the
Under Linux system, reboot tomcat using command operationFirst, go to the bin directory under Tomcatcd /usr/local/tomcat/bin使用./shutdown.sh或者是sh shutdown.sh关闭TomcatUse./startup.sh or SH startup.sh to start tomcatTo see if Tomcat is shutting downps -ef|grep javaIf the following message appears, it's turned off.To directly kill the Tomcat process (process number: 7010), use the KILL commandKill-9 7010Linux under Tomcat boot,
[]php 5.3.3 php-fpm restart, abort operation command
PHP 5.3.3 Source has been embedded in the PHP-FPM, not like the previous PHP version of the same special patching, just need to add the compilation parameters in the Configure.
The compilation parameters about PHP-FPM have –enable-fpm–with-fpm-user=www–with-fpm-group=www–with-libevent-dir=libevent locations.
However, php-fpm in PHP 5.3.3 no longer supports commands such as/USR/LOCAL/PHP/SBIN/PHP
Tags: ble currently technology height IMG show ima share connect1. Display As, open log can be seen: Variable Name must not being empty for ELEMENT:JDBC Connection configuration, that is, JDBC Connection Configuration connection Variable name cannot be empty in the settings.2. Set the variable Name for created pool in the JDBC Connection configuration, need to "save", and then run the script once, the problem can be resolvedJMeter when establishing A JDBC Connection pool "A test is currently run
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.