, you need to use chkconfig ?? Addservicename to add this service to the chkconfig tool service list. in this case, the service will be assigned a K/S entry in/etc/rc. d/rcN. d.Finally, you can modify the default startup level of the service as instructed above.
2. in Linux, how does one automatically start MySQL?
First, make sure that/etc/rc. d/init. d/MysqlD exists. if the service is usedMysqlD start can be started normally, indicating that the service exists(Note: For rpm
the specified directory and all subdirectories and files under it. Example 1:$ chgrp–r book/opt/local/book Changes the genus group of all files under/opt/local/book/and its subdirectories as book. Chown commandFunction: Change a file or directory's owner and owner group. This command is also very common. For example, the root user copies a file of his own to the user Xu, in order for the user Xu to access the file, the root user should be the owner
Tags: Linux kill process20.4 "Linux learning is not difficult" process management (4): Kill process kills CommandTo close an application can be done by killing its process, and if the process cannot be killed at the moment, it can be forced to kill.Use the KILL command to kill a process. Before using the KILL command, you need to get the PID (process number) of t
execute permission to run directly.2) Uninstall:Go to the installation directory and delete all files.Ii. more user-friendly package management software 1, YUMAdvantages: simple, convenient, solve the package dependencyYum (full name Yellow dog Updater, Modified) is a shell front-end package manager in Fedora and Redhat as well as SuSE and CentOS. Based on RPM package
The Linux System Administrator sometimes wants to know what the user on the machine he manages is doing, and the Linux management command can help us do this, we can use the Linux management command w to implement this specific work, reflecting the text terminal after the command
Article Title: dynamic link library management command Ldconfig instructions for use. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems, open-source, and other basic classification Linux systems. In order to share dynamic link libraries with the system, you also need to
of/root/linux as input to cat. The screen appears as follows:UbuntucentosredhatmintslackwareIn order to be more clear about its meaning, we use the following command:# Cat This command understands: reads the contents from the/root/linux, then sorts, outputs the results and generates linux-sort new filesThen we look at what's in Linux-sort:CentosmintredhatslackwareubuntuThese are the daily basic application
2018, 16:30:26) [MSC v.1500"help"] Copyright""credits""license " for more information. " >>>
2. Installing Anaconda
To download the installation package:
Because the speed of foreign software source is too slow, so use the domestic Tsinghua mirror source for download https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/
Package selection of the latest, my system environment for WIN10 64-bit, so choose Anaconda3-5.2.
The user management method in the mysql command line shares bitsCN. after installing commysql, there will be a database named mysql. the table for storing users is user, and the user management of mysql database is centered on this table. of course, there are also some tables, such: tables_priv, procs_priv, clumns_priv, and USER_PRIVILEGES in the information_sche
commands:GroupaddGroupmodGroupdelgpasswdnewgrp Pre-logon user temporarily added to an existing groupSu:switch UserTo switch users:Su Username-L--login make the shell a login shell-C--command ' command ' pass a single command to the shell With-c# su-l User1-c ' ls-l-a 'Practice:1, create a user Mandriva, whose ID number is 2002, the basic Group is distro (group
Tags: col passwd word display file tree soft Linux file clock view textCommands to learn in this section:Cat (TAC), More,less,head,tail,cut,sort,uniq,wc,trSkills learned in this section: Directory ManagementFile ManagementDate TimeView textSplit screen DisplayText ProcessingSummary of File management commands:Directory Management :LS, CD, pwd, mkdir, rmdir, treeFile Man
Article Title: LinuxShell Command Interpreter: permission management chmod. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Chmod is used to change the access permissions of files or directories. You can use it to control acce
Compare with Windows to introduce Basic Linux operation methods and file management! (in pure command-line mode, why do you want to emphasize the command line?) Because at the end of the second I explained that almost all operations are done on the command line . Why do you want to compare it with Windows? because
from the first line, viewing the file, showing the last 10 rows by default-N shows how many rows-F Dynamic Display data (not closed) often used to view logs[Email protected] tmp]# tail-f/var/log/messages[Email protected] ~]# service network restartSee who modified the /etc/resolv.conf the DNS server address in the . To copy a file:CpRole: Copying filesSyntax:CP source File Destination file[Email protected] ~]# cp/etc/passwd/tmp/[Email protected] ~]# LS/TMP/PASSWD/tmp/passwdCopy directory:[Email
File and Directory ManagementFile management is the creation, deletion, query, movement of files or directories, MKDIR/RM/MVFile query is the focus, using Find to query; Find's parameters are rich and very powerful;Viewing the contents of a file is a big topic, the processing of text has too many tools for us to use, in this chapter just point to stop, there will be a special chapter on the text processing tools;Sometimes, you need to create an alias
name in sleep.
Flags task flag
By default, only important PID, USER, PR, NI, VIRT, RES, SHR, S, % CPU, % MEM, TIME +, and COMMAND columns are displayed. You can use the internal f command we mentioned above to adjust the list options.
The following describes two common top options,
-B: execute the top command in batches. Generally, the output results of batche
Nmcli network management command line tool Basics
Introduction
In this tutorial, we will discuss the network management command line tool (NetworkManager command line tool) in CentOS/RHEL 7, also known as nmcli. Users who use ifconfig should avoid using ifconfig in CentOS 7.
Webmaster# Userdel Webmaster2. Delete User Newuser1 and delete their home directory# userdel-r Newuser14) passwd Modify user password. Format: passwd [option] login can use the option:-L LOCK the password, that is, disable the account. -u password to unlock. -D make the account no password. -F forces the user to modify the password the next time they log on. If the default user name, the password for the current user is modified. User Management Tool
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.