1. First the server to install the FTP software to see if the FTP software has been installed:#which vsftpdIf you see a vsftpd directory stating that the server has FTP software installed2. View FTP Server status #service vsftpd Status3. start the
Modify the/etc/ssh/sshd_config file to find Clientaliveinterval 0 and Clientalivecountmax 3 and remove the annotation symbol ("#")Change the corresponding 0 of the clientaliveinterval to 60,CLIENTALIVEINTERVAL Specifies the time interval for
To set Xhost method steps under LinuxFirst step: Log in to Linux with Root and start the VNC service;[Email protected]:~# vncserverThe ' vncserver ' command was not found, whether you want to enter:Command ' Vnc4server ' from package ' vnc4server ' (
1.findCommand format: Find search DirectorySearch by file name: Find search directory-name file name (case insensitive: Find search directory-iname file name)Find search Directory-name ' *lee ' (search for all files at the beginning of any character
Process$top display process information and update $ps in real time displays the processes under the current shell$ps-lu username shows the process of user username$ps-AJX to show all processes in a more complete format $kill PID kills PID process
First, the 6 system and the 7 system are different6 Start service as: Service name action7 Start-up service: Systemctl Action Service Name6 Service file path:/etc/rc.d/init.d/7 Service file path:/usr/lib/systemd/system/79120222 (The listening here
These three commands are changed file attributes and permissions, put together to writeCharp: Changing the user group to which the file belongsChown: Change the file ownerchmod: Changing the permissions of a fileA file for Owner,group, others have
1. Principleawk, a line-of-text processing tool that processes data in a file on a row-by-line basisSyntax: awk ' pattern + {action} 'Description(1) The single quotation mark "is to separate from the shell command area;(2) curly braces {} denote a
Today there is a server that does not start properly because there is a service that does not start up becauseAService needsBThe service starts normally before it starts properly, so you need to adjustA,BThe start order of the service. On the
2.1. Linux (UNIX) command format命令 【选项】 【参数】 (command [options] [arguments])Each item in the command line is separated by one or more spaces, and the part enclosed in square brackets is optional and can be used as a meta. The specific meanings of
Linux commands used in daily work, easy to organizeA view of information and file operationsTouch a creates a fileRm Delete File-R Delete Directory-F do not ask-RF do not ask to delete directoriesMv move-B Back up renaming before overwriting-T first
1:top View>top-cAt this point we use kill-9 15003, kill the process of the short-term CPU down a few seconds, and then resurgence, another process accounted for the CPU 99%2: View 15003 process status,> Cat/proc/15003/statusPid: Current Process
General article:First, use PS to view the process as follows:Copy CodeThe code is as follows:$ ps-ef......Smx 1822 1 0 11:38? 00:00:49 gnome-terminalSmx 1823 1822 0 11:38? 00:00:00 Gnome-pty-helperSmx 1824 1822 0 11:38 pts/0 00:00:02 bashSmx 1827 1 4
Under the Linux operating system, how do I add a new user to a specific group? How do I add users to multiple groups at the same time? How do you move an existing user to a group or add a group to him? For people who don't use Linux, it's not easy
9.3 "Linux learning is not difficult"User Management (3):/etc/shadowFile DetailsThe/etc/shadow file is a shadow file of/etc/passwd, and these two files should be complementary to each other. the contents of the/etc/shadow file include passwords
9.2 "Linux learning is not difficult"User Management (2):/etc/passwdFile Details/etc/passwdfile isLinuxThe system identifies an important file for the user,Linuxall users in the system are logged in the file. Assume that the user has an
User ManagementUseradd Creating a userOptions:-U UID-G GID-D Home Directory, the average user has the highest permissions in the home directory, by default in the operating system's//directory.-S login after user-enabled shell, graphical interface
----The following actions are performed on the CENTOS7Add a port----the firewallFirewall-cmd--zone=public--add-port=80/tcp--permanentTo remove a port----a firewallFirewall-cmd--zone=public--remove-port=80/tcp--permanentFirewall-cmd--list-ports
1. First create the Share folder under Windows and set the share (right--property--share)2. Confirm that Ubuntu installs Mount.cifs,apt-get install mount.cifs or replace it with (cifs-utils)3. Create/mnt/winshare under Ubuntu to mount shared files$
Requirements Analysis:The Windows platform uses SSH to remotely connect Linux servers, implement a graphical interface to execute some programs of the Linux platform, such as System-config-kickstart, Xeyes, etc.Lab Environment:Server-side:
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service