1. Modify the configuration file for the corresponding NIC IPVi/etc/sysconfig/network-scripts/ifcfg-eth0Modify the following contentDevice=eth0 #描述网卡对应的设备别名, for example, in Ifcfg-eth0 file it is eth0Bootproto=static #设置网卡获得ip地址的方式, the possible
Method 1: Modify the/etc/sudoers file,
Find the following line and remove the comment (#).
# Allows people in group wheel to run all commands% Wheel all = (all) All
Then modify the user and make it belong to the root group (wheel ),
First download rpmforg. Download the corresponding version, that is, the corresponding centos version, and the 32-bit and 64-bit versions. The address is as follows:Http://wiki.centos.org/AdditionalResources/Repositories/RPMForgeOr
Every time you use the route-N command to view a route, you can always see the annoying existence of the 169.254.0.0 static route. Why don't you want to show it? The method is simple.[[Email protected] ~] # Vi/etc/sysconfig/Network Networking =
Netease (163) Yum source is one of the best Yum sources in China. Both the speed and software version are very good. Set the yum source to 163yum, this can speed up the installation and update of software packages, while avoiding the failure of some
Install JDK 7 in centos
1 JDK Introduction
JDK (Java Development Kit, Java development kit, and Java development tools) is a program development environment for writing Java applets and applications. JDK includes the complete JRE (Java Runtime
1Install net-snmp
# Yum install net-snmp-utils-y# Snmpwalk-V 1-C public localhostip-MiB: ipadentifindexCreated directory:/var/lib/net-snmp/mib_indexesTimeout: no response from localhostNo data can be extracted. We need to modify/etc/snmp/snmpd. conf.
I am using a centos virtual machine. In that environment, there is a DHCP service. It was used well, but the following error suddenly occurred: Error: Determining IP information for eth0... failed; no link present. check cable? At first, I thought
1. Install the bridge package
yum install bridge-utils
2, modify the file/etc/sysconfig/network-scropts/ifcfg-eth0;Bridge = br0
Delete the following
ONBOOT=yesIPADDR=10.0.0.23NETMASK=255.255.255.0GATEWAY=10.0.0.1DNS1=61.134.1.4
3. Create the
This article describes how to use YUM configuration to install the LAMP environment under CentOs6.2. Some brothers also like to use the compilation method. I personally think that if it is not customized for the server, the yum installation is
How to install CentOS 7 on a USB flash disk
Before CentOS7 is installed, my PC is a dual system of win7 and CentOS6.5 and started with GRUB boot. I installed a lot of application software and server software in CentOS6.5, and re-compiled the kernel
When I deleted my user account today, I found a strange phenomenon:
Userdel: user newnameis currently logged in
Solution:
Mv/var/run/utmp/var/run/utmp_touch>/var/run/utmp
The restart machine takes effect. Use userdel-r aa directly
The strerror () function returns the error description String Based on the errno value. The following program prints the comparison table:
Code highlighting produced by Actipro CodeHighlighter (freeware)Http://www.CodeHighlighter.com/
-> 01. #
Installing Xen in CentOS 6 is a little troublesome because the virtualization platform has switched from xen to KVM since CentOS 6, so it is very easy to install KVM in CentOS 6. 1. Install KVMyum groupinstall Virtualization 'virtualization client'2.
The NAT static IP address of the centos virtual machine sets the host machine to centos 6.3 64-bit, and the three virtual machines to centos 6.3 64-bit. The Virtual Machine network connection mode is the default NAT mode. By default, virtual
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