1, CentOS7 to modify the host name
1) Hostname host name
Eg:
Hostname ityangs
Note: This way, only the temporary host name can be modified, when the machine is restarted, the host name changes back.
2) hostnamectl set-hostname xxx
Eg:
Hostnamectl
Recently their Redhat python upgraded Python to 2.7, but found that Yum can not use, found a workable solution, we can refer to, reprinted a Netizen's article, the pro-test effective.
Reproduced from: http://www.cnblogs.com/theitnotes/p/4162882.html
Reprint Address: http://jingyan.baidu.com/article/6b182309b95badba58e159e0.html
1, start CentOS system, into the desktop, the author's system is CentOS 6
2, can display the Chinese prerequisite is: The system has installed the Chinese voice pack.
What is a Epel source:
Epel is a yum software source that contains software that is not in many basic sources, and Epel is extended to Yum software sources when installed. Experimental Environment:
CentOS 6.5 Installation steps: Step 1: Install
1, download the JDK and Tomcat installation package to the/OPT directory, use the command: Wget installation package in the network address;
2, use the command decompression installation package: TAR-ZXVF package name;
3, to extract the file to be
1. Vi/etc/sysconfig/iptables
Way One
Add the following content
-A input-m state--state new-m tcp-p TCP--dport your port-j ACCEPT
Mode two/sbin/iptables-i input-p TCP--dport your port-j ACCEPT/etc/rc.d/init.d/iptables Save
Reboot the firewall
It's been a long day, and it's finally done.
The following is my installation process:
1, the Nouveau driver into the blacklist, modify the/etc/modprobe.d/blacklist.conf file,
Join blacklist nouveau in the back
2. Re-establish INITRAMFS image file
Reprint please indicate the source: http://blog.csdn.net/l1028386804/article/details/79399463
Assuming that the source host requires a target node with host name Node1, Node2, and node3 to access without password under User name test, you need to
1. Installation times Wrong "This host supports Intel Vt-x, but Intelvt-x is in a disabled state";This error occurs because the virtualization setting is not turned on in the BIOS;Solution:Boot press f2/delete into the BIOS settings, select the
Background:Wrote some scripts, downloaded some open-source software, want to make them into a system service, through the service Your_prog_name start way to run the background, and automatically start when the boot.After I learned about the daemon
Basic Installation Reference Article Https://www.server-world.info/en/note?os=CentOS_7&p=nagios
New Host Configuration:
Create a new device configuration in the CONF.D directory gateway.conf
Define host{ use linux-server
1. Understanding the definition of the kernel and the significance of upgrading the kernelThe operating system is a supporting software that deals with hardware and provides human-computer interaction. The Linux kernel is responsible for managing
Download python
Official website http://www.python.org/Download python-3.45.tgz put under/usr/local/
• Extract TGZ Package
TAR-ZXVF python-3.4.5.tgz
cd ~/Download/python
./configure--prefix=/usr/local/python34
Note:/usr/local/python34 is
Blog of the source self
http://www.yingzinanfei.com/2016/09/22/centos-anzhuanggaobanbengit/
CentOS6.5 comes with a git version of 1.7.1
Uninstalling your own git
# yum Remove gitDownload the latest version of Git
# wget
Preface
Because the server centos6.8 installed MySQL has been unable to connect the problem, and then see a method, accidentally put Yum to delete, all can not restore, is desperate, very uncomfortable. Then, without Yum, this centos would feel
Category: LINUX
As we all know, after the completion of the installation of CentOS, is not compiled environment, I hang up the CD-ROM, manually installed to solve the dependency of dozens of, in the configuration of some software, or often
Date Time Window
Date-s ' 2015-02-02 10:10:00 ' Change month day hour seconds
Date-s 10:00:02 Only change time does not change month
Clock-w Write System time
Hwclock Synchronizing BIOS time
Service Ntpdate start to turn on network time
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