From the beginning of contact with the network to now I have built a lot of websites, but the site's space has been used is a virtual host, VPS has never been used, also do not know how to use, until yesterday a friend rented a VPS server, but he will not install the program, let me help install. But I even landing vps do not know, and then after his guidance and
Cloud server and virtual host, VPS are space products, virtual host is the first development of the basic space products, VPS is based on the virtual host derived from the configuration of a separate IP address of the better virtual space, cloud server and VPS is the most similar, is also based on the virtual host developed, More powerful in terms of performance
US host Raksmart launches VPS new featureWe all know that in the process of using the VPS, everyone is using SOLUSVM to solve the problem of remote management. The traditional Solus virtual Manager (SolusVM) software is a VPS management system with a powerful graphical interface that can manage four virtualization technologies simultaneously: OpenVZ, Xen paravirt
Users and Applications
Program The operation and management of each VPs platform is identical to that of an independent host, each VPs can be restarted independently and has its own root access permissions, users, IP addresses, memory, processes, files, applications, system function libraries, and configuration files.
The most important indicator of a VPs server
Vps security settings, server security dog
It is suitable for new users and friends who have access to VPS. It focuses on VPS security.
Prohibit ROOT login to ensure security;
Use DDoS deflate to defend against attacks;
Iftop Linux traffic monitoring tool;
Automatically backs up VPS to FTP space every day;
Upgrade NGIN
VPS Security Settings
First, user rights security settings
Root permissions are too high, misoperation is very dangerous, so day-to-day operations using the ordinary account, only a specific time to use SU switch to root identity.①, new ordinary users, such as ZhanggeUseradd Zhangge②, modify passwordpasswd Zhangge③, add account number to wheel groupUsermod-g Wheel Zhangge④, set to allow only the account of this group, use the SU command to switch to
Ramnode business should be starting from 2012, has been a relatively stable development of OPENVZ and KVM two architectures and different configuration of the VPS host products, in general, we may pay 15 U.S. dollars for the OPENVZ framework scheme more knowledge, Whether it is used to build the environment or put the individual site is not much problem, if you encounter a promotional activities can also save a few dollars, but their activities are no
Although we now buy VPS host cost is very low, but as far as possible to save cost consideration, or in order to just project testing and learning, we will choose to buy small memory, cheap VPS host program. Especially like to toss the netizen, we can see a lot of 32MB, 64MB small Memory VPS Host site cases and tutorials, the old Chiang also through a series of a
Old left with a lot of novice users, in the choice of Linux VPS host will probably see if the machine is in use and probably Word-of-mouth and price, and then probably compared CPU core, memory, hard disk and traffic in the same knowledge of the business whether there is a certain price advantage. Although often tell oneself a penny a penny, but sometimes still prefer to try to hope that the horse is good also want horses to eat less grass products.
Because before the music valley gathered to find the nest, the official website is hung, Online said to run, although someone had contacted me before I said there are their companies take over, but when there are problems in contact, but can not find people. So decided to replace the VPS. Simple record of the use of this VPS migration command.
The new VPS is use
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
Godaddy VDS can be managed through SSH logon. The logon method is as follows:
1. log on with an SSH client.
Putty putty SSH login software is recommended
Enter the Server IP address and click "open"
Then, log on with the user name and password. If [usename @ IP-**] $ is displayed, the logon is successful. However, this is a common user who does not have the root permission. the Godaddy VPs configuration must be loaded;
After you enter the pas
Turn from: Baidu Experience Thanks!
1. First we need to upgrade the software source to prepare for the installation of the desktop environment.Execute command: Apt-get update
2. Install the Desktop Environment or window Manager:Apt-get Install Xubuntu-desktopThis installs the XFCE desktop environment for Ubuntu.
3. Next to install the XRDP, after installing the XRDP, we can directly use the Windows system comes with the Remote Desktop tools to connect to our server.Apt-get Instal
Port 3389 is a remote Terminal Services port, remote Terminal Services in Windows system is a very powerful service, but also become an intruder long-standing host channel, intruders can use some means to get administrator account and password and intrusion host.As we all know, intruders usually first scan the host open port, once found that it opened 3389 port, will be the next intrusion, so we only need to modify the default port to avoid the majority of intruder's eyes and ears.1. Step: Open
Every day, a series of data files are generated on the server, some of which are of great importance, but if we simply move the files, it will not be very good backup, here, we use Python to implement the cloud backup of the file.This program I use Python to write, borrowed the Sevencow library file, the use of the program is very simple.
First we can download this code file from GitHub, and we can take advantage of the git clone command.https://github.com/icorer/vpssync.git Source Downloa
Set Squid Agent to appear the connection is reset, this is because you on the website of the keyword is qiang cause your ip+ corresponding proxy port is blocked, causing the connection to be closed directly.So we just use squid encryption to block the keyword. Start squid here, let's talk about opening squid htps_port.Cooperating with Stunnel (forwarding HTTP unencrypted HTTP packets to HTTPS encryption)Use squid and stunnel to encrypt squid to prevent GFW from losing squid with keywords1. Turn
Detailed description of centos Nic configuration under the VPS server automatically activates the NIC and installs CENTOS 6. after X, you need to manually activate the NIC every time you start the system. The following methods can be used to automatically activate the NIC after the system starts. Cat/etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE = "eth0" HWADDR = "00: 0C: 29: FC: 1C: 72 quot; NM_CONTROLLED = quot; yes quot; ONBOOT = quot; no qu
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.