Build xl2tp server in CentOS 7.2 and build xl2tp in CentOS
# Download the xl2tpd.tar.gz source code package
'''Wget http://pkgs.fedoraproject.org/repo/pkgs/xl2tpd/xl2tpd-1.3.8.tar.gz/d244fdcd88f64601b64b7302870afca8/xl2tpd-1.3.8.tar.gz'''
#2. Install xl2tpd and libreswan
'''Tar-zxvf xl2tpd-1.3.8.tar.gzCd xl2tpd-1.3.8Make make installIf "contrib/pfc. c: 14: 23:
/gitosis-admin.git or # git clone SSH: // [email protected]: 8200/gitosis-admin.git # modify the configuration file, you can omit each input port Vim ~ /. Ssh/config # modify the client ~ /. In the ssh/config file, add the following code: Host www. domain. comhostname www. domain. comport 8200 # after modification, the client can be connected in the following way # git clone SSH: // [email protected]/gitosis-admin.git # upload the public key to the server
Description
Operating system: CentOS 6.x
IP Address: 192.168.21.188
Implementation Purpose: Synchronize the contents of the CentOS mirrored site to this server, and by configuring the HTTP server, can provide Yum services outside
Prepare the article:
First, install HTTP server
Set up an FTP server using CentOS and set up ftp using centos1. Install vsftpdYum install vsftpd2. Edit iptablesVi/etc/sysconfig/iptables-A input-m state -- state NEW-m tcp-p tcp -- dport 21Service iptables restart3. Configure vsftpdVi/etc/vsftpd. confAnonymous_enable = NO // you are not allowed to access anonymous users.4. Add an ftp userVi/etc/vsftpd. confChroot_list_enable = YESChroot_list_file =/etc/vsf
#65279; after multiple servers are installed on Centos6.5mini, some basic software packages need to be installed from the Internet yum, which is time-consuming and traffic-consuming. You can build a YUM server on the LAN to solve this problem. Steps are as follows: server-side installation configuration: 1. Upload The CentOS-6.5-x86_64-bin-DVD1.
Server installed PHP 5.6 will be prompted with insufficient memory, installation failed!
It is strongly recommended that you increase the swap partition regardless of the amount of memory.
Increase the 1024M swap space on the 512M Aliyun service
Specific actions:
1, DD If=/dev/zero of=/tmp/swap bs=1m count=2048 #创建1024M的文件块
2, Mkswap/tmp/swap #创建swap文件
3, Swapon/tmp/swap #激活swap文件
4, Swapon-s #查看swap
5, modify the/etc/fstab file, add the foll
Eight security setting skills for CentOS server to ensure Apache Web Server Security
Apache server is an open-source WEB Server supported by the Apache Software Foundation, a non-profit organization. Many of our virtual hosts and VPS use the Apache
Install Nginx server and centosnginx server on CentOS 7
Next I will record my Nginx installation experience on CentOS for future reference.
1. Download The nginx-release package
Take CentOS 7 as an example, download nginx package: http://nginx.org/packages/
Network Time Protocol (NTP) is used to synchronize the system time of different hosts on the network. All hosts you manage can synchronize their time with a specified time server called an NTP server. On the other hand, an NTP server synchronizes its time with any public NTP server, or the
Configure PXE network startup server in RHEL/CentOS 7
PXE Server -- pre-start execution environment -- instructs the client computer to Start, Run, or install the operating system directly from the network interface, without burning a CD/DVD or using a certain physical media, it can reduce the workload of installing the Linux release on multiple machines on your
CentOS builds Yum source server through http
After centos mini is installed on multiple servers, you need to install some basic software packages from the Internet yum, which is time-consuming and traffic-consuming. You can build a YUM server on the LAN to solve this problem. The procedure is as follows:
The
CentOS WEB Server partitioning solution, centosweb
Parsing the actual size of a partitionSWAP partition 2 GB (memory is 1 GB, usually 2 times of memory)/1G-2G (minimum 150-250 MB)/Boot 32 M-100 M (boot partition, up to M)/Opt 100 M-1G (Additional Application)/Tmp 40 M-1000 M (the maximum value can be set to around 1 GB. If you load an ISO image file, set it to ar
Build RAID5, LVM, and SAMBA server (5) on CentOS 7 -- set up SAMBA Server
Build RAID5, LVM, and SAMBA server (5) on CentOS 7 -- set up SAMBA Server
6. Set up a SAMBA Server6.1. PreparationsThe task in this section is to configure
Environment:
Virtual Server:
CentOS 1, 5.4
192.168.10.6
VM:
CentOS5.4
192.168.10.8
The Virtual Server XEN is installed using yum, and the virtual host is installed using virt-install.
Steps:
1. To facilitate the operation, replace the default yum source of the system with the source of HKUST, which is faster in China.
Cd/etc/yum. repos. dMv
Installing Domino server on a Linux system is a small challenge, in fact, not everyone think of the complex, since it is commercial software, OEM has been for us to solve the difficulty of installation, there is to choose their own familiar with the Linux distribution, each distribution version of the operation there is a certain difference, Here, choose the latest CentOS 6, and try to install it on the
Installation and configuration of rsync server in CentOS 6.3
I. Introduction to rsync
Remote synchronize (Rsync) is a remote data synchronization tool that allows you to quickly synchronize files between multiple hosts through the LAN/WAN, or use Rsync to synchronize different directories on the local hard disk.
Rsync is a tool used to replace rcp. Rsync uses the so-called "Rsync algorithm" to synchronize f
Step1. Installing the Client Software
When you log on to the CentOS cloud server from a local Windows machine, you need to establish a connection using the client software.It is recommended that you log on using SECURECRT, putty clients.
Install the SECURECRT client on the local machine, and then start.
Step2. Log on to the CentOS cloud
This article introduces how to install the latest nginx and socks5 Proxy server dante-server method in CentOS.
Generally, we can use yum install nginx in CentOS to install nginx. However, the nginx installed is not the latest. How can I use yum to install the latest nginx version?
1. Edit the/etc/yum. repos. d/nginx. r
), you can log off this line, or directly write the directory of the www.osyunwei.com/:/tmp/: wq! #保存退出
/etc/init.d/mysqld Restart #重启MySql/ETC/INIT.D/HTTPD Restart #重启Apche
Test article
Cd/var/www/htmlVI index.php #输入下面内容
: wq! #保存退出
Enter the server IP address in the client browser and see the relevant configuration information as shown in the following figure!
NOTE: The Apache default program directory is/var/www/html
Permissi
configuration file.
DHCP server settings
Install server software
[root@centos ~]# yum install -y dhcp
Check which important files are provided by the dhcp Software
[root@centos ~]# rpm -ql dhcp/etc/dhcp/etc/dhcp/dhcpd.conf/etc/dhcp/dhcpd6.conf/etc/openldap/schema/dhcp.schema/etc/portreserve/dhcpd/etc/rc.d/init.d/dh
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.