When we manage servers, the ipvsw system is more intuitive, including cpu usage, memory usage, and so on, as long as the task manager in the Remote Desktop is clear at a glance. However, in a linux environment, it is not that easy. In particular,
After the vpn is installed, a 800 error is prompted when you connect to the vpn using windows. Generally, the firewall does not open the corresponding Port. In this case, add the port to the firewall. The code is as follows:Iptables-a input-m
Recently rented a vultr Tokyo computer room VPS, every day will generate a lot of abnormal log logs, suspected of scanning software violence, so Google a bit of server security knowledge.Needless to say, the following procedure is recorded:Note: The
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
It may be that we use a smaller VPS system with less memory performance when running certain programs. Here we can focus on creating and increasing swap space for Linux Xen VPS hosts, which provide sufficient resources for the program to run. Swap
To modify the idea of root: Add a new user, and then set the user as root, so that we can login ssh to use the new user, this user only we know, this increased the difficulty of guessing, so the security of the VPS host further improved.
First, add
Note:
1, mount the hard disk should be installed in other software or environment before operation;
2, before mounting, if there is data, please pay attention to backup;
3, the name of the partition mentioned in this article, the hard disk
Directory Operations:
RM-RF Mydir/* Delete Mydir directory * *
CD mydir/* Enter Mydir directory * *
CD-*/* Back to the previous directory */
Cd.. /* Back to the parent directory, with space in the middle * *
CD ~//* Back to root directory * *
MV
Below VPS Detectives say a few solutions:
MySQL Database export
Method 1:mysqldump Command
Execute command:/usr/local/mysql/bin/mysqldump-u user name-p database name "filename"
If the database user name has a password password, you will be
A few days wrote two use VPS security Settings blog, in fact, regardless of how we set up security, timely backup of the VPS data is the most important. Because the VPS and host different, host may be a lot of time the service provider for our
Preparatory work:
Need to advance in the VPS to install good lftp,lftp function more powerful, CentOS Direct execution: Yum install Lftp,debian execution: Apt-get install.
You need to create the/home/backup/directory on the VPS and create the
Use a VPS to do everything you need to worry about, backup is also. Backup services like Linode are charged, and one months is 5 dollars. It's better to have plenty of money than to spend 5 dollars. Install the Dropbox for the service and set the
Join the Crontab timed task to perform daily. The effect is: Back up the database to the specified directory every day, delete the files backed up 10 days ago.
Here's what the script reads:
The code is as follows
Copy Code
If our site update is not very frequent, we can regularly manually make backup site files and MySQL database export. If our site data update frequently, and the data is particularly important, it is recommended to use regular automatic backup, at
In Linux, VPS (virtual servers) have become essential products for many server space operators, so that you can maximize the benefits with minimal investment. VPS is used to install several virtual servers on one server. Each virtual server can have
In Europe and the United States VPS Installation Windows system, the main purpose is:
Foreign trade business personnel, remote operation to obtain a foreign IP for the brush, usually Amazon Amazon business in the United States;
Install
Eight security setting skills for CentOS server to ensure Apache Web Server Security
Apache server is an open-source WEB Server supported by the Apache Software Foundation, a non-profit organization. Many of our virtual hosts and VPS use the Apache
Questions Guide:1. How do I connect remotely? 2. How do I upload a file? 3. How to operate on the opposite file? 4. Under what circumstances will the link fail? Https://yunpan.cn/cYWtNMycjeVPv access password 4f74linux often need to edit the file,
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.