Let's take a look at an article about CentOS installation VPN pptpd firewall iptables forwarding settings, this problem is because a friend set up some of the Web site can not be accessed when the solution came up.
CentOS installation VPN appears
CentOS 7 firewall-cmd Command
In CentOS 7
Open FTP Service temporarily# Firewall-cmd--add-service=ftp
Permanent Open FTP Service# Firewall-cmd--add-service=ftp--permanent
Permanently closed# Firewall-cmd--remove-service=ftp--permanentSuccess
Rsync is a data mirroring Backup tool under Unix-like systems, which can be seen from the name of the software--remote syncits characteristics are as follows:Can be mirrored to save the entire directory tree and file system.It is easy to maintain
/etc/sysconfig/network
Used to set the "host name (HOSTNAME) and start network or not"
Generally, the host name takes effect after the reboot.
If you set up a gateway here, but you also reconfigure the gateway elsewhere and make it effective, use a
One: Use CentOS common commands to view the CPU
More/proc/cpuinfo grep "model name"
grep "model name"/proc/cpuinfo
[Root@localhost/]# grep ' CPU '/proc/cpuinfo
Model Name:intel (R) Pentium (r) Dual CPU E2180 @ 2.00GHz model Name:intel (R) Pentium (r)
First, the installation of Fastdfs must be installed before libevent, installation libevent steps as follows:
1. Download Libevent:
wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz2. Decompression Libevent:
TAR-ZXVPF
Environment: CentOS 5.2 (two units)
Rsync Server ip:192.168.1.114
Client ip:192.168.1.115
1. Install rsync and manage rsync via xinetd
Yum Install rsync xinetd
2. Modify the/etc/xinetd.d/rsync file so that it starts with
1 See if mysql rpm-qa|grep-i MySQL is installedIf installed please uninstall: Rpm-e--nodeps MySQL ...2, do not install the following operationsDownload MySQL rpm tar package https://dev.mysql.com/downloads/mysql/format for RPM best contains all
In production, the habit is as follows:Useradd, the default is to add a new user to the user group with the same name. For example, Useradd zhouls, after this command is executed, is added to the Zhouls user group with the same name by
System Environment: Windows Ten Prosoftware version: VMware ProInstall Image: Centos-7-x86_64-everything-1804.iso:https://www.centos.org/download/1. Click Create a new virtual machine and select typical. 2. Click Browse and select Image file3.
Configuring the firewall under CentOS configure NAT forwarding service iptables firewall under CentOSLinux NAT (iptables) configurationCentOS under Configuration iptables1,vim/etc/sysconfig/network You can change the host name
Generally, you can log on as the root user to configure the system as Administrator by executing the "Su-" command and entering the correct root password. However, in order to further enhance the security of the system, it is necessary to establish
Objective: To use LDAP as the data directory of the System user and manage LDAP data based on the Web.
InstallTo use yum for installation, you must install Apache, PHP, and LDAP software packages to manage the LDAP server in Web mode. To verify
For those who often use centos, the yum that comes with it is very useful. Can their fellow brother rhel5 also install yum? I found a piece of information on the Internet and found that this is completely achievable. Let's take a look at his
I. Installation
# Yum install httpd
Ii. Question about the Chinese file name
Run the RPM command to install mod_encoding. in Linux, Apache supports Chinese names.---------------------- RPM installation mod_encoding ------------------------In Linux,
A: RPM package,This type of software package is similar to the windows EXE Installation File. Various files have been compiled and packaged, And the folder to which the files should be put is specified, which is very convenient to install, in the
I. WEB server and Apache1. web servers and URLs
2. Apache history
3. Supplement
Http://www.netcraft.com/market share of apacheserver
At the same time, it must be noted that ngnix is in a period of strong growth, and it is a great feeling of
NameDfSyntaxDf [-options]Parameters-A: displays the disk usage of all file systems, including 0 block file systems, such as/proc file systems.-K is displayed in k bytes.-I: displays the I node information instead of the disk block.-T: displays the
Set up email service in CentOSCyrus-sasl account authentication (local)Send email with postfixReceive email from dovecotI. System configurationAll account emails are stored in the system/data/% U DirectoryModify the user template and add a new user
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.