Sometimes we often encounter such a problem: there is a page of the telephone number is thin, in order to write the rules of people's names, home addresses, telephone, notes, etc., at this time we just want to get everyone's name and their
When we use the above method to install the Linux server and some basic settings, our server should be said to be relatively safe. But there will always be hackers who can hack into our system using the system administrator's negligence in a variety
The following is actually done, the system disk is upgraded successfully, and the root partition
Special reminder: After the deletion of partitions must first set up a partition and then save, delete point after the save will result in data loss,
Windows bat Batch File
The code is as follows
Copy Code
@echo offSet time_hh=%time:~0,2%if/i%time_hh% LSS (set time_hh=0%time:~1,1%)Set filename=%date:~,4%%date:~5,2%%date:~8,2%_%time_hh%%time:~3,2%%time:~6,2%echo Test >>
When a field in a database, such as an ID, is an integer, the new insert data needs to be sorted from the total maximum value of the current database plus 1.
The maximum ID for the current production database is 150, so it is necessary to start
In the work, we may encounter such a problem, found that a disk space is nearly full, so, find some useless large files deleted it, found that the disk space is still not released, this is why? How to solve it? Here's to reproduce the whole process:
First, the phenomenon of failure
Business side colleague Mail, a current network host using the correct username password SSH login (previously normal), the use of other users "Su-this user" input password can normally switch in. It is also normal
Today there is nothing to say to everyone about Linux installation SSH2 expansion, want to install under the WinDOS but PHP expansion can not find, tears running ...So I can only do experiments in Linux, but all the same,,,,
Download Address
wget
SendMail Configuration
Yum-y Update SendMail SENDMAIL-CF
SendMail Related Directory1. Profile directory:/etc/mail2. Record file:/var/log/maillog3. Provisional catalogue of received letters:/var/spool/mail/4. The temporary catalogue of the letters
View CPU Footprint
Enter top on the command line
You can start top
Top Full Screen Dialog mode can be divided into 3 parts: System Information Bar, command input bar, process list bar.
Use top to view system load
The top command can dynamically
Linux to create users is very easy things, but do not often to do these operations, a long time to easily forget, conveniently configure FTP. The declaration uses the Linux version CentOS release 5.6 and runs as Super Administrator root
Create a
DescriptionTheir own post Office server because of configuration problems, was brought to mass bulk spam. Now the egg hurts, send emails to Gmail or other mailboxes, will be sent back or directly in the bin. One complaint too troublesome, direct
Linux Delete Folder command
Linux Delete directory is very simple, many people are still accustomed to using rmdir, but once the directory is not empty, into deep distress, now use the RM-RF command.Direct RM is OK, but add two parameters-rf namely:
What I'm going to talk about is not the message queue in IPC, I'm talking about implementing a custom message queue inside the process, allowing the messages of each thread to drive the movement of the entire process. Message Queuing between
How Linux compresses the retention source files:gzip–c filename > filename.gzHow Linux unlocks the retention source file:Gunzip–c filename.gz > FileNameThe use of Gunzip1. RoleThe Gunzip command function is to unzip the file and use the permissions
The MTR (My traceroute) is a network diagnostic tool that incorporates pings and traceroute into a single program. The MTR provides two interfaces: a ncurses interface that is useful for using MTR from a Telnet session, and a GTK + interface for X
First of all, I was a slag, so for the installation of Ubuntu in the real machine, just started really do not know how to start, before just in the virtual machine was loaded, after consulting various materials, the successful installation, my
IostatThe Iostat command shows the storage subsystem in detail. You typically use Iostat to monitor the overall health of the storage subsystem, and to detect slow input/output problems before the user notices that the server is running slowly.
OneThe data structure of the Linux process in memoryAn executable program is divided into sections of code, data segments, and uninitialized data segments when stored (not in memory):1) Code snippet : A machine instruction that holds CPU execution.
Use squid to prohibit access/only allow access to the specified URL, squid is prohibited
Install squid
Yum install squid-y
Back up squid. conf
Cp squid. conf squid. conf-list
Vi squid. conf
Input:
Acl denyWeb dstdomain "/etc/squid/denyWeb.
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