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. View the hard drive conditionWe use
Fdisk-l
To view the current hard drive condition
"disk/dev/xvdb:32.2 GB" means that the second virtual hard disk has
VPS System CentOS5.2Add a common accountThe location of the VPS quantum data http://www.111cn.net
Useradd Lrenwangpasswd Lrenwang
--------------------------------------------------------------------------------
One installation PreparationShutdown Firewall
Service Iptables Stop
Close SELINUX, CP command overrides directly, no prompting required
Sed-i "S/selinux=enforcing/selinux=disabled/g"/etc/syscon
start automatically after each reboot, you need to do the following:# CD/ETC/INIT.D# ln-s/usr/share/denyhosts/daemon-control denyhosts# chkconfig--add denyhosts# chkconfig--level 2345 denyhosts onor execute the following command, the/etc/rc.local file will be modified:# echo "/usr/share/denyhosts/daemon-control start" >>/etc/rc.local
DenyHosts configuration file Denyhosts.cfg Description:
Secure_log =/var/log/secure
#sshd日志文件, it is based on this file to judge, different operating systems, t
Iptables is a packet filtering management tool based on the NetFilter architecture, the most important role is to do firewall or transparent proxy. Iptables from IPChains, its function is more powerful. Iptables offers the following three features: packet filtering, NAT (network address translation), and generic Pre-route packet mangling.
In the previous article I to iptables on the concept and principle of the introduction: iptables Introduction and command, but in practical applications, many
The company bought Hosting24 VPS used for XX, the kernel basically did not load what module, want to compile their own can not compile, control too dead. I would like to use squid to build a proxy server, not successful, Linode 30 minutes to finish. VPN is also the iptables NAT function, the kernel is loaded with wood, HOSTING24, I bought a watch last year. No way, we can through the putty to achieve XX
1, add logged-in user
# Useradd VPN//Add user#
and allocate 32m memory (32 for the use of memory, can be modified according to their own circumstances)
/usr/local/memcached/bin/memcached-d-M 32-l 127.0.0.1-p 11211-u Root
Add memcached to the startup item
# vi/etc/rc.d/rc.local
Press I on the keyboard to start editing
In the final join
/usr/local/memcached/bin/memcached-d-M 32-l 127.0.0.1-p 11211-u Root
Press the ESC key, and then enter
: Wq
Save exit
If you need, you can reboot, but do not reboot shou
Tags: systemPing tool can detect more domestic and foreign nodes of the ping speed, to a certain extent, ping speed is also more important, you can see the server drops, as well as the speed. For example, when we choose the United States VPS host, generally can be in the 200 speed is good. Dance on the tahskb of the friend Storm Emperor, the end of the marriage risk 8rwRzE turn pit along the more not the same as 8cxHoF order to sell extremely anti-zhe
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
Build a WEB server abroad-Linode VPSBuy a virtual server (VPS), put your site on top of the run, find the feeling, usually can also use it to practice. A few days ago, the search to someone recommended Linode VPS, yesterday, a friend asked me to use Linode, so I bought a copy to give you a test. If your site users mainly from abroad, Linode such a server is a good choice.Note: Linode is a foreign service pr
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 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.