Nginx is a high-performance HTTP and reverse proxy server and a IMAP/POP3/SMTP proxy server. The concurrency capabilities of Nginx do perform well in the same type of Web server. Nginx is available in some Linux distributions and in various variants
With VirtualBox installed under Windows 7, and then VirtualBox virtual installation of CentOS 5.6, now you want to access some files in Windows under CentOS, you need to configure the data space in VirtualBox:
VirtualBox 4.0.8
How does the CentOS server add permanent static routes?
One, Linux add permanent static route
Method One: Modify the rc.local configuration file
Scope: Test Ubuntu 14.04, CentOS 6.4, Debian 8.1, Redhat 6.4 system available
How to use:
1. Add a
Netstat command and awk to view the number of concurrent connections to the Web server and the TCP connection status.
The code is as follows
Copy Code
Netstat-n | awk '/^tcp/{++s[$NF]} end {for (a in S) print A, s[a]}
Install Webmin Control Panel
Introduction:
Webmin the port used by default is 10000Vi/etc/sysconfig/iptables #开启防火墙的10000端口-A input-m State--state new-m tcp-p TCP--dport 10000-j ACCEPT/etc/init.d/iptables Restart #重启防火墙使配置生效Service Iptables
I am very like to like the panel, since playing VPS, the first installation is Webmin! Feelings to deep, including my blog is also installed Webmin, the optimization is very good!
For Webmin optimized open VZ VPS is more powerful than Xen VPS
One-click to build PPTP VPN scripts
Download Centos6.2 a key to build a PPTP VPN script
The code is as follows
Copy Code
#wget http://www.hi-vps.com/shell/vpn_centos6.sh#chmod a+x vpn_centos6.sh
Install Centos6
This article describes in detail the IP and DNS setting method under CentOS. Share to everyone for your reference, specific as follows:
1, CentOS Modify DNS
To modify the DNS profile of the corresponding network adapter
#
centos7+nginx1.11.7+mysql5.7.16+php7.1.0+openssl-1.1.0c
Linux System Limited Configuration
1, shut down the system firewall
Systemctl Stop firewalld.service shutdown firewall
systemctl Disable firewalld.service Disable firewall
2.
Introduced
When we configure CentOS, many cases need to be able to extranet, then need DNS parsing function, the default is not configured DNS information, so we have to configure DNS information
Cause
We are in search of CentOS configuration
Today in a PC installed CentOS 7, then chose the minimum installation mode, the installation is completed immediately with ifconfig view the IP address of the computer (LAN already has DHCP), found an error, prompted Ifconfig command did not find.
Introduction of Fail2ban
Fail2ban can monitor your system log, and then match the log error message (regular match) to perform the appropriate shielding action (usually firewall), and can send e-mail notification system administrator, is not very
Describes how to use the Yum configuration installed under the CentOs6.2 lamp environment, some brothers also like to use the installation method of compiling, personal feel if not to the server to do custom, with Yum installation stability simple,
http://blog.51cto.com/hj192837/1546149You should has odd number of real nodes.Node #1Hostname:percona1ip:192.168.70.71Node #2Hostname:percona2ip:192.168.70.72Node #3Hostname:percona3ip:192.168.70.731. Disable SELinux and iptablesService Iptables
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.
CentOS 7.4 Build LampLamp:linux, Apache, MySQL, PHPDirectory:The first part of the preparatory workSecond part installs Apache serviceThe third part installs the MySQL servicePart IV builds PHP operating environmentPart V Lamp Architecture
There are a lot of ways to start booting under Linux , and here I use the way I write shell commands in /etc/rc.local .Here is my actual operation as an example, many places need to crossing themselves to adjust the information Oh!1. In the
Readvnc software Download: http://down.51cto.com/data/22709371. Install the VMC service with Yum.# yum Install tigervnc-server-y2. Edit the VNC service configuration file.Vi/etc/sysconfig/vncserversMy computer has two user root and Roott.A User
Alias simplifies complex command strings so that a single word or a simplified command can implement complex (usually long strings with many parameters) commands.Basic usage:Alias Simplify command = ' actual long string command '//actual long string
Port ing/port forwarding in CentOS
= [Implementation goal] ==============================
[Server A] has two NICs, one connected to the Intranet and one connected to the Internet. [server B] only has one Intranet Nic;
Access Port 7890 of [server A]
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