1. Add a new network adapter in the virtual machine according to the following two pictures
Two. See if the NIC is recognized!Vi/etc/udev/rules.d/70-persistent-net.rules #可以看到有两块网卡!
Copy eth1 Card's MC address, next we want to create ifcfg-eht1
1, CRONTAB-E, enter the editing interface2, Input/2 * * * * * curl http://www.baidu.com, means every two minutes to visit the Web page3, save exit, then service Crond Start Services4, Chkconfig Crond on set to boot from5,Basic format:* * * *
http://www.oschina.net/question/17_39276
The old version of the Redhat/centos defaults to install the system, will default to open the network card and set to boot.
But this feature has changed in the latest version 6 ... The NIC will disconnect by
Note: SSH password-free interoperability, should be for more than one server communication, I only use a server to do processing. 1, modify the host name.
Vi/etc/sysconfig/network
Networking=yes
hostname=centos1
vi/etc/hosts
#末尾添加 IP host name
192.
compilingBefore compiling JDK7, install a JDK6 version, because some Java files need to be compiled, configuration update source, yum-y Groupinstall ' base ', yum-y install make; installation package, yum-y install Alsa-lib -devel cups-devel
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
In recent times, when configuring the JDK on the CENOS7, I found myself in a pit (and too little of my own knowledge).
Go to the official website to download JDK 7, then unzip, put in my own definition of a directory, usually opt or data inside.
CentOS 6.5 Installation jdk1.8
1, source Package preparation:
First to the official website download jdk-8u66-linux-x64.tar.gz,
Http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
2, Upload
Upload to/data
One: View CPU
More/proc/cpuinfo | grep "model name"grep "model name"/proc/cpuinfo
If you feel the need to look more comfortable
grep "model Name"/proc/cpuinfo | Cut-f2-d:
Two: View memory
grep memtotal/proc/meminfo
grep Memtotal/proc/meminfo |
First, Tomcat official website: https://tomcat.apache.org/download-80.cgi
Download the TOMCAT8 version of the installation, as shown in the figure:
Second, through the Xshell rz command, upload to/usr/
Four, unzip Tomcat, as shown:
Change
First, the direct installation of GCC, the report relies on errors, the following figure:
Second, the direct installation of Cloog, reported Reliance Error, as shown:
Third, the direct installation of CPP, reported dependency error, as
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
For a more detailed tutorial, see previous posts
http://blog.csdn.net/tao_627/article/details/60957521
Here are just a few simple steps, no screenshots, all the while using root
The current source
Operating system CentOS 7.5, installed when the choice of things Chinese, later want to change into English1. In the top left corner of the application----> click System Tools-----> Settings 2, point "regional language", then click on the right
First, the Environment preparationOs:centos Linux release 7.5.1804 (Core)?ip:172.16.8.46Installation requirements are as follows:Second, Docker installationReference 80454019Third, installation Docker-composeCurl-l
Some errors and workarounds when installing CentOS7.0 from the hard disk
mount:no Medium found and/dev/root do not exist Both cases cannot find the installation file for CentOS7.0, the problem is that the installation file (. iso) is not
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