System Environment: CentOS 7MARIADB version: Mariadb 10.0.14Download Address: http://mirrors.neusoft.edu.cn/mariadb/mariadb-10.0.14/source/mariadb-10.0.14.tar.gzOther Package Address: https://downloads.mariadb.org/
Add a MySQL User
Useradd MySQL
Always use the ifconfig command to view network connections in CentOS, including IP address, MAC address, network connection status, and so on. Upgrade to CentOS 7 after the ifconfig can not find, the original instructions have been discarded, using
This script applies to the environment:System support: Centos/redhat/fedoraMemory Requirements: ≥128mDate: May 05, 2014
About this script:One-click to install the latest version of the Shadowsocks Nodejs version, while the installation of
The approximate process is:
First install VSFTP.
1 Installation vsftpdYum Install vsftpdPress Y to enter, the system installs automatically/ETC/INIT.D/VSFTPD Start #启动vsftpdService VSFTPD Restart #重启Service VSFTPD Stop #停止Chkconfig vsftpd on
System:CentOS 6.4 default mail is pointing to MailxCentOS 5 Series is not clearRequired Packages: mailx-12.4.tar.bz2
1. Uninstall SendMail or Postfix
The code is as follows
Copy Code
Yum Remove sendmail-yYum Remove
To view the version of the CentOS kernel:
1) [Root@localhost ~]# cat/proc/version
Linux version 2.6.18-194.el5 (mockbuild@builder10.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Fri A PR 2 14:58:14 EDT 2010
2)
View the current system Jdk:rpm-qa | grep jdk
The results obtained:
The code is as follows
Copy Code
[Root@dc-01 java]# Rpm-qa | grep JDKjava-1.6.0-openjdk-1.6.0.0-1.45.1.11.1.el6.i686
Uninstall OPENJDK:
Entos's official source removed some copyright-related software, so you want to install the software or download the installation manually, or use a different source. I recommend the two commonly used sources, which can basically meet the needs of
Before setting ftp rules through iptables, you must first understand the two modes in which ftp works: Active mode and passive mode. If you are not clear about the ftp principles, refer to the following articles.FTP overview1. Differences between
Create a version Library folder# Mkdir-p/data/svn/sinsvnCreate a version Library# Svnadmin create/data/svn/sinsvn# Mkdir-p/data/www/sinsvnImport the project to the version library repository.# Svn import/data/www/sinsvn/file: // data/svn/sinsvn-m
Recently, a shared server in the company experienced a fault. Previously, it was used as a shared server of windows server 2003. Therefore, we wanted to re-build a shared server and use CentOS 6.5 + Samba.1. Install Samba1. Use yum for installation.
Overview:Vsftpd is a well-known FTP server in Linux. Of course, it is preferred to build an FTP server. This article describes how to install vsftpd in CentOS 6.4 and configure a virtual user to log on to FTP.Install vsftpdCheck whether vsftpd has
Configure Rsync first, as mentioned in the previous section.InotifyInstall and configure the inotify serviceBuild the inotify service on 8.8.8.1101. Download and install The code is as follows:Copy code Wget
Note:The latest version of CentOS 6.x is CentOS 6.8. The following describes how to install and configure CentOS 6.8.The server settings are as follows:Operating system: CentOS 6.8 64-bitIP address: 192.168.21.129Gateway: 192.168.21.2DNS: 8.8.8.8 8.4
During server O & M, we usually use Zabbix for monitoring. Here we install and configure monit. When the process is detected to be stopped, the process can be automatically started.We recommend that you use the rpmforge source to install monit,
The rsync directory is mainly used for file synchronization. Now, record the configuration used.2 Test machinesRsync server IP: 192.168.171.22Client IP: 192.168.171.134Rsync server operationsCheck whether rsync is installedRpm-qa | grep rsyncInstall
Usage of the chattr command:Chattr [+-=] [ASacdistu] [file or directory name]Parameter description:+-=: [+ Add] [-decrease] [= Set] attribute meanings respectivelyA: the access time of the file (or directory) when the attribute A is setAtime (access)
In Alibaba Cloud CentOS, you need to import an SQL file to the database, use wget to download the SQL file, and use the source command to import the SQL file.① First, log on to the database:[Root @ iZ94r80gdghZ tanteng. me] # mysql-u root-pEnter
Lrzsz uploads and downloads ZModem files on Linux/Unix platforms and Windows. It is very easy to use command line tools and is much easier than FTP tools.Sz: send the selected file to the local machine;Rz: When you run this command, a file selection
You can modify the image address in either of the following ways,1. Install yum-fastestmirror to automatically select the fastest image to download2. Change the image download address and select the image download address in China.Note that after
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