/etc/sysconfig/network
Used to set the "host name (HOSTNAME) and start network or not"
Generally, the host name takes effect after the reboot.
If you set up a gateway here, but you also reconfigure the gateway elsewhere and make it effective, use a
One: Use CentOS common commands to view the CPU
More/proc/cpuinfo grep "model name"
grep "model name"/proc/cpuinfo
[Root@localhost/]# grep ' CPU '/proc/cpuinfo
Model Name:intel (R) Pentium (r) Dual CPU E2180 @ 2.00GHz model Name:intel (R) Pentium (r)
3. Network basic commands(1) Network Service System Royal network interface configuration information changes, network services must be restarted to activate the new configuration of the network to make the configuration effective, this part of the
First, the installation of Fastdfs must be installed before libevent, installation libevent steps as follows:
1. Download Libevent:
wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz2. Decompression Libevent:
TAR-ZXVPF
Environment: CentOS 5.2 (two units)
Rsync Server ip:192.168.1.114
Client ip:192.168.1.115
1. Install rsync and manage rsync via xinetd
Yum Install rsync xinetd
2. Modify the/etc/xinetd.d/rsync file so that it starts with
1. After entering Linux, use the docker command to download MySQL, commands such as:Docker Pull mysql:5.7After you run the command, the following log is displayed:[[email protected] ~]# docker pull mysql:5.75.7: pulling from library/
1 See if mysql rpm-qa|grep-i MySQL is installedIf installed please uninstall: Rpm-e--nodeps MySQL ...2, do not install the following operationsDownload MySQL rpm tar package https://dev.mysql.com/downloads/mysql/format for RPM best contains all
Linux Learning CentOS (ii)--some common commands for the initial knowledge of LinuxAfter installing CentOS6.4 on the VM, looking at the Linux system to run successfully, the heart small excited a ... But the road ahead of learning is still far away .
Bridge network card Selection on window with Ipconfig/allcentos under VMware Bridge mode, static IP sisu Network15, wrote a blog: VMware network settings Bridged is also about Linux under the VMware Bridge mode, static IP sisu network configuration,
Because of the need to build a Hadoop platform, but there is no ready-to-use Linux server, had to download the CentOS 6.5 from scratch, the installation process encountered a lot of problems, such as network configuration, clock synchronization,
1. Add a user. First, use the adduser command to add a common user. The command is as follows:# Adduser keaising // Add a user named keaising# Passwd ljl // change the passwordChanging password for user keaising.New Unix Password: // enter the new
In versions earlier than centos 7, the system running level is defined through the/etc/inittab file:
[[email protected] ~]$ cat /etc/centos-release CentOS release 6.4 (Final)[[email protected] ~]$ cat /etc/inittab # inittab is only used by upstart
Sudo introduction:Sudo is a common tool in Linux that allows common users to use superuser permissions;Sudo features: sudo can restrict users from running commands only on a host; sudo provides a wide range of logs, recording in detail what each
When centos 7 is installed, the system prompts "Warning:/dev/root does not exist, cocould not boot"
This problem is that the USB flash drive is not found. This configuration needs to be completed in the previous step, but we do not know the
For those who often use centos, the yum that comes with it is very useful. Can their fellow brother rhel5 also install yum? I found a piece of information on the Internet and found that this is completely achievable. Let's take a look at his
I. Installation
# Yum install httpd
Ii. Question about the Chinese file name
Run the RPM command to install mod_encoding. in Linux, Apache supports Chinese names.---------------------- RPM installation mod_encoding ------------------------In Linux,
A: RPM package,This type of software package is similar to the windows EXE Installation File. Various files have been compiled and packaged, And the folder to which the files should be put is specified, which is very convenient to install, in the
A low-level error in "installing CentOS in Vbox": Version Selection
Date: July 18, 2014
Error Description: The Virtual Machine System Version is incorrectly selected. As a result, you cannot boot to the CD for installation.
Error REPLAY:
Because the
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