CentOS Modify IP Address
# ifconfig eth0 192.168.1.80
This will change the IP address to 192.168.1.80(if you find the network, then you may need to change the gateway and DNS, the following will be mentioned), but when you restart the system or
system
# uname-a # View kernel/operating system/CPU information# head-n 1/etc/issue # View operating system version# cat/proc/cpuinfo # View CPU Information# hostname # View computer name# LSPCI-TV # list all PCI devices# LSUSB-TV # list all USB
If SSH service is not installed, install by command:
sudo apt-get install SSHTo start the SSH service:
Service sshd Restart
ssh Password-free login principle is as follows
If a machine wants to access B machine via SSH without password, it needs
When you plug your hard disk into a Linux system, always prompt when you turn on the hard drive: unknown filesystem type ' NTFS '. There are some problems with the method of trying the internet.
Following the problems encountered, the correct way
The VLC multimedia player (originally named VideoLAN client) is a VideoLAN-planned multimedia player. It supports a wide range of audio and video decoders and file formats, and supports DVD audio-visual discs, VCD audio-visual discs and various
Ifup, Ifdown:linux command
Real-time manual modification of some network interface parameters, you can use ifconfig to achieve, if you want to directly to the configuration file, in the/etc/sysconfig/network-scripts inside the IFCFG-ETHX and other
The prerequisite for displaying Chinese is that the system has a Chinese voice pack installed.
If not installed, only need to network after the execution
sudo yum groupinstall chinese-support
command can be installed, this article focuses
See whether the current operating system is Ubuntu or CentOS
1, the implementation: LSB_RELEASE-A
2. Order: Cat/etc/redhat-release
3. Order: Cat/etc/issue
Summary: In fact, to see if there is a file:
Radhat or CentOS
Copyright NOTICE: This article is the main original article, without the owner's permission to reprint operation: (Operating system 64-bit) 1. Install VirtualBox and vagrant default path2.vagrant box Add Centosmix centos-7.1.1503-x86_64-netboot.box3.
Recently in the construction of lamp environment, configure a variety of environments need to open the port, always in Baidu too troublesome, record
Original address: http://m.blog.csdn.net/sherwin/article/details/49562667
--------------------------
This is on the server, read and write super fast.
Write speed
$dd If=/dev/zero bs=1k count=1000000 of=1gb.file
1000000+0 Records in1000000+0 Records out1024000000 bytes (1.0 GB) copied, 5.13676 seconds, 199 MB/s
Read speed
$dd if=1gb.file bs=64k
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. Create a new file in the/ETC/INIT.D directory named Tomcat2. The tomcat file is edited and executed
# cd/etc/init.d/
# VI Tomcat
Glue the following code up
#!/bin/bash
# DESCRIPTION:TOMCAT7 Start Stop Restart
# PROCESSNAME:TOMCAT7
# chkconfig:234
From the CENTOS/RHEL7, the predictable naming convention becomes the default. This rule, the interface name is automatically based on the firmware, topology and location information to determine. Now, even if you add or remove a network device, the
Click here to download the address in this version 6.3 of Apache
OK, the whole general order is that we do the stand-alone stage first.Complete the stand-alone and then through copy and the corresponding zookeeper configuration to take care of the
Simply introduce some simple tools that I have to install. If there is a good, I will add content in this article.
A) Nano editor
Yum Install Nano-y
It may be used, much better than the built-in one.
II) Network Toolkit
Yum Install
CentOS 5 's Yum source does not have git, can only compile the installation itself, now record the content of the compilation and installation and error resolution, left to their own memo.Compiling a basic Environment environment
1
Troubleshooting system time changes in CentOS and restart failures1. Display system time:
#date
2, modify the system time:#date-s ' 2013-10-03 21:43 '
set the system time to local time
3. Display hardware time
#hwclock--show
4. Set Hardware
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