Linux Host Security 1. Disable remote login root. 2. Modifying the SSH default port is tentatively 3600. 3. Wrong password three times, disable 5 minutes. 3.1 Non-GUI loginVim/etc/pam.d/loginA new line under #%pam-1.0, joinAuth Required
The real power of Linux is his "command line." Every Linux command is actually a program, and with these commands we can do a lot of things. What commands should be used to solve the difficulties? The mini-series will introduce you to a few common
1. Special permission Facl (Access control list support)The standard Linux file System (EXT2/3/4) supports the use of POSIX ACLs to set multiple complex file permissions, provided that the file system is mounted using the ACL option.In red Hat
For Linux platforms in the Redhat/centos system, Yum is recommended to install dependent packages. There are two ways to install it, one to use local yum, and one to use online yum.1 online Yum SourceIf the operating system has access to the
1. Introductionawk is a command under Linux, and his output of other commands is very powerful for processing files.Compared to grep's lookup, the SED editor, awk is especially strong when it comes to analyzing data and generating reports.Big. In
1. Initial Network The network system is a huge system, which involves routing, security, wireless, language, data center and so on.① Network basic knowledge: related to the development of the network, some concepts of the network, the introduction
Linux 15th Day: (August 29) exercises and assignmentsManage disk quotasFdiskPartx-a/DEV/SDAMount/dev/sda6/homeDfCd/homeMV */HomeVim/etc/fstab enable disk quota mount options: r!blkid/dev/sda6/home ext4 Default 0 0: R!blkid/dev/sda6/home ext4
(0) Umask is the permission code, the default is 022Using the command "Umask" can be queried.File default permissions are 666, directory default permissions are 777New file and directory permissions are respective default permissions minus umask
Linux Delete directory is very simple, many people are still accustomed to use rmdir, but once the directory is not empty, it fell into deep distress, now use the RM-RF command.Direct RM is available, but add two parameters-rf that is: RM-RF
I am using ubuntu14.4, so everything is OK in Ubuntu, and it should be similar in other Linux systems.1 Scheduled Tasks, crontab command options:-u Specifies a user,-l lists a user's task schedule,-R Deletes a user's task,-e Edit a user's tasks2
Linux Course Notes (class opening1, to create their own 51CTO blog, after each test will be written to their own blog, good memory is not as bad as written. 2, Marco full name: Ma YongliangBasis ( RHCE)3 BooksRH1033 FoundationRH133 Operating
1. List the user name of all logged-in users on the current system, note: The same user logged in multiple times, only once.W.H.O. | Cut-d '-f1 | Sort-u2. Remove the information about the user who last logged in to the current system.Last | Head-13.
1:makefile Analysis(1) Kernel makefile writing and rules and so on Uboot makefile is the same, even makefile a lot of content is the same.(2) The makefile of kernel is more complicated than the makefile of Uboot, here we do not have a detailed
1. List the user name of all logged-in users on the current system, note: The same user logged in multiple times, only once.Who | cut-d '-f1 | uniq650) this.width=650; "Src="
Install PHP7 in CentOS6
Recently installedZabbixManagement tools encounteredPHPAfter a while, I found some information and shared it for your reference. I took some detours.
Update Software source [1]
wget
Install the redis service in centosTo install the redis service, follow these steps:
Wget http://download.redis.io/releases/redis-3.2.3.tar.gz tar xzf redis-3.2.3.tar.gz cd redis-3.2.3 make installBasic configuration of apsaradb for redis after
Officially Released Fedora 24!
On April 9, June 21, 2016, the Fedora Project Team announced the official release of the Fedora 24 Linux operating system! Supports desktop, server, cloud, and embedded devices.
After four delays, the official version
Linux Security Basics: Use of the find command and use of the find command
The find command is used to find the specified file in the file system.
* Command Format: find pathname-option [-print-exex-OK]
1. pathname: directory path to be searched
~
Head/tail implementation and headtail implementationOnly the basic head/tail functions are implemented. By default, 10 rows and-n parameters are displayed. 1. Use a system call with buffer. System calls such as write/read are not buffered. You can
Linux Security Basics: shell and some basic commands, linuxshell
1. What is shell?Shell is the interface between the user and the Linux operating system.There are multiple shells in Linux, where Bash is used by default.
2. shell Classification(1)
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