In Linux, a little attention is likely to produce a large volume of log files, even hundreds of m, drag down analysis is also a waste of time, this time, if you can cut the file into N small files, take the last file can see the recent log. There
1. Clone an object I created centos 6.3 During the previous installation, but I didn't have enough space to reinstall centos. I thought about using the resize command because I had to configure many things, however, when running D: \ Program Files \
Faults:
1,/etc/sysconfig/network-scripts directory no ifcfg-eth0
2. If the ifconfig command does not have eth0, only LO is displayed.
Solution:
1. If you enter ifconfig without eth0:, you need to install the NIC driver as follows:
Check
Directly go to the command mode. If it is a server, you can use the putty connection to enter the command line mode.
The VNC in centos is tigervnc. Because it is a server, we only need to install tigervnc-Server:
Yum install tigervnc-Server
Then
Centos6.3 the official DVD package is too large and contains a large number of software. However, many of the software cannot be used in the production environment. Redundant installation will only result in a waste of resources, this document
I. Some nonsense.
When I was in the third year of high school, I had been in touch with Linux and was moved by its handsome terminal. From then on, I began to struggle with Linux. it was bitter, but more happy. At first, I started to get started
1. EnvironmentCentos5.5
2. Install SVNYum-y install Subversion
3. Configuration
Create a version library directoryMkdir/www/svndata
Svnserve-d-r/www/svndata
4. Create a version Library
Create a new subversion ProjectSvnadmin
--------------- Statement: partitions are at risk and operations must be cautious ------------------------------------
Application Scenario: hyper-V or esxi. expansion is required if the original space is insufficient.
Step 1 (increase disk space)
The IP address cannot be obtained from the centos system when the VM Nic is bridging.
Today, we updated the virtual machine to a new version, and found that the IP address cannot be obtained from the network card bridge centos System of the virtual
I. preparations:
1.
Basic tools
Yum
Rpm
SCP
Curl
Wget
Pdsh
The first few general systems have their own,
Pdsh
You need to install
:
Yum install pdsh
This command is not successfully executed
Download by yourself
Pdsh.tar.bz2
,
The grub startup Item is damaged and cannot enter the system. Go to grub mode (you can arrange disk rescue and enter grub in shell ).
I:Find the correct grub location using one of the following three commands.1. Find/boot/GRUB/stage12.
Problem: adding rules to the firewall always fails to enable ports.
(1) modify the file
First, VIM/etc/sysconfig/iptables
-A input-M state -- state new-m tcp-p tcp -- dport 5001: 5009-J accept (allow ports 5001 to 5009 to pass through the firewall)
Usage of systemctl on centos 7
We are familiar with both the service and chkconfig commands. systemctl is the main tool for service control. It integrates the functions of chkconfig and service.
Systemctl is-enabled iptables. ServiceSystemctl
Centos system poisoning (sfewfesfs) process records
On October 11, October 16, 2014, today is my class. when I took over the course, I encountered a problem that I never encountered before, that is, the server was poisoned and continuously sending
The RedHat/centos 6.5 e2fsprogs version is earlier than 1.41.12, so you cannot create a file system larger than 16 TB.
Download the latest e2fsprogs, compile and install itFtp://ftp.ntu.edu.tw/linux/kernel/people/tytso/e2fsprogs/
Tar zxvf e2fsprogs-1
Solution to Apache forced UTF-8 garbled in CentOS
Today, I purchased xen vps in PhotonVPS for my own use. The weak ones despise BurstNet's VPS, and I bought 19.95-knife, GB of traffic VPS, even though I still cannot accept a small number of download
Detailed explanation of wc commands in CentOS
The content of today is the wc command of centos. This name is very memorable. You know what it is.
The function of this command is also very memorable, and its function is very limited:
Wc-c filename:
How does CentOS Delete unnecessary startup items after kernel upgrade?
1. # uname-a view the current kernel version
Linux localhost. localdomain 2.6.32-358.23.2.el6.i686 #1 SMP Wed Oct 16 17:21:31 UTC 2013 i686 i686 i386 GNU/Linux
2. # rpm-qa |
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