What if one day you forget everything, including the root password, and cannot log on to the system?
It's easy to do in two steps:
1. When starting the system, you can see the boot directory, use the up and down arrow keys to select the system you
(1) centos 6 command configurationThe command configuration will be restored after restart. To permanently Save the configuration of the file to be used# Ifconfig eth0 192.168.0.2 netmask 255.255.255.0 // ip address, subnet mask# Route add default
Webbench can simulate up to 30 thousand concurrent connections to test the load capacity of the website. I personally feel better than the AB stress testing tool that comes with Apache, and it is especially convenient to install and use.
1.
One mount
1) back up all upgrade configuration files under/etc/yum. Repos. D.# Cd/etc/yum. Repos. d# Mkdir backup# Cp * BackupDelete the original *. Repo2) create a local configuration file to add or delete the configuration file# Vi local. Repo#
1. gitweb Installation Note: The RedHat ISO source does not have the gitweb installation package, but the centos source exists.
Article To get RedHat to use the centos source, you only need to use the following command to install it.
# Yum
Something is fragmented. But I don't know how to use it that day.
Notes
(The image is centos 6.3 In vbox)
After the installation is complete for the first time, this window will pop up, which is usually useful.
But I never thought about how
This method is used to install the default xen of centos 5.4. During installation, it is best to switch the kernel to the default kernel of centos 5.4. I have tried this process on another kernel before, the installation is normal, but a series of
In centos 5.5, manually create a "shortcut" for the application in the System menu"9 minutes ago label: shortcut centos manual menu LinuxThe word "shortcut" is used in windows. However, it shows a menu item on the interface. After you click it,
Yum sources are mainly divided into network and CD. The configuration file is stored in the/etc/yum. Repo. d directory.
Cat CentOS-Media.repo
# CentOS-Media.repo## This repo is used to mount the default locations for a CDROM / DVD on# CentOS-5.
1. Enter the command to find the root partition: Mount | grep "on" 2. then run the command fsck to fix fsck-y/dev/sda2 (root partition). Note: The-Y option specifies that yes3 is automatically input for each file to be detected. Fsck fixed the boot
Centos 5.5 kernel version:2.6.18-194. E15-X86_64.
Upgrade to Linux 2.6.32 first. Because 2.6.3x has similar kernel compilation steps, the title of this article is 2.6.32x.
(1) download the standard kernel 2.6.32 and decompress it to the directory,
Solution to Chinese Garbled text on the centos graphic interface
Recently, when xen and virt-manager are used in the graphic interface, half of the interface's Chinese characters are garbled and half of the Chinese characters are normal. I guess
Two tools are used:
1.Securecrt(Securecrt.zip) (this does not have a graphical interface, all command lines)
Protocol: SSH2
Host Name: 192.168.1.111)
Port: xxxx (port is not the default 22, port modification, see
Over the past few days, we have been working on performance improvement. We have been dealing with servers for a long time. Today we are mainly working on installing memcache, which is mainly used for database caching. If I have introduced something
Problem description:After centos is installed with tomcat, access the local file: http: // localhost: 8080. But cannot be accessed within the LAN
Cause:
/Etc/init. d/iptables status
Table: FilterChain input (Policy accept)Num target prot opt source
1. Modify the IP address of centos
Modify the configuration file of the corresponding Nic IP Address# Vi/etc/sysconfig/network-scripts/ifcfg-eth0
Modify the following content
Device = eth0 # describe the device alias for the NIC, for example, it is
1. An error occurred while installing the CentOS-4.8-i386-binDVD.iso in VMware-no valid device found for which you want to create a new file system. Check your hardware to find the cause of the problem ."
Cause:
The default hard disk of the VM is
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.