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
Http://www.centoscn.com/CentOS/config/2014/0810/3471.html
1, add users, first with the AddUser command to add an ordinary user, the command is as follows:#adduser Tommy//Add a user named Tommy#passwd Tommy//Change PasswordChanging password for
Upgrade to glibc2.25 when executing configure, reports As,ld, kernel header files are too old. 2.20 is no good, so I had to upgrade to 2.17.
Http://www.th7.cn/system/lin/201612/195752.shtml
The day before yesterday, an executable program was
VMware To configure the CentOS virtual machine as Host-only network mode
Today suddenly want to host-only mode configuration process record down, also convenient to have the need of friends reference. This blog post is my first blog, poorly written
Today nothing to play with CentOS, long heard that this system is good, today a good use, incredibly it has a special configuration development environment command. You can use Yum Groupinstall "Development Libraries" "Development Tools" to complete
1) The naïve practice of the first attempt:
Take the registered Golang environment variable as an example:
CD/ETC/PROFILE.D
Ls-rtl
Touch custom.sh # or any file name you like to create a new file
Ls-rtl
echo "E Xport Path=\${path}:/usr/local/go/bin "
Demo with two new MySQL servers: mysql1:10.10.1.55 (Master) mysql2:10.10.1.56 (slave) to configure the master and subordinate, the steps are as follows: step 1: Create a copy account on MYSQL1 replcreate USER ' Repl ' @ ' 10.10.1.% ' identified by '
1. VMware Workstation software View the virtual machine Nic MAC address after cloning completed, record2, enter "cd/etc/sysconfig/network-scripts/" command, then execute "IP addr" command, check the network card name3. Enter the command "VI
Description: Production environment for software version and kernel version requirements very accurate, don't worry about anything. Yum Update Operation!!!!!!!!!Yum update: Upgrade all packages while upgrading software and system coresYum Upgrade:
1. A virtual machine has been created above, and now we click on the virtual machine. 2, the virtual machine into the installation of the interface, where we choose the first line, install or upgrade the system.3, here will be prompted to check the
In general, Linux systems have their own JDK, but do not meet development requirements, so you need to uninstall, reinstall the JDKStep 1: View the JDK version of an existing installation
Command:
Rpm-qa | Grep-i Java
Step 2:
This method uses bridging so that dynamic IP can be fixed to a static IP to connect to the intranet or to the extranet1:View own host IP cmd under input ipconfig2:Execute sequentiallywhere the 5th step of the drive gets the MAC address of the
The python version of CentOS 6.x comes with 2.6,centos 7. X comes with 2.7, we have to install python3.x, configure the environment, but the general installation process will not be smooth sailing, often some error, in CentOS and other Linux systems
Today, the installation of CentOs 7 in the virtual machine, after the installation is complete found that its own python environment only Python 2.7, but also need to install Python 3, this is not as friendly as Ubuntu, and hope to bring Python 3 in
[Email protected] ~]# service FIREWALLD restartRedirecting To/bin/systemctl restart Firewalld.serviceJob for Firewalld.service failed because the control process exited with error code. See "Systemctl Status Firewalld.service" and "Journalctl-xe"
An environmentServer:windows Server R2 DC domain control ip:192.168.1.11Client:centos 6.5Two Mount MountsCommand:Mount-t cifs-o username= ' test\testuser ', password= ' test ' "//192.168.1.11/server test/test"/mnt/testMount:block device//192.168.1.11
Tutorial on building a DNS server on CentOS and building a dns on centos
1. Install software
Common DNS server software includes BIND, NSD, Unbound, etc. While BIND has the highest market share, the last two are lightweight and fast DNS servers.
In CentOS 6.4, an error is reported when nginx is installed to execute the configuration command.
Install nginx in CentOS 6.4 and execute the configuration command
./Configure
The following error is prompted:
./Configure: error: the HTTP rewrite
Solve the error load/etc/rc. d/init. d/network bad vndor preset in Centos 7.
Configure the network today, where the modified file ifcfg-ens33, but after modifying the ifcfg-ens33 found that the Internet is not available. Check the ip address and
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