1. Add a website domain nameWe certainly need to bind domain names to build websites on the WEB panel, just like we need to add additional domains before using the cPanel panel, as well as in the Vesta panel. Before adding a domain name, we can resolve the domain name to the IP address of the current VPS server. Because the resolution takes effect for a while, we need to do the work first, at least not to w
;
Proxy_buffers 4 64k;
Proxy_busy_buffers_size 128k;
Proxy_temp_file_write_size 128k;
Proxy_temp_path/home/cache/temp;
#临时文件目录
Proxy_cache_path/home/cache/path levels=1:2 keys_zone=cache_one:5m inactive=7d max_size=1g;
#5m为内存占用, 1g is the largest hard disk footprint, Cache_one is the buffer name, if necessary modify the corresponding modification.
The configuration that needs to be cached for the
timeuptime--shows the current time, system uptime, how many users are currently logged in, the average load of the system in the last 1 minutes, 5 minutes, and 15 minutesstat--displaying information about a specified fileWho, w--show online login userwhoami--show the user's own identityid--Display ID information for the current userhostname--Display host Nameuname--Displaying operating system Informationdmesg--Display System Boot informationdu--Displ
Kloxo is a Linux VPS server is very outstanding foreign free panel, the domestic user is also very large. Han is also in place. Before the author to introduce the use of a key installation package is very convenient (one-click Installation kloxo). Although this may be a little strange for the first-time friends, today, the Eagle will give the novice friend the door to do a basic tutorial on the use of operations. Can make novice friends quickly start.
Recently, I would like to install flow monitoring, but do not know how to do, the VPS is not normal, forget, for the future stability, reload forget, now record the steps for a rainy days.
The first step is to back up the data
1. Back up old data:
The old data includes four directories,/HOME/FTP,/home/mysql_data,/home/pgsql_data,/home/lum_safe_files
When reloading, just modify the name, you can modify i
Some notes in the configuration process:
One, VPS only a root partition, no swap swap partition. The VPS has little memory, so I added a swap file for it.
1, into a directory
cd/var/
2, get 256M of File Block:
DD If=/dev/zero of=swapfile bs=1024 count=262144
3. Create swap file
/sbin/mkswap Swapfile
4. Activate swap file
/sbin/swapon Swapfile
5. Check to see if s
In general we use the manual backup VPS site on it. Generally old left like 1 weeks to back up the site, such frequency should still be good, for yesterday to share the "database/website files Automatic Timing Backup" method is more important for data, and can not be maintained in front of the computer for a long time.
For example, some friends often travel, back to open the Web site found that the data i
It is said that now PPTP, L2TP and so on are not very good, and the OpenVPN sometimes seemingly also do not connect (for example, the previous article, on many people can not connect to the reaction installed), this article is about using the OpenVPN Access server free version to build an anti-jamming VPN;
OpenVPN Access Server free version only supports 2 users to connect at the same time, but it is completely OK for your own use, and the installation is very simple. Let's talk about t
Including the old Chiang usually installed in the VPS host a certain environment, because of the different server IP problems, even the same service provider with a computer room, the IP address is different, at the same time wget a file when some of them will not download files. Or when we install a file program, the download speed is very slow through the wget.
There are two possible problems encountered, the first is our server DNS problem
midnight 0:20, 2:20, 4:20 .... Execute echo "haha"
0-23/2 * * * echo "haha"
Attention:
When the program is executed at the time you specify, the system will send you a letter showing the execution of the program, and if you do not wish to receive such a letter, please leave a blank space in each line
After adding >/dev/null 2>1
Example 2:
#每天早上6点10分
6 * * * Date
#每两个小时
0 */2 * * * Date
#晚上11点到早上8点之间每两个小时, 8 in the morning.
0 23-7/2,8 * *
Problem
VPs capacity problems caused by 32-bit windows without paging memory limit
Solution
On a 32-bit Windows system, the main parameter restricting the number of VPs is "non-Paging memory"
Open your job manager in windows, select the performance tab, View "core memory", and view "not paging"
In 32-bit windows, this parameter cannot exceed 256 MB, that is, 262144
When it comes to this paramete
I wrote two blog posts on VPS security settings in a few days. In fact, no matter how secure we are, backing up VPS data in a timely manner is the most important thing. Because the VPS is different from the host, the host may often be backed up by the service provider on our behalf. Most of the operations and security of VPS
For PHPnow websites made in VPS, the CPU is easily up to 100% PHPnow websites made in VPS, and the CPU is easily up to 100%
There seems to be a memory leak. The system is WIN2000. how can this problem be solved ........?
Reply to discussion (solution)
I put it in the PHP space and it runs very stably. Why does VPS leak internally and consume a high CPU?
Once upon a time, although we in the overseas VPS service providers can also see a variety of large and small businesses, but really can make linode such a high-rich handsome competitive is really not much, this is not at the beginning of the Linode business 512MB memory solution for $20 One months, there are many people scrambling to buy. But since the emergence of Digitalocean, vultr merchants, we see Linode continuous 3 years of change, upgrade con
What I understand is that VPs virtualizes a physical server into several independent physical servers on the logic. A virtual VPs host can be regarded as an independent server. Currently, the space services provided by the IDC are generally divided into virtual hosts, VPs, and server leasing. There are many management systems for virtual hosts,
The most common operating system on VPS is Linux (with multiple distributions), Freebsd,windows server, and so on. In general, the VPS operating system is not free installation, Linux series VPS can install more than one Linux distribution, but can not install Windows, in contrast, the Windows series VPS can not be mod
Although we can see in the Linode backstage the renewal fee has been supported by credit card and PayPal two ways to pay, but the new purchase or only support dual-currency credit card only way, perhaps in the near future will open more payment methods. Chiang chose and used the Linode VPS server for a long time, from the original monthly cost 512MB memory needs 20 U.S. dollars, to now 2GB memory program only need 10 U.S. dollars, to a certain extent,
Cloud hosting solutions integrates IT infrastructure capability leasing services for computing, storage, and network resources, it can provide on-demand and On-Demand Server rental services based on the cloud computing model and can be seen as a new generation of shared hosts. VPS (virtual private server), using the advantages of virtual service VPs software to create multiple isolated small servers on a ph
Change the system time of the US vps to Beijing time.When using vps outside China, you may feel that the time on vps is not Beijing time and it is awkward. Today we will change it back to Beijing time. First, log on to your vps, use the date command to view the current time
[root@centos ~]#date Sun Aug 14 23:18:41 E
This is the time to learn about the VPS backup file content, because after using the VPS all security issues need our own processing, including the security of the website files. We can choose to make regular manual backups, or we can choose to automate scheduled backups. In the old left blog has also written a few on the VPS, the site back up the article, perhap
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.