Reference 78906598CentOS7 default database is mariadb, but a lot of the use of MySQL, but the CentOS7 yum source default seems to be no MySQL.The previous installation was 5.6 but I would like to install 5.7 Yum install is the simplest to try to
Installing the MySQL DatabaseA) Download MySQL source installation package: Wget http://dev.mysql.com/get/mysql57-community-release-el7-8.noarch.rpmb) Install MySQL Source: Yum Localinstall mysql57-community-release-el7-8.noarch.rpmIf complete!
Shutdown-k does not shut down and warns the user-R Immediate Shutdown restart-H shutdown does not restart-C Cancel a run shutdownExample: Shutdown-h now shutdown does not restartShutdown-r +10 10 minutes after restart
Sudo-i getting permission
PsDisplays system processes in an instantaneous state of operationRelated options -A displays the process for all users, including the full path of each program - x displays all system programs, including those that do not have a terminal - u
Mister into RSA's passwordSSH-KEYGEN-T RSADirectory Assignment permissionschmod 755 ~/.sshchmod 644 ~/.ssh/authorized_keysCopy the pub key to the remote server, the recommended FQDN and IP are copied, so that the system can join the known
Halt shut down the machineReboot restartClear Clear Screen Ctrl+lMkair Creating a new directoryRmDir Delete Empty DirectoryCP ReplicationMV DeleteTouch creates an empty fileLN creates a hard link-s create soft connectionCommon View CommandsCat
Workaround:1.ifconfig eth1 determine the MAC address of the new network card.Nmcli con determine the UUID of the new NICVim/etc/udev/rules.d/70-persistent-net.rulesDelete the relevant information of the original eth0 and change the name of Eth1 to
System version
[Email protected]/]# cat/proc/versionLinux version 3.10.0-514.el7.x86_64 ([email protected]) (gcc version 4.8.5 20150623 (Red Hat 4.8.5- (GCC) ) #1 SMP Tue Nov 16:42:41 UTC 2016[Email protected]/]#
The
in order to better learn the contents of the old boy's Web cluster, and complete the corresponding experiments on the books, we need to build a large number of Linux virtual machines with VMware. The process and precautions for installing CentOS are
I. Installing the YUM installation under CentOSinstall subversionTo see if the installation was successful:--versionView installation content and locationRPM-QL SubversionTwo. Configure the SVN repository directory to createmkdir /home/svncd
Install JDK8 under CentOS to install JDK8 as an exampleFirst, download the decompression JDK1. Go to http://www. Oracle. com/technetwork/java/javase/downloads/ Download the JDK installation file jdk-8u60-linux-x64.tar.gz in
Vmware
ISO file for CentOS7
Method/Step
1Open the virtual machine software "VMware" and select "Create a new virtual machine";
2Select the "Custom (Advanced)" option and click "Next";
3Select the highest version in "Hardware
1. Create a git user for the CentOS systemuseradd -d /home/git git #创建git用户passwd git #修改密码2. Open the CentOS system RAS Certificationvim /etc/ssh/sshd_configOpen the following comment and modify it as follows3,
Solution for full Centos disk space: centos disk space
Disk usage before resolving:The usage of the second disk reaches 97%.
[root@feng020 ~]# df -lFilesystem 1K-blocks Used Available Use% Mounted on/dev/xvda1 20641404 10565932 90269
Install Tinyproxy details on Centos VPS, vpstinyproxy
Tinyproxy is a lightweight HTTP proxy daemon
Yum install-y epel-release
Yum update
Install tinyproxy in yum-y
Sudo nano-c/etc/tinyproxy. conf
Search:
##Port listening.#
And change the port number
Centos(102.16-tar.gzunpack and the symbolic chain, centos-tar.gz
You can use raror zipping To uncompress the installation program in windows. centos also has various types of files. This article will introduce the most common tar.gz files.Tar.gz
Gz
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