reduce storage space, and the second is to transfer files over the network, you can reduce the transmission time. Gzip is a frequently used Linux system command to compress and decompress files, which is both convenient and useful.(3), Syntax: gzip [option] File name for compression (decompression) The options for this command have the following meanings:-C writes the output to the standard output and retains the original file.-D Unzip the compressed file.-L Displays the following fields for ea
Daily management of the CentOS Linux system 3 16th sessionThe first half of the classThe second half of the classLinux system service ManagementNtsysvTool NTSYSV similar to the graphical interface management tool, if you do not have the command install Yum install-y ntsysvCommon services: Crond, iptables, Network, sshd, Syslog, Irqbalance, SendMail, Microcode_c
file. For more information, see the author's blog "centos7 install MySQL through yum").
For example, MySQL container:
View the containers currently used by Yum:
Yum will first download the container list to/var/Cache/Yum on the local machine. If we modify the URL in a container, the container name (text in brackets) is not modified, which may cause the list of the local machine to be not synchronized with the list of the yum server. In this case, the container name cannot be updated.
So yo
CentOS system management commandsStat displays information about the specified file.02.cd /home/itcast03.stat familyA04.05.Who and w show online login users06.who07.08.Whoami displays the user's identity09.10.Hostname display Host Name11.hostname12.Hostname-I display Host IP Address13.14.Uname: displays system information15.Uname-a displays all information (kernel name, host name, kernel version number, ker
CentOS file management and related commandsLinux Introduction
Strictly speaking, Linux is not an operating system, but a kernel in a Linux system, that is, a platform for communication between computer software and hardware. The full name of Linux is GNU/Linux, this is a real Linux system. GNU is a project organized by Richard Stallman. programmers from all over the world can modify the GNU program and foll
CentOS user management basics
1) view the current user
[root@moban~]#whoamiroot
2) Add a user[root@moban~]#useraddxpleafOr[root@moban~]#adduserxpleaf
3) create a password for the user[root@moban~]#passwdxpleafChangingpasswordforuserxpleaf.Newpassword:Retypenewpassword:passwd:allauthenticationtokensupdatedsuccessfully.If passwd is not followed by a user, the password is created or modified for the current
-interactive) //////////////////////////////////////// //////////////////////////////////////// //////////////////////////////////////// /////////////// Gorgeous split line //////////////////////////////////////// //////////////////////////////////////// //////////////////////////////////////// /////////////// Today, I felt like I had to learn Linux well, and I had an idea during my class today. I also summarized the things in "Computer Network" here. The summary can also be used as the ma
configuration file and restart the Apache server(i) using the APACHECTL-T command to test if the configuration file is correct, restart the Apache server with the apachectl restart command:(ii) test the opening of a virtual host using the Curl command:The display cannot be connected. It is only then remembered that the firewall does not open 8080,8081,8082 these ports, open:Vim/etc/sysconfig/iptablesRestart Iptables:Then connect the porttest:8080 with the Curl command, resulting in a series of
Install the htop process management and monitoring tool in CentOS 6.5.
Download the latest HTOP version.Http://sourceforge.net/projects/htop/For example:Wget http://sourceforge.net/projects/htop/files/latest/downloadDecompress the downloaded file and installFor example:Tar-zxf htop-1.0.2.tar.gzCd htop-1.0.2./Configure make install(If gcc is not installed at this time, the system will prompt:Checking for g
For more details, please refer to the websiteVpsmate officially recommended CentOS version 6.2 64-bitConnect to your Linux server using SSH connection tools such as PuTTY, Xshell, SecureCRT, and more.Execute the following command to start the installation:Cd/usr/localwget http://www.vpsmate.org/tools/install.pyinstall. pyAs shown in the following:After the installation is complete, set the administrator user name and password, and if you enter directl
The PIP is a Python package management tool, with a lot of Python open source kits in the PIP library that can be downloaded and installed directly into the Python module while you are using it, as described in the CentOS how to install the PIP in the install.
First, install PIP command
Download PIP installation package:
[Root@web1 xxx]# wget--no-check-certificate https://pypi.python.org/packages/source/s/
to ask where slave or master
CLIENT
Servers is.
REPLICATION SLAVE
Needed for replication slaves.
SELECT
Allows use of SELECT.
SHOW DATABASES
Allows use of SHOW DATABASES.
SHOW VIEW
Allows use of SHOW CREATE VIEW.
SHUTDOWN
Allows use of mysqladmin shutdown.
SUPER
Allows use of change master, KILL, PURGE master LOGS, and SET GLOBAL SQL statements. Allows mysq
.... Donechanging ownership and permissions .... DoneRunning postinstall scripts .... Doneattempting to start Webmin Mini Web server: Starting Webmin Serverinch/usr/local/program/webmin-1.750Pre-loaded Webmincore. Done***********************************************************************Webmin has been installed and started successfully. Use your webbrowser to go to http://localhost.localdomain:10000/ andLoginWith the name and password you entered previously.[Email protected] webmin-1.750]# fi
On-line collection CentOS7 configuration static IP method, basically is said in the/etc/sysconfig/network-scripts/ifcfg-eth0 file to do the following configurationType=ethernethwaddr=xx: Xx:xx:xx:xx:xx#only:none, BOOTP, or Dhcpbootproto=Nonedefroute=Yespeerdns=yespeerroutes=Yesipv4_failure_fatal=no# disabling Ipv6ipv6init=noipv6_autoconf=Noipv6_defroute=Noipv6_peerdns=noipv6_peerroutes=Noipv6_failure_fatal=no# nic name=Eth0uuid=Xxxxxxxxyyyyyyyyzzzzzzzzzzzdevice=eth0# Boot auto-start onboot=yes#
;] thensed-i ' s/^selinux= Enforcing$/selinux=disables/' /etc/selinux/config2>1>>/tmp/sys_log.txt if[$?!=0] thenecho " To close the SELinux error, please check the log under TMP "; fielif[ $se _changes== "No" ]then echo "You have chosen not to turn off SELinux";fielseecho " The selinux was detected to be closed "; fiLet's say the script's business logic:
Determine user identity [non-root exit script]
Detect if the server network is healthy [error exit script]
Installing the Rem
Introduction:
Git is an open-source distributed version control system for efficient and high-speed processing of project version management from very small to very large.Installation steps:
Operating System: centos 5.5
Install GIT dependent packages
Yum install zlib-develYum install OpenSSL-develYum install PerlYum install cpioYum install expat-develYum install gettext-devel
Yum install Autoconf
Configure svn version management tools in Centos
It mainly includes:
1. Install svn
2. Create a repository
3. Configure permissions
4. configure the firewall iptables
5 windows and server synchronization scripts
Configure permissions and firewall, which are the most error-prone.
1. Install svn
2. Create a repository
3. modify the configuration file above
4. Modify the Firewall
5 The
loading)Umount [-l][partition] Unload mount-L is expressed as mandatoryworth knowing usage: Mount--bind/home//mnt/The/home/is attached to the/mnt/below, equivalent to the establishment of a soft link, delete/home/this "soft link" will expireThird, VIM editorWhen opening a file, vi +10 filename, move the cursor to line tenth of the fileLook at the line number, with Set Nu; cancel this, use set Nonu1. General modeCommon shortcut keys:Copy: "yy", "10yy"Paste: "P", "5p"Delete/Cut forward: "X", "10x
CentOS System Management _ Basic authority and attribution of the detailed
Linux System Management _ Basic permissions and Attribution-redhat Enterprise 5
Files and directories are the most important in Linux systems, often use the root user login system may not feel, once the use of ordinary users, you will find the right this is a difficult problem, the recen
Label:MySQL can support multiple platforms, such as WINDOWS,UNIX,FREEBSD or other Linux systems. This essay records the process of installing MySQL using source code on CentOS 7. 1. Download the source code Select the image file to use Beiligong: Enter the following command in CentOS 7: wget http://mirror.bit.edu.cn/mysql/downloads/mysql-5.6/mysql-5.6.31.tar.gz 2. Unzip the MySQL source zip file and updat
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.