CentOS Ifcfg-eth content explained IP settings Linux

Type=ethernet #网卡类型Device=eth0 #网卡接口名称Onboot=yes #系统启动时是否自动加载Bootproto=static #启用地址协议--static: Static protocol--BOOTP Protocol--DHCP Protocolipaddr=192.168.1.11 #网卡IP地址netmask=255.255.255.0 #网卡网络地址gateway=192.168.1.1 #网卡网关地址dns1=10.203.104.41

CentOS 6.5 Install python2.7 version error

CentOS 6.5 Installation python2.7 version, has been installed, the system is new installation, toss 2 days, finally found the problem, is no modification time, and with the default system time, resulting in the package can not be installed

CentOS Installation python2.7

---restore content starts---centos6.5 bring python2.6, due to work needs, another installed python2.7, reference on-line information, collation as follows1.sudo Yum Install gcc gcc-c++2.wget

Centos system time synchronization (NTP)

Perform the following steps to synchronize time in the centos system:The newly installed centos system server may be set incorrectly. You need to adjust the time zone and time.The following is how the centos system uses NTP to synchronize data from

Modify static IP address in centos

Vim/etc/sysconfig/network-scripts/ifcfg-eth0 on behalf of the configuration fileWriteDevice = eth0 # describe the device alias for the NIC, for example, it is eth0 in the ifcfg-eth0 FileBootproto = static # Set the way for the NIC to obtain the IP

Modify the default centos Language

View All locale languages [[Email protected] ~] # Locale-A ...... protected [[email protected]~] # 1. permanent effect-set the system locale language to English environment, if you want to set to Chinese, Lang set to zh_CN.UTF-8 [[Email protected]

Solution to centos forgetting the root password

1. Press the "E" or "ESC" key on the keyboard when starting the system to enter the following interface. 2. Select the corresponding kernel, which is generally the second option. Press "E" again to display the kernel. Select the second option and

Summary of CentOS-7 commands (1)

Minimal installation of centos 7 Created as a document, in the attachment View System Version Information # Uname- # Cat/etc/RedHat-release Upgrade all packages, change software and system settings, and upgrade the system version and kernel.

Install centos system dependency library in yum

Install the centos system dependency library. You can run the following command before compiling and installing the software: Update the system first (this step can be left empty) Yum-Y update   Pre-install compiler and library files Yum -Y

Cloudera hadoop-2.3.0-cdh5.1.0 installation in centos 6.5

Preparations before installation1. Three VMS, centos 6.5 installed, and 4 GB memory2. Configure the yum source to 163 (if not configured, it will be too slow when installing the software)3. Disable firewall (iptables) and disabled SELinux4.

Centos 6.x x64 compilation and installation of countly

Centos 6.x x64 compilation and installation of countly Install Required Software Yum-y install supervisor ImageMagick sendmail 1. Install node. js Wget http://nodejs.org/dist/v0.10.1/node-v0.10.1.tar.gz Tar zxvf node-v0.10.1.tar.gz CD

Centos command-based query of the package

At work, I often encounter a problem where I want to use a command machine without installing it, but I don't know which package the command is in (the source code compilation is no longer within the scope of this article ), the following describes

Install mplayer in centos 7.0

The built-in player neither rmvb nor MP4 can play the video, nor can it find the decoder.Centos7epel cannot be installed, so there is no rpmfusion, so I decided to compile mplayer myself First, you need to obtain the source code.The first is the

Centos SYSTEM INTRODUCTION

1. What is centos? Centos, full name: community enterprise operating system (community enterprise operating system), is a free-to-use source code enterprise-level Linux release based on Red Hat Enterprise Linux. After Red Hat 9.0 is released, Red

The strictest iptables rules for centos

I remember when I was in college, the teacher said Because iptables rules are post-written, the preceding rules are overwritten. In Linux, the safest firewall rule is to discard all port packets and then enable the required ports one by one. Now

Compile and install the lamp environment in centos 6.2

System Environment: centos 6.2 (pure system environment, preliminary system optimization) System kernel: 2.6.32-220. el6.x86 _ 64 Software Version: http-2.4.2; mysql-5.5.23; php-5.3.13 Gossip: Install software through source code and prepare the

Systemd in centos 7

Systemd Service Management Program Systemctl is the most important tool. It integrates the functions of service and chkconfig. You can use it to enable or disable services permanently or only in the current session. Run the following command to list

Install hadoop 2.5 on centos 6.5

Hadoop Disable firewall and SELinuxRpm-IVH jdk-7u67-linux-x64.rpmYum-y install wget rsync NMAP openssh-clientsCD/usr/local/Tar xvf/root/hadoop-2.5.0.tar.gzLn-s hadoop-2.5.0 hadoopVI ~ /. BashrcExport java_home =/usr/Java/jdk1.7.0 _ 67Export

Add an epel source to centos

gpg

Epel Introduction: https://fedoraproject.org/wiki/EPEL/zh-cn1. rpm-uv h http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpmYou must select the bold part based on your own environment.2.

Right-click centos, and select terminal and centosterminal.

Right-click centos, and select terminal and centosterminal.By default, no terminal exists in the context menu above centos6.2. The method is as follows:1 yum-y installnautilus-open-terminal2 "shutdown-r nowHow does CentOS64 enter Terminal for

Total Pages: 394 1 .... 191 192 193 194 195 .... 394 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.