VPS or server often need VPS or server often need to regularly backup data, scheduled to restart a service or scheduled execution of a program and so on, generally in Linux use crontab,windows below is the use of scheduled tasks (win is the graphical interface setup is relatively simple), The following mainly describes the installation and use of crontab on Linux vps
Client-side method to back up data
1, install and configure Dropbox Linux client
Install Linux command line version Dropbox on VPS:
32-bit:CD ~ wget-o-"https://www.dropbox.com/download?plat=lnx.x86" | Tar Xzf-64-bit:CD ~ wget-o-"https://www.dropbox.com/download?plat=lnx.x86_64" | Tar Xzf-After the download is complete, run Dropbox
~/.dropbox-dist/dropboxd
The first time you run the command, you are prompted to access the URL, and you can bind t
I personally feel that this platform has poor autonomy, whether it is for customers or carriers. For customers, this platform is a virtual operating system and cannot be set on their own in many aspects. It is typical of Windows virtual memory management, which is not good. For sellers, the operation of this platform is inseparable from the support of swsoft. Of course, small-scale operators do not have enough technical strength to maintain the platform, but they must still be unable to do witho
Personally feel the platform is less autonomous, whether it is to the customer or to the operator. For customers this platform is a virtual operating system, many aspects are not autonomous settings, typically Windows virtual memory management, very bad. For businesses, this platform can not operate without swsoft support, of course, the smaller operators do not have enough technical strength to maintain, it is certainly inseparable from this price is not the "support" of the Philippines, but fo
In fact, VPS is basically the same as an ordinary independent Linux server in terms of use, because the current virtualization technology and very mature, but there is a big difference between VPS and single server, that is, system resources and performance. Generally, a VPS is composed
In fact, VPS is basically the sa
the root permission. Users can reinstall and upgrade the operating system. However, VPs host users do not have the root permission and cannot reinstall or upgrade the operating system.
Differences
Virtual Host
VPS
VM instance
Supply and deployment time
Days to weeks
Instant, no OS installation required
Real-time, just a few minutes to complete, one-clic
StartInstall under Ubuntu/debian:
Apt-get install fail2ban-y to see the/var/log/fail2ban.log file to find out what energy-surplus guys are scanning your SSH all day.
Iv. use of DDoS deflate simple anti-drop cc and DDoS attacks
Use the netstat command to see if the current link to the VPS is being attacked:
Netstat-ntu | awk ' {print $} ' | Cut-d:-f1 | Sort |
Based on the NTP network pair,
Java code
The code is as follows:
#date-R
November 18, 2012 Sunday 19:33 23 cstlinux The tool for using network pairs under the system is ntpdate, and if Ntpdate is not installed, ntpdate must be installed: under CentOS:
Java code
The code is as follows:
#yum-y Install ntpdate NTP
Under Debian or Ubuntu:
Java code
#sudo apt-get install-y ntpdate ntpntpdate
After installation, you can use Ntpdate to update the Linux system (when we use Windows Time server
instances directly face network interfaces and cannot see the server.
A common analogy is that you can rent a safe deposit box (shared host) numbered "8888" to a bank, or you can send valuables directly to the Custodian company for safekeeping.
Products such as Gmail, Facebook, Twitter, and Flickr can all be seen as "cloud host-based" services.
VM instances have the root permission. Users can reinstall and upgrade the operating system. However, VPs
In fact, VPS is basically the same as an ordinary independent Linux server in terms of use, because the current virtualization technology and very mature, but there is a big difference between VPS and single server, that is, system resources and performance. Generally, VPS is divided by an independent server, so the advantages of resources and performance are far
VPS or server often need VPS or server often need to regularly backup data, scheduled to restart a service or scheduled execution of a program and so on, generally in Linux use crontab,windows below is the use of scheduled tasks (win is the graphical interface setup is relatively simple), The following mainly describes the installation and use of crontab on Linux vps
Mod_evasive is a DDoS-resistant module for Apache (httpd) servers. For Web servers, it is now a good extension to protect against DDoS attacks. Although it is not completely defensive against DDoS attacks, under certain conditions, it is still the pressure to slow down the Apache (httpd) server. If you work with iptables, hardware firewalls, and other firewall de
We can discuss the differences between Vm instances and VPs in the following six aspects:
(1) security and reliability: VPS-program defects, ARP spoofing, viruses, and resource congestion installed on other VPs on the same physical server will seriously affect itself, basically no defense capability for ARP, Trojans, and DD
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
instances. program defects, ARP spoofing, viruses, and resource congestion installed on other VPs instances on the same physical server will seriously affect the security and reliability of VPs, basically no defense capability for ARP, Trojan and DDoS. The cloud host has built-in ARP protection to improve the anti-DDoS
As our website and project needs, as well as the cost of the VPS host/server continuously reduced, more and more webmaster users will choose the VPS or server as our site environment, but for users, most of the basic operations from the online tutorials, For example, use SSH software to log in and then learn the tutorial installation panel, a key package, and then go to build the site. We often mention that
If we start to modify the default port, even if we need to guess and crack the password, we need to find the port, at least to increase the difficulty of the VPS intrusion, in this article, the old Chiang will share how to modify the VPS default SSH port.
The first step, vi/etc/ssh/sshd_config
Using Xshell or Putty login VPS, the default
targets.
The best practice is to close it together with xmlrpc if you are sure you do not need pingbacks. If necessary, you can simply modify the. htaccess file and only allow IP addresses in the whitelist to access the file. The popular plug-in Jetpack can also be used for traffic monitoring.
WordPress's pingback service can be exploited by DDoS attacks. This vulnerability was disclosed early. However, many websites still have this problem becau
DDoS attack conceptThere are many types of Dos attacks, the most basic Dos attack is to use reasonable service requests to consume excessive service resources, so that legitimate users can not get the response of the service.DDoS attack is a kind of attack method based on traditional Dos attack. A single Dos attack is usually one-to-many, when the target CPU speed is low, the memory is small or the network bandwidth is small, and so on the performance
Before we look at this issue, let's talk about what DDoS is:
What is DDoS:
DDoS (Distributed denial of service) attack is a simple and fatal network attack using TCP/IP protocol vulnerability, because the TCP/IP protocol is unable to modify the session mechanism, so it lacks a direct and effective defense method. A large number of examples prove that the use of t
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.