[Mysql.server]User=mysqlBasedir=/usr/local/mysqlIf There is not currently a section called [Client], add one at the bottom of the file and copy the socket= line under the [MYSQLD] section such as:[Client]Socket=/var/lib/mysql/mysql.sockFound still so, run /etc/init.d/mysql start error: Starting mysqlcouldn ' t find MySQL manager or serverIs the MYSQLD service is not restarted, run/usr/local/mysql/bin/mysqld_safe Problem solving.Start method1. View MyS
8. Power off restart command8.1 Power off restart command(1) Shutdown [option] Time ① Options- C : Cancels the previous shutdown command- H: turn off the machine- R : RestartExamples of ② applications: #shutdown –h now, Shutdown–h 20:30(2) Other shutdown commands ①halt②poweroff③init 0(3) Other restart command :①reboot②init 68.2 system Run Level(1) operating lev
Original works, from the "Blue Blog" blog, Welcome to reprint, please be sure to indicate the following sources, otherwise, the legal responsibility to pursue copyright.Deep Blue Blog:http://blog.csdn.net/huangyanlong/article/details/44085635[[email protected] ~]# rpm-qa|grep-i MySQL--Query whether the MySQL database is installed on the Linux systemMysql-devel-5.1.66-2.el6_3.x86_64Perl-dbd-mysql-4.013-3.el6.x86_64Mysql-5.1.66-2.el6_3.x86_64Mysql-serve
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 Restart RestartTo
1 installation Ubuntu 14.04 -bit operating system2 installation Apache and the Sqllite and the dependent Sqllite Development Library3 Configuration Directory /etc/apache24 HTML Page Catalog var/www/5 Cgi-bin Catalogue /usr/lib/cgi-bin6 log file: /var/log/apache27 Site Configuration: cd/etc/apache2/sites-enabledVI 000-default.conf ( location of the virtual site )8 Enter /etc/apache2/ catalog, viewing apache2.conf ( This is a master Apache configuration file ) This includes Web some comm
Problem:VMware install Linux virtual machine, Bridge mode configure static IP after restart NIC, hint: error,some other host already uses address 10.252.252.21 ...Ideas:Find the information on the web and get the solution as follows:Edit/etc/sysconfig/network-scripts/ifup-eth, Will (note: RHEL5.3)if! Arping-q-C 2-w-i ${realdevice} ${ipaddr}; Thenecho $ "Error, some other host already uses address ${ipaddr}.
Tags: 5.7 scripts linux/etc Admin database shutdown 5.5 Common commands1. View MySQL versionMethod one: status;Method Two: Select version ();2. mysql start, stop, restart common commandsA, starting mode1. Start with service:[[Email protected]/]# Service mysqld Start (5.0 version is mysqld)[[Email protected] etc]#
cannot be set to 6, otherwise it will not start normallyIn Debian/ubuntu, RunLevel is defined as:0-halt1-single2-full Multi-User with Display Manager (GUI)3-full Multi-User with Display Manager (GUI)4-full Multi-User with Display Manager (GUI)5-full Multi-User with Display Manager (GUI)6-rebootYou can see that there is no difference in the 2~5 level.Ubuntu system has a default runlevel of 2.Therefore, we can perform the halt shutdown using init, and execute the reboot using init 6来.In fact, the
] #/etc/rc. d/init. d/sendmail status
3. Configure Sendmail
Sendmail. the configuration Syntax of cf is relatively difficult. Generally, m4 macro processing programs are used to generate the required sendmail. cf files (using m4 compilation tools is generally not prone to errors, and some macros with security vulnerabilities can be prevented from causing damage to the server ). The configuration file is located in/etc/mail/sendmail. cf. a template fi
Guide
Suppose you want to configure a Linux application to send mail messages from your server or desktop client. mail messages may be email newsletters, status updates (such as cachet), monitoring alerts (such as Monit), disk time (such as RAID mdadm), and so on. When you want to create your own mail sending serv
After Linux configuration iptables, restart the failed solutionBecause only the root user can access the port below 1024, non-root user login is not enabled 80 port. Web service often launches more than 1024 ports and maps through Iptables to 80.1. Change the port in Server.xml to 80802. Then: iptables-t nat-a prerouting-p tcp--dport 80-j REDIRECT--to-port 8080(i
25.1 MySQL Database/*But I didn't prompt for the password when I installed it on the virtual machine.This can refer to http://blog.csdn.net/sinat_21302587/article/details/76870457Cause login without knowing the account password.The default account password is on the/etc/mysql/debian.cnf. For example,user and password are account passwords . Then you can log in.The way to restart/open/close MySQL is: sudo service
shutdown [option] Time (shutdown reboot more secure)-C cancels the previous shutdown command-H shutdown-R RestartFor example,: means running in the background[Email protected]:~# shutdown-r to: -[1]1805[email protected]:~# Shutdown Scheduled forFri -- ,- + to: -:xxPDT, use'shutdown-c'To Cancel. [1]+ done Shutdown-r to: -[email protected]:~#Standard shutdown command: shutdown-h nowRemote servers try to avoid remote shutdown.Other shutdown commands: (not very secure, no guarantee of proper storag
Restart and shut down Nginx in Linux.
If the Nginx server is running and you want to upgrade, add, or delete a module.
We need to stop the server and make corresponding modifications so that the server will stop the service within a period of time.
Nginx can be upgraded without stopping services.
A. smooth restart
parameter "-F" or the runlevel in 0~6, the system call reboot (2) (the Rebootcommand parameter will pass through) is activated and the system is restarted, otherwise the call is shutdown (8). The Rebootcommand parameter does not pass through at this time. Before calling reboot (2), the shutdown time record is written to/var/log/wtmp first.Several parameters---F: With the above description, shutdown (8) is not called.-P: Specified as the halt command, the effect is the same as Poweroff.-W: Do No
We all know that a mail server is the first to rack the DNS service. Set up SendMail mail server for everyone to study together.Step One, install the Snedmail service to see if you have installed SendMail.#rpm-qa|grep Bind#rpm-qa|grep caching*If it is not installed, please install it on your own, usually on
Now that you summarize the mail server under Windows, the mail server under Linux also summarizes it.In the vocational skill competition, the mail server is the same as the Linux and Windows principles, but the way of implementation is different, windows2003 is generally ins
zygote64, so the pgrp of all apps is set to Zygote64.Let's go back and look at condition 3:static int will_become_orphaned_pgrp (struct pid *pgrp, struct task_struct *ignored_task) { struct task_struct *p; Do_each_pid_task (Pgrp, Pidtype_pgid, p) { if (p = = ignored_task) | | (P->exit_state Thread_group_empty (p)) | | Is_global_init (p->real_parent)) continue; if (task_pgrp (p->real_parent)! = pgrp task_session (p->real_parent)
/mnt/cdrom12. Shutdown or restart shutdownshutdown [Options] Time-C cancels the previous shutdown command-H shutdown-R Restart13. Other shutdown commands: Halt, Poweroff, Init 014. Other Restart commands: Reboot, init 615. System Operating Level:0 Turn off the machine1 Single User2 not fully multiuser, no NFS service included3 Full Multi-user4 Not assigned5 graph
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.