First, install LFTP environment
Because we need to use the LFTP environment when uploading FTP files, we can't make sure all the systems are installed, so we'd better reinstall them first.
The code is as follows
Copy Code
#CentOS Yum Install lftp
#Debian Apt-get Install Lftp
Second, create a backup directory
The code is as follows
Copy Code
/home/backup/
My VPS Situation:
Operating system –centos 7 64-bitWeb Server Software –apacheGhost1 is based on Node.js, which itself has a Web server and does not need Apache.
Install Ghost
Main reference Ghost official Help 2.Download Ghost$ curl-l Https://ghost.org/zip/ghost-latest.zip-o ghost.zipDecompression Ghost$ unzip-uo ghost.zip-d GhostInstall Ghost$ CD Ghost$ NPM Install--productionStart Ghost$ npm Start--productionNow, you can access the Ghost blog vi
Today, share with you the most basic security configuration of VPS.First, modify the SSH portVPS Default SSH port is 22, those who scan the poor lift password, also bound to start from 22, so, modify 22 for an additional number, is very necessary.OK, SSH login vps, modify configuration file.Vi/etc/ssh/sshd_configLocate #port 22, remove the previous #, and modify it to Port 1380 (this number is used as much as 4 digits to avoid being occupied), and the
Our people use VPS installed system environment most likely is LNMP, the author recently also learning to install and use VPS, also see many kinds of system environment can choose, of course, including can choose to install Panel management. Temporarily I do not choose to install the Panel, the use of panels without technical content, and from the difficulties of learning, direct use of SSH operating
-3day + "%Y%m%d"). tar.gz
Cd/home/backup
#导出数据库, a database with a compressed file
For DB in '/usr/local/mysql/bin/mysql-u$mysql_user-p$mysql_pass-b-n-e ' show DATABASES | Xargs '; Todo
(/usr/local/mysql/bin/mysqldump-u$mysql_user-p$mysql_pass ${db} | gzip-9–> ${db}.sql.gz)
Done
#压缩数据库文件为一个文件
Tar zcf/home/backup/$DataBakName/home/backup/*.sql.gz
Rm-rf/home/backup/*.sql.gz
#发送数据库到Email, if the database is compressed too large, please comment this line
For its users and applications, each VPS platform runs and manages exactly the same as a stand-alone host, because each VPS can be restarted independently and has its own root access, user, IP address, memory, process, file, application, System function library, and configuration file.
VPS Server is the most important indicator of memory size, multiple
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
One, install and configure on the VPS
The following actions are performed in SSH. Check to see if the Make module is installed, most of it is installed, no, first install make module:
The code is as follows
Copy Code
Yum Install make
Enter the following command to run row by line. Download-Extract-Toggle Directory-Configure compilation installation-switch to root-delete-Create cache directory-Modify cache direct
system is: Simfs, this file system has not been seen, but the estimate should be used by VPS vendors, but the implementation of FDISK error, temporarily noted
The Next top command checks to see if there is an exception to the process:
The top command did not find the exception process, and the server load was not high.
Next, look at the ports opened by the server:
[Root@abc tmp]# SS-TNLPState recv-q send-q Local address:port Peer address:portLISTEN
The Debian system takes up less memory and is load balanced, but without control panel, management can only be managed through SSH using Linux commands. It's really troublesome for people unfamiliar with Linux commands. This article will detail step-by-step instructions on how to use Linux commands to automatically back up Web site data in a Debian system. (This is a backup method for all Linux systems that do not have to be Debian)VPS System Environm
This article on the VPS used several common technology OpenVZ, Xen, KVM to do a simple introduction and comparison, in case you choose your own appropriate VPS
Many people see the same configuration of the VPS price difference is very large, it is not understood, in fact, there are many types of virtual VPS use, such
Everyone film and television, Sagittarius Network forced to close the aftermath of the late, many recent film and television new station construction once again inspire the enthusiasm of film enthusiasts.Film and television website for traffic and disk have certain requirements.at present, also saw a "Heng Chong Technology" VPS, do not know whether to meet the needs of film and television site? VPS Package
The tutorials on the forum are built on Ubuntu, which is simple and suitable for beginners. but for servers, CentOS is the first choice and stability is the king. Therefore, the following tutorials are provided. Especially after you buy VPS, in addition to SEEDBOX, you can better experience its original charm-server, you can use it to build a Forum (for example, the tutorial on the hd2pt Forum is built on Ubuntu, which is simple and suitable for begin
VPS or servers often require VPS or servers to regularly back up data, regularly restart a service, or regularly execute a program. Generally, Crontab is used in Linux, in Windows, scheduled tasks are used (Windows's Gui settings are relatively simple). The following describes how to install and use Crontab on Linux VPS/server.
Crontab is a common scheduled execu
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.