People in the use of the Linux system VPS host, often meet can not normally start the VPS server situation, and error: Giverootpasswordformaintenance (ortypecontrol-dtocontinuce):.The above error, the main reason is that we use the Linux system VPS
System# uname-a # View kernel/Os/cpu information# head-n 1/etc/issue # view OS version# cat/proc/cpuinfo # View CPU Information# hostname # View computer name# LSPCI-TV # list all PCI devices# LSUSB-TV # list all USB devices# lsmod # List of loaded
With Fdisk-l we can see that the/DEV/XVDB (this name varies by system) has 23.6G capacity, and there are no partitions,Next we partition and mount it (the red Word is the part that needs to be entered, the black Word is the system display
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
The internet is rich and colorful, basically able to find the resources we need, but also because so many friends are joined to the ranks of the webmaster. Among the many stationmaster also can exist infighting thing. In particular, our personal
Because Chiang just helped a netizen on his behalf to deal with the requirements of the VPS host scheduled restart function, such as he needs to restart the server every morning 5, we can set the timing reboot execution can be.
First, install
We buy the VPS after the host will certainly look at the configuration information, especially CPU, memory and hard disk and other information, can not let merchants fooled us. This allows us to compare the data to see if the different vendors
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
Xen architecture of the VPS typically not less than 10G (there are also special examples), generally based on the Xensystem panel VPS default Mount 10G hard disk (the first disk), the remaining capacity (the second disk) need to be mounted manually.1
Today, Chiang has the presence of "Easy_install command not found" during the deployment of a software in a server environment to the company. Please check it and try again. " The error prompts the problem. This kind of question seems to remember to
File and directory operations:
Go to a directory: cd/directory Name
Return to Parent directory: CD ...
Return to upper Parent directory: CD. /..
Delete File: RM filename
Delete directory: RmDir directory name
Move or rename a file: MV Old path
Generally speaking, we choose and use VPS to build stations or other projects, are the majority of our own use. So in the management of Web site files and modify the server configuration file, there is no need to set up a separate FTP account, a
☆☆☆ Daily automatic backup site data and database upload ftp☆☆☆
This way, the main is a script (including compressed site data and database, upload), and then use the cron command every day in a specified period of time to run, see the
This afternoon, the site two times the machine, the dispatch to Aliyun, found that the reason is the server's CPU 100%.
After restarting the server, use the top command to see which processes are consuming so much CPU usage. Stare at a good more
This morning a netizen bought a bird cloud host product, because the system installed the default automatically mounted directory is the data directory, and this friend needs to install WDCP panel, in theory can also be in the background of the
, it analyzes/var/log/secure (Redhat,fedora Core) and other log files, when found that the same IP in a number of SSH password attempts will be recorded IP to/etc/hosts.deny file, so that the IP to automatically screen the purpose.
DenyHosts
Shadowsocks is a lightweight socks agent software, built on a VPS, the speed is really good.
First, use a key script installation
1. Installation Method:
Log on using the root user to run the following command:
wget
The blog added 50X monitor Restart script, finally to 502 and 504 errors have some control, but today there is a friend response to the "Database connection error" information, by troubleshooting Kern.log, found the following information,
8 02:01:05
The backed-up data, if not particularly large, is not recommended for compression, preventing the possibility of corrupted files that have been compressed several times.
The way to back up the database is to back up the data directory after the
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
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.