Stop a service
service httpd stop
systemctl stop Httpd.service
Restart a service
service httpd restart
systemctl restart Httpd.service
Start Nginx ServiceSystemctl Start Nginx.serviceSet up boot fromSystemctl Enable Nginx.serviceStop Boot from bootingSystemctl Disable Nginx.serviceView the current status of the serviceSystemctl Status Nginx.serviceRestart ServiceSystemctl Restart Nginx.serviceView all services that ha
httpd Status
Systemctl Status Httpd.service (service details)Systemctl is-active Httpd.service (show only active)
Show all services that have been started
Chkconfig--list
Systemctl list-units--type=service
Start a service
Service httpd Start
Systemctl Start Httpd.service
Stop a service
Service httpd Stop
Systemctl Stop Httpd.service
Restart a service
Service httpd Restart
Systemctl Restart Httpd
chkconfig--list
sy Stemctl list-units--type=service
start a service
service httpd start
systemctl start Httpd.service
Stop a service
service httpd stop
systemctl stop Httpd.service
Restart a service
service httpd restart
systemctl restart Httpd.service
Start Nginx ServiceSystemctl Start Nginx.serviceSet up boot fromSystemctl Enable Nginx.serviceStop Boot from bootingSystemc
active)
Show all services that have been started
Chkconfig--list
Systemctl list-units--type=service
Start a service
Service httpd Start
Systemctl Start Httpd.service
Stop a service
Service httpd Stop
Systemctl Stop Httpd.service
Restart a service
Service httpd Restart
Systemctl Restart Httpd.service
Start Nginx Service I[Plain]View PlainCopy
Systemctl Start Nginx.service
installation path? In the implementation of the code, the user selected installation path is used in most cases, how to get his value? In the custom action, install, "main output from the library (activity)" Right-click on the property, in CustomActionData fill in the/targetdir= "[targetdir]/", Then in the class installertest with this sentence this.context.parameters["TARGETDIR" will be able to obtain the installation of the directory.7. How do I ge
. You cannot create an interface in the newly created thread. Otherwise, the installer has two thumbnails on the taskbar. 2. To ensure that the window does not disappear after a function is returned, you only need to let the message loop function of the window return, and then you can re-enter the loop.
Customize the working directory of the interface DLLWhen you customize the uninstall interface, you will find that you cannot run the DLL in the System32 directory and in the installer directory.
CentOS 7 Setup Boot service to add custom system services
Create a service file
Save Directory
Set up boot from
Other commands
1. Create a service file
File path
vim /usr/lib/systemd/system
Service file Content
[Unit]Description=nginx - high performance web serverAfter=network.target remote-fs.target nss-lookup.target[Service]Type=forkingExecStart=/usr/local/nginx/sbin/nginx -c /usr/loca
QQ Input Method Custom phrase Setup Tutorial:
1 First Open "QQ Input Method", and then in "Input Settings" in the click.
2 Then in the "Input method settings" in the "personality phrase" in the click, click "Edit personality phrase."
3 in the "Add" click, and then enter the personality phrase with the input string (shortcut key, that is, you press which buttons can display the personality p
Under Linux, sometimes we want to give a program to set the agent, but the program itself does not have to set the proxy configuration options, this time is not unable to set agent for the program, today cows for you to recommend a more practical Linux under the Custom Setup program Agent tool Proxychains. The use of the tool is simple and convenient, and the installer will modify the options in the configu
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.