Ubuntu system set up network connection
1, into the Ubuntu desktop, the top right corner of the desktop to find the icon shown in the following picture (not connected), click the left mouse button;
2, use the left mouse button click "Edit
1. Text deletion/Movement
When editing text, often need to delete some unwanted text, we can use the key to the wrong or unwanted text deletion, but at this time there is a limit is that when you delete the wardrobe, then want to delete the
In a full screen text editor, the movement of the cursor is undoubtedly the most frequently used operation. The user is skilled at using these commands to move the cursor to quickly and accurately reach the desired location for editing.
The cursor
Everything that runs on a Linux system can be called a process. Each user task, each system Management daemon, can be called a process. Linux uses time-sharing management to make all tasks share system resources. The following are some common
Linux memory uses the flat model of protected mode, which bypasses Intel's segment memory management, as the segment selector for all processes points to GDT, and only four of the GDT are useful:
The code is as follows
Copy Code
tar [-cxtzjvfppn] files and directories ....Parameters:-C: Create a compressed file parameter instruction (create meaning);-x: Unlock a parameter command for a compressed file!-T: View the files inside the Tarfile!In particular, in the release of
, it analyzes/var/log/secure (Redhat,fedora Core) and other log files, when found that the same IP in a number of SSH password attempts will be recorded IP to/etc/hosts.deny file, so that the IP to automatically screen the purpose.
DenyHosts
Let's introduce the grep usage and some minor considerations
In the process, the most used parameter is-V, but it is not cool to use.
For example, I want to look up a word "userservice", but the document like "*.SVN" doesn't need to be shown, what
. bash_profile file
. Bash_profile is the most important file that is read every time a user logs on to the system and contains commands that are executed by bash.This file defines the basic environment for a user's login account: including path
I. Overview
These two files are TCPD server configuration files, and TCPD servers can control the access of external IP to native services. The two configuration files are formatted as follows:
#服务进程名: Host list: Optional command action when rule
Message Queuing is a way to communicate between processes, at first I thought that Message Queuing was like a pipe that connected one process to another, and that only two processes could read and write to each other. In fact, this is wrong, Message
In the Nginx log cutting aspect, my method and other people's methods have some different, but for me this method, if someone feels bad, can give me, thank you
nginx Log Cutting , I was directly written by a simple shell implementation, the
VSFTPD 530 Login Incorrect This problem is very common, a lot of online search, but most of them are a bluff. Here's my solution,Server Description: The server is CentOS 6.5 64 bits, VSFTPD is used Vsftpd:version 2.2.2, the system user is Nologin
1,
Need to modify the contents of multiple files, one of the replacement is more cumbersome. Then there is no good way to directly more than a number of files for batch modification it? The method is as follows:
1. Sed
grep old_string-rl./* | Xargs
$PATH: determines which directories the shell will look for commands or programs, and the PATH value is a series of directories that Linux searches for and compiles links to when you run a program.
Edit the PATH declaration in the format:
Path=
No matter how intelligent an automated configuration tool such as chef/puppet/salt/ansible is, there is always a need to log on to a single server to find a problem. Always can not go over the Doc/txt document to find the appropriate IP address and
Microsoft Company Timing Mainframe (USA)time.windows.comTai Police Service Centre (Taiwan)asia.pool.ntp.orgChinese Academy of Sciences Service Center (Xian)210.72.145.44CNC Timing Center (Beijing)219.158.14.130
Time synchronization commands under
First, rsync synchronous backup preparation work
We need to download 2 packages: rsync server-side profile (VPS data section)/Rsync Client Profile (VPS Backup host)
Second, configure the server-side VPS
We upload the server-side rsync
VPS one hand, the first thing is to change the SSH port, using a not easy to disassemble the port number, to prevent being black.
Changing the port number is done by modifying the SSH configuration file, and after logging in SSH, enter:
On September 14, October 25, the Linux manufacturer was attacked by two new security viruses. A series of graphics decoders and Gaim instant messaging clients were all affected.According to RedHat, the biggest Linux developer, hackers have begun to
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