I think now everyone contact with the VPS for a long time, also know that the Internet is ddos,cc is the norm, in the absence of hard defense, looking for software replacement is the most direct method, such as with iptables, but iptables can not be automatically shielded, can only be manually shielded, Today, I would like to introduce you to a software that can automatically block Ddos,cc,syn attacks: DDoS Deflate.ddos deflate official address: http:
actual transceiver is also in the free post Office, the use of more Tencent mailbox's domain name post office function. The second method is that we use the host, the server to set up the environment, and then bind the domain name to build. In this article, the old left to share is the use of Vesta free VPS panel with the Post Office webmail function, we can also set up a separate domain name post office.
First, Vesta set up the post Offic
However, after VPS is involved, it is not just about backing up MySQL, but also about backing up some independent site data.
If there is a reliable third-party Linux host or cloud storage like Amazon, it is much simpler, and Linux-Linux backup is very convenient.
However, I want to run a backup every day or every week in my Windows 7 environment.
The general idea is as follows: Connect to the VPS using pli
Windows Remote SSH Login VPS to manage the weapon is PuTTY, but there is no need for Linux to use it. Linux, Unix (including Mac IOS) must have a built-in command-line terminal, built-in OpenSSH instructions. It is more convenient to log on to the Linux system on the VPS.Open the command line terminal in Linux, enter the instructions directly,ssh You will be prompted to enter a password to log in. You can also use the graphical interface, and if the s
PuttyQuery the "TEST" keyword in log text" Test " LOG.LOG.BAK2Ls-h Querying All FilesLs-l Querying all directoriesCd.. Back to upper levelCD h Enter h directoryThe biggest difference between Linux VPS and Windows VPS is that almost all operations are implemented via SSH commands, which is the biggest highlight of Linux system, no matter what the operation only need to tap a few keys to OK, but so many comma
First, CPU, memory, hard drive detectionCat/proc/cpuinfo (view CPU information) Cat/proc/meminfo (view memory information) DF-LH (view hard disk information)This command can see whether the VPS CPU information we have purchased is the same as the official standard, and sometimes it tells us the difference from the actual detection.Second, HDD IO performance testDD If=/dev/zero of=test bs=64k count=4k oflag=dsyncdd if=/dev/zero of=test bs=8k count=256k
If we use the U.S. VPS Host Station we will find some VPS, some sites submitted time and we are different, the adoption of the United States time, rather than the Beijing time we need, this problem is mainly due to the current VPS system time zone settings problem. We need to manually adjust to solve the problem.
First step, modify system date
Date-s 04/09/2014
the Redirect is mainly to the domain name a jump to domain B, more often than not with the domain name of the WWW jump to the domain name with www, then 301 redirect how to do it, this article detailed introduction of the 301 redirect practice, the following is divided into Linux host, Windows host and VPS host three kinds of circumstances tell (all to the site domain name yedward.net jump to www.yedward.net this as an example):
(i) Linux host
For
will have a lot of time waiting for hard disk IO, seriously affecting the response speed of the server.
(2) Other VPS on the same server will be affected (unless the same hard drive is used).
5,* Note that you distinguish between "use swap" and "swap":
(1) Using swap, means that the data is stored in swap, is a fixed state, does not occupy hard disk IO.
The following figure, although the system occupies 13M of swap, but no swap swap.
(2) Swap is th
(Needed 96681984)160919 2:47:35 [ERROR] mysqld:out of memory (Needed 72499200)160919 2:47:35 [note] Plugin ' FEEDBACK ' is disabled.160919 2:47:35 [ERROR] unknown/unsupported storage Engine:innodb160919 2:47:35 [ERROR] AbortingSolve
When viewing memory information using FREE-M, the swap partition size is found to be 0. No wonder that the database server can not start, in the case of insufficient memory, and can not use the swap partition, natural collapse. Because the
But after the toss of the VPS, it is not just to back up MySQL, some independent site data also need to back up.
If you have a third-party Linux host or Amazon-like cloud storage, it is much simpler, linux-linux backup is convenient.
But I want to run a backup every day/week under my Windows7, and I have this gadget.
The approximate idea is as follows:
Use Putty to connect to VPS with Plink.exe, run back
When installing AMH, the memory 121mb,swap swap partition is only 127MB, memory is too small to install, and then look for information on the Internet, found that can give Xen or KVM architecture of the VPS to add swap, the operation is very simple.
We'll use the DD command here, so let's take a look at the DD command parameters
DD commandFunction: Copies the specified input file to the specified output file, and can be converted to format during th
First, view the current primary IP
The default VPS uses the "eth0" network card, and automatically binds the VPS primary IP.
Ifconfig
You can view the primary IP information from the above command, as shown in the following illustration.
Second, binding additional IP
1, in the VPS panel to see additional IP, click IP for more information
2, access to th
If you need to detect whether the VPS you purchased and use is true Xen, we can test it in the following ways. The more professional is to use Virt-what script to detect.Detect whether a Linux VPS is a Xen, OpenVZ, or KVM fake methodHere's how:WGE thttp://people.redhat.com/~rjones/virt-what/files/virt-what-1.12.tar.gzTar zxvf virt-what-1.12.tar.gzCD virt-what-1.12/./configureMake make installRun Virt-whatD
Someone said why don't you back up? This question I also considered ah, in fact, you have not thought about such a foreign VPS what, back up all the site how to say also have to Baixin trillion it.
You can't download it every day? This bandwidth can not stand, even if the bandwidth is sufficient, perhaps the VPS will also let you download the day to hang.
Ok~ cut to the point, the first to say that this f
In view of our VPS security, old left advises everyone in order to maintain the security of the VPS, it is also necessary to modify the root password for some time. VPS Management Platform User background If you do not modify the root password, it does not matter, we can use SSH direct modification, a word command can be completed. It takes only two steps to comp
Since the beginning of the use of VPS is particularly important to focus on data security, whether we use the Web panel, or the use of a key to install the package, or even directly compile the environment, we can choose to manually backup on a regular basis, you can also use the Web Panel with the Backup tool. Today, a user mentioned the backup of the LLSMP environment, so in this article, the old left to share the blog once had an automatic backup s
We need to do some basic security when we have a VPS or server that has a Linux system open.
There are probably several areas:1. Prohibit root account ssh, use custom account ssh;This way, the hacker must first guess the account number, then can guess the password;2. Prohibit account login, use PubKey login;3. For IP ACLs, allow only a few specific IP access;4. SSH port Migration, change the default 22 port to other ports;5. Start as little service a
Here's how to configure my configuration
First install LIUNX VPS Remote Management tool, here I use is: [SSH Secure Shell Client 3.2.9]After installation, open: SSH Secure Shell Client. Click Quick Connect. Enter information about your VPS in the dialog box that pops up.
(Click to view larger image)
When you are finished, click Connect. If you fill in the wrong words. A password entry box will pop up.
Small VPS is limited by the system resources, the traffic is too large, more than the system can withstand the limit, a part of the request will be 502. In the case of adequate system resources, optimizing NGINX,PHP-FPM, as well as the system itself, achieves 2 purposes:
1, reasonable allocation of system resources, the limited resources to maximize utilization. Good steel is used on the blade.
2, minimizing disk I/O
First, the system main resource
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.