Vps security settings, server security dog
It is suitable for new users and friends who have access to VPS. It focuses on VPS security.
Prohibit ROOT login to ensure security;
Use DDoS deflate to defend against attacks;
Iftop Linux traffic monitoring tool;
Automatically backs up VPS to FTP space every day;
Upgrade NGIN
established,related-j ACCEPTIptables-a input-p tcp-m multiport--dport, $ssh _port-j ACCEPTIptables-a input-p ICMP--icmp-type 0-j ACCEPT/etc/init.d/iptables SaveExit 0Remember to cancel the task plan in step ① after confirming the error.Like my VPS firewall rules are as follows:
Iv. Other security settings
①, Ban Ping
Execute the following command:
Shell
Echo 1 >/proc/sys/net/ipv4/icmp_echo_ignore_allT
Cloud server and virtual host, VPS are space products, virtual host is the first development of the basic space products, VPS is based on the virtual host derived from the configuration of a separate IP address of the better virtual space, cloud server and VPS is the most similar, is also based on the virtual host developed, More powerful in terms of performance
test performance.
The code is as follows
Copy Code
Update 2016 New Year activities: [Standard] OpenVZ SSD, KVM SSD program use "
NEWYEARS25" Discount code to enjoy 75 percent
First, Ramnode cheap KVM VPS Purchase Process
1. Official website
The code is as follows
Copy Code
Ramnode Of
SSH key logon makes centos servers in VPS more secure
As PHP becomes more and more popular, Linux VPS/servers are used more and more, and Linux security issues need to be strengthened. If you have installed DenyHosts and set up email reminders, you may receive several DenyHostsReport messages every day to add the IP address that is used to crack the SSH password to/etc/hosts. deny.
There are two types of Li
Although we now buy VPS host cost is very low, but as far as possible to save cost consideration, or in order to just project testing and learning, we will choose to buy small memory, cheap VPS host program. Especially like to toss the netizen, we can see a lot of 32MB, 64MB small Memory VPS Host site cases and tutorials, the old Chiang also through a series of a
Use VNC to access the XWindows desktop of VPS
Generally, VPS provides SSH Login mode. In addition to this method, you can use terminal to operate the server. In addition, VPS also has the XWindows Desktop operation mode.
Here is a summary of how to use VNC to access the Linux Desktop System on VPS.
Cloud Valley script and then quickly create the VM.Often see Zhao Jong tribe or buy the people IDC sells the VPS of children's shoes, may often see Xernsystem or Idcsystem, this is Cloud Valley developed a XenServer system based VPS Management system, in this article, we only use its import and download template script.Official XenServer Introduction page for one-click Deployment script: http://www.chinaho
Build shadowsocks in CentOS in VPS
First, we will introduce several good VPS products:
DigitalOcean
Bricklayer
Linode
Detailed operation instructions for Linode:
After the Linode account is bound to a credit card for activation, you can create VPS. It is worth noting that the control panel of Linode is more complex, and of course it comes along with more p
In general, VPS virtualization technology, there are Xen, OpenVZ, Xen HVM and VMware These kinds of, then, how to determine your VPS is based on what kind of virtualization technology?1, execution: ls/proc/command, General Xen Vps,/proc directory below will have Xen directory, OpenVZ will have vz directory.2, execution
viewing mysql-server dynamic status information
Mysql> show status;
Or mysqladmin-uroot statusShow status is divided into show [session | global] status. you can add the parameter "session" or "global" as needed to display the session level (current statistics) and the global-level statistical results (since the last time the database was started). If no data is written, the default value is "session"
1. view and modify the default storage engine and
One, prepare to work
1, login into the VPS Control Panel, ready to reboot the VPS at any time.
2, shut down the Web server first, too much load will cause the subsequent operation is difficult, or even directly unable to login SSH.
3, just in case, the setting of the Web server system started automatically run away.
(If you can not log in to the system, and r
Many times, in some cases, due to the increasing number of Web site data, resulting in sometimes, our website access speed has become very slow, a lot of people usually think that the site is a problem, or poisoning ah, is caused by the attack, in fact, a lot of time, Just because we have not been able to optimize our VPS host on the MySQL database caused by. This article explains in detail how to configure the MySQL configuration file for your
configuration
As long as you can complete the above process, the other is relatively simple, is just some configuration environment, set account password, in fact, the old left is also relatively strange, why in the background have mentioned to prepare their own serial number, here in the installation of the time did not mention it, and I was installed before the article was able to use, is there any skill in?
The system will automatically reboot during the installation, we wait.
T
(a) the website environment constructs
First of all, is the website environment Choice, at present the more popular has LNMP, lamp, WDCP, AMH, Lum and so on, here I choose is the military elder brother's Lnmp newest version (www.lnmp.org).
1, the VPS system reload. (If it is a newly opened VPS or has been reset, you can ignore this step.) )
First
SolutionDuring VPs startup, stop, backup, recovery, and other typical operations, the VPs will be locked first.When the VPs is locked, the VPs cannot beProgramOperatedTo avoid conflicts between other operations and the current operationAfter the operation is completed, the lock is automatically released.
For example,
1 * * 5 sh/root/back.sh
Set up 5 1 o'clock in the morning 30 days a week to perform a script backup and send mail. Specific crontab usage can refer to here (Linux vps/server crontab scheduled task settings and crontab writing format).
V. BACKUP DATABASE Script Summary
general, so I do not choose.3, the system I choose CentOS7 64BIT.Second, the speed record before installing BBRHere we do not install the BBR, with the tool test to see without installing BBR vultr VPS Simple performance.1. Ping speed2. Video speedHere after the 1080P or compare cards, the basic can not play. The speed is 394Kbps.3, random node download speedThird to first key installation installation Bbr
price.Below, take the VPS of my blog as an example, introduced in 128M memory to Nginx 0.7.x + PHP 5.2.6 (FastCGI) + MySQL 5.1 optimization.As for Nginx + PHP + MySQL installation configuration, see: "Nginx 0.7.x + php 5.2.6 (FastCGI) build 10 times times more than Apache Web Server (4th edition)"
Optimized effect:1 Nginx processes that provide HTTP services occupy 11M of physical memory, 5 php-c
is as follows:Copy code After logging on to the console, select the host to be managed in "submodules" in the upper right corner (if there are multiple hosts), select the "System" tab, and click "File Manager, go to the root folder and find the "user_password" file, which contains our root information.Old Left comment: these details are still troublesome for common users. If we need to use the root permission, we need to switch to sudo. The password is the
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.