In general we use the manual backup VPS site on it. Generally old left like 1 weeks to back up the site, such frequency should still be good, for yesterday to share the "database/website files Automatic Timing Backup" method is more important for data, and can not be maintained in front of the computer for a long time.
For example, some friends often travel, back to open the Web site found that the data is not the case, such friends still need to au
The heart of the people must not be. There are always some boring or intentional people on the Internet. I don't have much to say. On dry Goods, configure VPS APF to prevent small traffic DDoS attacks.
For large traffic DDoS attacks, the need for the computer room hardware firewall, the internal VPS may also be unable to carry.
1. Install DDoS deflate
The principle of DDoS deflate is to use the netstat comm
Code
Swapoff-a
Delete a swap partition
The code is as follows
Copy Code
Fdisk/dev/sda
This is similar to the increment operation, except to delete the partition instead, enter D
The code is as follows
Copy Code
Partition number (1-4):
Enter the partition number you want to delete, 2
Enter P to view the partition and has been deleted.
Enter W save exit.
Modify/etc/fstab file, delete/dev/sda2 sw
It is said that now PPTP, L2TP and so on are not very good, and the OpenVPN sometimes seemingly also do not connect (for example, the previous article, on many people can not connect to the reaction installed), this article is about using the OpenVPN Access server free version to build an anti-jamming VPN;
OpenVPN Access Server free version only supports 2 users to connect at the same time, but it is completely OK for your own use, and the installation is very simple. Let's talk about t
I use the putty, follow the operating procedures of this VPS, record these common commands
passwd: Modify Password
Cd:current Directory: access to catalogue;
Eg:cd/home into the home directory; CD/to root directory
Ls:list: Lists the current directory;
Mkdir:make directory: New Catalog;
Eg:mkdir AA
Mv:move: Moving files;
Usage: MV FileName file directory
Rm:remove: removal of files;
wget: Download; Usage: wget download address
Zip:zip compr
Including the old Chiang usually installed in the VPS host a certain environment, because of the different server IP problems, even the same service provider with a computer room, the IP address is different, at the same time wget a file when some of them will not download files. Or when we install a file program, the download speed is very slow through the wget.
There are two possible problems encountered, the first is our server DNS problem
A lot of friends in reading the article can also be installed to use, but there are some users mentioned more complex, after all, for the first contact with Linux users, the input command is a key difficult. So Chiang tidied up to the OpenVZ VPS host based on Ubuntu, Debian, CentOS this 3 release version to install VNC Remote Desktop Tutorial.
First, install VNC one key package
A, Ubuntu (12.04 32 or 64 bits)
Th
Linux VPS Host site for many novice friends, and the user is accustomed to using a virtual host may still prefer to have a Visual Web panel management site is more convenient, at least to see the menu, management site, so it seems more practical. It will be used to some free, paid web panels, and many domestic and foreign panels can be used, in view of the operation of the habit and language familiarity, but also in favor of the use of Chinese panels
Using it for remote management of Linux VPS is very useful, its main advantages are as follows:
Completely free;
Running in Windows is very good;
Fully support SSH1 and SSH2;
Green software, no need to install, download the desktop to build a shortcut to use;
The volume is very small;
The operation is simple, all operations are implemented in a control panel.
Putty Download Address: Http://soft.vpser.net/manage/putty/puttyfile_0.60cn.zip
Download comp
Linux Default login mode is the account and password login, if you change to use a key to log in will be relatively safe, but the key to landing a good and bad, want to login VPS must carry a key file, if modified the default root username also need to modify the corresponding corresponding relationship is more cumbersome.Okay, here's how to log in with a key.
Preparatory work:
mkdir. SSHTouch/root/.ssh/authorized_keys
1. Create a lock and a key
R
First, modify the SSH portVi/etc/ssh/sshd_configFind the #port 22 (line 13th), remove #, and modify to Port 3333Use the following command to reboot the SSH service, note: Log in later with the new port.Service sshd RestartSecond, the prohibition of root landingFirst add a new account 80st, you can customize:Useradd 80stSet password for Weidao account:passwd 80stStill modify the/etc/ssh/sshd_config file, line 39th: #PermitRootLogin Yes, remove the front # and change Yes to No, then restart the SS
VPS Scheduled BACKUP DATABASE command, save the following code as BACKSQL.SH, and then set the scheduled task to run.cd/home/admin/Backup #切换到备份目录btimes=$(Date+%y%m%d%h%M) #定义备份时间agobtimes=$(Date-d-7day +%y%m%d%h%M) #定义删除七天前的备份RM-RF Allsql/vps_all_db_$agobtimes.Tar. GZ #删除操作 forDbinch'/usr/bin/mysql--user="Root"--password="123456"-b-n-E'SHOW DATABASES'|Xargs` Do(/usr/bin/mysqldump--user="Root"--password="123456"${DB} | /bin/gzip-9-> allsql/${db}.sql.g
:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.Is you sure want to continue connecting (yes/no)? Yeswarning:permanently added ' github.com,192.30.253.112 ' (RSA) to the list of known hosts.Permission denied (PublicKey).---------------------------------------------------------------------------------------Change the rookie tutorial to start over and failChange a VPS Follow the rookie tutorial re-knock on the success.[Email protected]:~# Groupadd Git[email
VPS uses LNMP to install WordPress and vpslnmpwordpress. VPS install WordPress with LNMP. vpslnmpwordpress preface a few days ago, a friend had an idle vps and MB of memory on his hand. I decided to give it a try. After some thought, I still used to install WordPress and vpslnmpwordpress with LNMP for the remote VPS.
P
Subversion (SVN) is a famous version control software. It is especially suitable for controlling and managing software source code through the Internet in different places. Recently, I plan to work with my colleagues to develop something, so I decided to fully explore the favorable resources of our Linode VPS and install the SVN service terminal on the VPS. In this way, we can remotely develop software thro
For PHPnow websites made in VPS, the CPU is easily up to 100% nbsp; PHPnow nbsp; for websites made in VPS, the CPU is easily up to 100% and it seems there is memory leakage. the system is WIN2000. how can this problem be solved ........? For PHPnow websites in VPS, it is easy for the CPU to reach 100%
For PHPnow websites in
After my vps vm is upgraded to 2008, it seems that the speed is slower, and the CPU is usually increased to 100% after refreshing the page. However, volcano interconnection does not provide CPU restrictions. How can we know the vps cpu limit? Although we cannot log on to the HOST server to view the parameters, we can estimate the CPU frequency by letting the CPU perform the calculation.
We need to use a so
We choose overseas VPS whether it is to build a station or use for other project tools, from the cost, configuration and other cost-effective or have a great advantage, but because of physical distance, the stability of the line and other issues, there may be man-made or the difference in the line will make the speed of the target is not up to our requirements. Especially in the evening and some of the line stability is not enough, in many non-human c
As we buy Xen VPS will be directly logged on to the root and then install the Panel or a key to build the station, the site may be small data or the beginning of the stage can not find the problem, as time goes by our site data will gradually increase, and then there will be a variety of problems original data disk occupied, The inspection found that we only used about 10G to fill up the disk, but we purchased the
Good network, a Chinese host provider, to provide based on Xen architecture of Hong Kong, the United States virtual host, VPS, servers and other business products. The main business is Hong Kong Shatin and the United States Nextecloud room, this is not official lost a test machine to prepare through the regular VPS evaluation data to record the performance of this VPS
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.