Linux non-root users using secret key Login implementation method:1, copy/root/.ssh/public key to the ordinary user home directory of Authorized_keys2, modify the parameters of the/etc/ssh/sshd_config, prohibit the root account remote access to use,
all files in LinuxFile type: theGeneral Documents -Catalog file dLink file LBlock device B (operations in blocks, such as hard disks)Character Device C (operates in characters, such as main memory)Socket s (Network communication device)Pipe PUbuntu
Want to make your Linux sprout?First you need to install Cowsay softwareThe command is as follows: sudo apt-get update;sudo apt-get install CowsayAnd then enter the command on it, by default, animals are cowsOther animals can be set, you can use the-
Lesson 21:linux System Start-up detailed
Bios->mbr:boot code-> Execute bootloader-grub-> load kernel--Execute Init->runlevel
BIOS (Basic Input Output System), generally saved in the motherboard of the BIOS chip, the computer starts, the
1, tree-l 1/-L 1 (number 1) indicates the level of the directory under "/", and 1 indicates a layerCentOS6.5 the solution to the tree command-bash:tree:command not found:Tree is not installed, install directlyYum-y Install tree2. Add a regular user
The virtual machine in use, after replication, found that the network card name has changed, the correct method is as follows:For example, Eth0 became eth1:IfconfigUdev dynamic management device files:Cat/etc/udev/rules.d/70-persistent-net.rulesUdev
In Linux, all the device files are generally located under "/dev", serial 1 and serial 2 corresponding to the device name "/dev/ttys0", "/dev/ttys1", and USB to the serial port device name is usually "/dev/ttyusb0", The operation of the device under
This article mainly describes the Linux under the Iptables only allow the specified IP address to access the specified port setting method, the need for friends can refer to.First, clear all pre-settingsSecond, the settings allow only the specified
Process switching and general execution of the systemSWITCH_TO analysis of key code for process switching1. Process scheduling and its timing analysisClassification:The first classification i/o-bound: frequent I/O; it takes a lot of time to wait for
First, the Linux boot process1, firmware firmware (Cmos/bios) post power-on self-test2. Bootloader bootloader (GRUB) loaded into kernel3. Load kernel kernel drive hardware4. Startup process Init5. Read the execution configuration file/etc/inittabA.
Linux under Bash configuration fileConfiguration file for 1.bash:Global configuration:/etc/profile,/etc/profile.d/*.sh,/ETC/BASHRCPersonal configuration: ~/.bash_profile, ~/.BASHRCFile for Profile class:Setting environment variablesRun a command or
Go to the Linux root (i.e. "/", the entry for the Linux filesystem, and the directory at the top level), run the "ls–l" command and you can see that the Linux system contains the following directories.1. /binContains basic commands, such as LS, CP,
Linux study note 11Linux study note 11
Linux Study Notes 11 linux system daily management wireshark tool Linux system task plan RHELCentOS 7x several new changes CURL Common commands LAMP environment setup install mysql install Apache install MD5
Linux ~ Common commands: Linux ~ Common commands
Uncle learns Linux for the purpose of deploying services on it, such as redis, mongodb, fastDFS, cat, docker, mysql, and nginx.
The following command is used to learn the mysterious operating
Analysis of mmap memory ing mechanism in Linux
When talking about the concept of file ing, it is inevitable that virtual memory (SVR 4 VM) is involved. In fact,File ing is the central concept of virtual storage.On the one hand, file ing provides
Linux commands (1)-lsFile Location:Ls:/bin/ls/usr/share/man/man1/ls.1.gzName:Ls = list directory contentsUsage:Ls [OPTION]... [FILE]...Description:List Files in the directory (the current directory by default ). If the-cftuvSUX or-sort parameter is
Epoll event EPOLLRDHUP
During system troubleshooting, I found a strange phenomenon: when the other party disconnects the request, the system reports a query failure error, however, from the user's perspective, the request results are returned
Install the PDF Reader Evince in Ubuntu
Evince is a lightweight Document Reader installed by default in Gnome desktop environments. It also supports multiple document formats, including PDF, Postscript, tiff, XPS, djvu, and dvi.
The main
CentOS 6.3 Server Installation Configuration
1. Download and install CentOSCentOS-6.3-x86_64-minimal.isoHttp://centos.arcticnetwork.ca/6.3/isos/x86_64/CentOS-6.3-x86_64-minimal.iso
2. IP
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