Regular Expressions:Why use regular Expressions: Help us quickly filterClassification of regular Expressions:Basic Regular ExpressionsExtending regular ExpressionsThe difference between a regular and a wildcard:Wildcard: function: Find FilesRegular:
One, Su, sudo, limit root remote login
Su-usernameSwitch users with User environment
Su-C "Touch/tmp/123.txt" user1Create/tmp/123.txt files with User1 users
Users without a home directory can create new home directories with templatesMkdir-p/
Implementation steps:1. Create a key using Ssh-keygen under local LinuxSsh-keygen -T Rsa-p "2. Copy to target machine with ssh-copy-id commandssh-copy-ID [email protected]Enter the server passwordPrompt to confirm that no additional key files have
Introduction: in the previous several blog bloggers introduced, how to use the Java language to build a simple website. If some small partners want to publish their own web site to the server for others to visit, may wish to focus on Blogger's blog,
First part: server hardwareOperation and Maintenance Core Responsibilities: Website data can not be lost, site 724-hour operation, improved user experience-fast accessSimple computer Composition:1) server-related knowledge:1.1) Server Classification:
Operating system: The core of a computer systemLinux is a set of open source programs, and can freely propagate the Unix-like operating system, it is POSIX-based multiuser, multi-tasking and supports multi-threaded and CPU operating systems.Linux
Let's review the previous section:1. User group Add Groupadd2. User group Modification Groupmod3. User group Delete Groupdel4. The job creates a group with ID 501 group1, then changes to group2, the ID becomes 502, and finally the group is deleted,
Command operations for Linux1. Daily Operation Command* * View your current working directoryPwd* * Time to view current systemDate* * See who is online (who logged in to the server)Who view current onlineLast view recent log in history2. File
We know that Linux is a multi-user multitasking operating system, any user who wants to use system resources must first request an account from the system administrator and then enter the system as the account. Because it is a multi-user operating
With the progress of the Times, the rapid development of technology, it field of employment requirements are gradually improved, in order to better adapt to their own market environment, small partners continue to walk on the road of learning, to
One, the local process of communication between:1. Piping (pipe)Pipeline files can be used to communicate inter-process data, which is usually the way of communication between parent-child processes that have blood relationships.Pipeline
File permissions In addition to R, W, X also have S, T, I, a permission:S: The file owner and group set the SUID and GUID, and the file will be executed as root after the S permission has been set. When setting the S permission, the file belongs to
Because the directory is full of trivial small files and directory structure with deep, using rm-rf/backup, the speed is 40-60m per secondHow long does 10T of data have to be deleted Ah!It can be achieved via rsync:mkdir /tmp/nullrsync
Linux leverages Bmon/nload/iftop/vnstat/iptraf to view network bandwidth status in real time1-UHV http://apt.sw.be/redhat/el5/en/x ... 1.el5.rf.x86_64.rpm# yum Install Bmon2-o ascii-p eth0Software to view network conditions:1--HelpView specific
Maximum number of connectionsUlimit-shn65535# Maximum number of file handles, maximum open files (equals maximum number of connections) Ulimit-A # View/etc/security/limits.conf # Process Max Open File # nofile can be understood as the file handle
View remaining memoryFree-m#64581649#6458M为真实使用内存 1649M for true remaining memory (remaining memory + cache + buffer) # Linux uses all the remaining memory as a cache, so to ensure that Linux runs faster, you need to ensure that the cache size of
Download the source installation packagehttps://www.python.org/downloads/release/python-365/Install the LRZSZ package on Linux so that you can drag the Python installation package directly from the mouse to the virtual machineTo decompress: Tar xvf
Linux telnet to Windows Server, there are two more common methods. One is to install a software called VNC Server for Windows so that Linux can log on to the Windows Server via VNC. Another way is to connect to the Windows server directly via the
The overall process is probably to download the startup disk maker and Linux image, these steps online a lot, I will not repeatHere's a centos example of some of the pits that I stepped on.1. Select the prompt after starting the installationWarning:/
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