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
Back up remote VPS (CentOS) data in batches on Windows host
BitsCN.com does not only need to back up MySQL after VPS, but also some independent site data needs to be backed up.
If there is a reliable third-party Linux host or cloud storage like Amazon, it is much simpler, and Linux-Linux backup is very convenient.
However, I want to run a backup every day or every week in my Windows 7 environment.
The gen
As PHP becomes more and more popular, Linux VPS/servers are used more and more, and Linux security issues need to be strengthened. If you have installed DenyHosts and set up email reminders, you may receive several DenyHosts reports every day to add the IP address that is used to crack the SSH password to/etc/hosts. deny.
There are two types of Linux SSH Logon:
1. Log On with password verification
Generally, after the
After installing the operating system, many VPs users are worried about how to transmit local data to a remote VPs server. The following describes two common methods for transferring data to the server.
Method 1. Set up a server through FTP
After the server system is installed, we will tell you the IP address of the server and the username and password for remote management, and we will enter the server
Use the Linux Command Line to manage DigitalOcean VPS water drops
DigitalOcean is the most popular newborn in the cloud VPS host market. Although it does not provide integrated services like Amazon, DigitalOcean is positioned for small and medium-sized enterprises and developers and has become a strong competitor of the best cloud VPS Service Based on Linux, thi
In this article, we will guide you how to install WordPress in Ubutu VPS.Installation conditionsBefore I start, you must have your own VPS server. Nowadays, various clouds are quite popular. You can consider them by yourself. I personally use Alibaba Cloud VPS, which is a little expensive and stable. It seems that you are engaged in an activity recently. You can check it yourself. If you are a single small
will continue the migration when we close and adjust it.Mr. Lao Jiang personally suggested that VPS, servers, and other products do not have high resource costs. Can we choose to build our own private cloud disk storage, such as ownCloud, which is relatively mature, data synchronization on PCs and mobile terminals is basically the same as common third-party cloud disks. We can choose to use ownCloud to build our own cloud disk storage. Of course, if
directory is packaged and compressed into a vpser.tar.gz file because. tar files are almost uncompressed, and the. tar.gz file for MT is extracted to a. tar file almost 10MB */Tar jcvf/var/bak/www.tar.bz2/var/www//* Create a. tar.bz2 file with a high compression rate */Tar xjf www.tar.bz2/* Unzip the TAR.BZ2 format */gzip-d ge.tar.gz/* Unzip the. tar.gz file to a. tar file */Unzip Phpbb.zip/* Unzip the zip file, windows to compress a. tar.gz formatted file still a bit of a hassle.Download:wget
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 following operations are based on CentOS 7 and may differ depending on the operating systemFirst, modify the SSH service default portThe default port for the SSH service is 22, and the scanning software wi
As PHP becomes more popular, Linux vps/servers are used more and more, and Linux security issues need to be enhanced, if you install denyhosts and set up email reminders, you may be subject to several letters each day denyhosts The reporting will come to break the SSH password IP join/etc/hosts.deny.
There are two types of Linux ssh logins:
1, the use of password Authentication login
Typically, a VPS or
Opening
VPS generally win series and Linux mainly, win due to a number of problems often appear and closed source and business (generally domestic piracy) there is a Trojan horse so we all use Linux and Linux perfect support PHP so Linux VPS is still very popular, Next, we introduce a few common VPS remote connection tools.
Putty
With the popularity of Linux i
First into the Ras-shell;
Ras-shell (winvps.com) > Rebuild
You choose Bits.
OS List:
0:windows 2003 Server Chinese Version
1:windows 2003 Server 中文 Version
Choose 0
Type the number of the os:0
You choose Windows 2003 Server Chinese Version
Rebuild the VPS would destroy all your data. Are you sure your want to destroy all the data and rebuild the VPS? (True/false):
Play true, confirm the installation,
In the previous article to ensure that Linux VPS and server more secure Xshell set key login article has been shared to Xshell use the key to login to our VPS server to ensure the safety of the machine, but many students are not like the old left with Xshell, There are still a lot of use putty login ssh, so a separate article to share with Putty set the key to login to the Linux
The Debian system optimized for VPS notes Julu redundant service-class software, redundant system components, and replaceable system components in Debian systems. I am a Linux small white, these contents are used in the ordinary use of the command and online collection commands, such as a better solution or the content of the error, give me a message oh.
Redundant service-class software (which will start itself and affect the larger):
Apt-get-y purg
Tags: linux mysql database backupFrom the virtual host over to the VPS, the general webmaster may feel that the cost of operation and maintenance time is relatively large. For example, in the VPS maintenance, backup data, in the absence of the use of regular automatic backup function of the software is basically a manual backup. For Web page files, we can be done by compressing and packaging FTP downloads,
people were not so stupid. I started to guess the user name.
$ Sudo grep "Failed password for invalid user"/var/log/auth. log | awk '{print $13}' | sort | uniq-c | sort-nr | more3190 218.28.79.228646 222.122.52.150172 123.15.36.21865 177.8.168.484 222.76.211.149Someone tried it for more than 3000 times. Well, is there such a valuable lovelucy blog .. To prevent this, we can make some configurations to make the VPS server more secure.
1. Modify the SS
Editor: If you use windows System vps can see this article: http://www.bkjia.com/Article/201103/84875.html
1. Open a firewallEnable the firewall and disable unnecessary ports/Etc/init. d/iptables start // simple rules are as follows.
/Sbin/iptables-F/Sbin/iptables-a input-p tcp-I vnet0-dport ssh-j ACCEPT/Sbin/iptables-a input-p tcp-I vnet0-dport 80-j ACCEPT/Sbin/iptables-a input-I vnet0-m state-state ESTABLISHED, RELATED-j ACCEPT/Sbin/iptables-a inp
777 CacheChmod 777 ImagesChmod-r 777 images/magicthumbsChmod-r 777 des/ages/english/html_des /*Chmod 755 primary des/ages/english/html_primary des/classicChmod 777 tempep
9. log on to FTP and modify the configuration file in the front and backend: database, user, password, and. htaccess.
Configure. php. htaccess
10. For security, after the website is set, the read and write permissions of the html_shortdes and tempep folders are restored to the original
CD/home/afish/domains/bbbbcom/public_html
In Vultr VPS, the entire pptp vpn process is manually built using Debian 8 i386 (jessie) as the operating system platform.
Update the server and install the PPTP Service
Apt-get update
Apt-get upgrade
Apt-get install pptpd
Edit/etc/pptpd. conf
Find # localip and # remoteip, delete # And set the ip address
Localip 172.16.31.254
Remoteip 172.16.31.234-238
Edit/etc/sysctl. conf
Remove # net. ipv4.ip _ forward = 1 and enable ipv4 forward.
Run sysctl-p a
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.