VPS Linux Centos6.3 build a VPN (pptpd) Server 1. find the software package: Run wget http://poptop.sourceforge.net/yum/stable/packages/pptpd-1.3.4-2.el6.x86_64.rpm in Centos System (it seems sourceforge.net this I can not open this campus network, or OpenShift to download) 2. check System Support and install the ppp and iptables package. The latter is usually installed by default. Use the local yum source
1.SSH LoginRecommended Xshell (free, support for custom port numbers)Log in directly with root2. Installing the NODEJS compilation environmentYum-y Install gcc gcc-c++ openssl-devel3. Install gitYum Install git4. Install NVMcurl-o-https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh | BashIndicates that commands in install.sh are executed with bash5. Install nodeNVM Install 4.4.4NVM Install 6.1.0Because it is a foreign VPS has 10Gbps do
In fact, the terminal terminal on Mac OS system comes with it.At first, I used the command SSH [email protected], which is by default via port 22.And my VPS SSH port is not 22, the result is not connected, display: Ssh:connect to host localhost Port 22:connection refusedSo I Google, found that it is to change ssh_config, the result is not used, and some people said to change the ssh.plist, the results can not be changed.Finally, I ran SSH, prompting f
We need to do some basic security when we have a VPS or server that has a Linux system open.
There are probably several areas:1. Prohibit root account ssh, use custom account ssh;This way, the hacker must first guess the account number, then can guess the password;2. Prohibit account login, use PubKey login;3. For IP ACLs, allow only a few specific IP access;4. SSH port Migration, change the default 22 por
1. Click on your computer to start "Run" Input mstsc point OK650) this.width=650; "Src=" http://hiphotos.baidu.com/exp/pic/item/d041a4a1cd11728b47901f11cafcc3cec3fd2c00.jpg " class= "Pic-cursor-pointer" height= "162" width= "344" style= "border:0px;float:none;margin:0px auto 0px 132px;" alt= " D041a4a1cd11728b47901f11cafcc3cec3fd2c00 "/>2. Pop up a server login window, fill in your IP, click "Connect",650) this.width=650; "Src=" http://hiphotos.baidu.
How to Set up ss (single-user and multi-user) on a VPS server )?, Vpsss
My environment is CentOS6. The commands of the CentOS7 firewall are different from those of CentOS6.
Install shadowsocks
yum updatewget --no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks.shchmod +x shadowsocks.sh./shadowsocks.sh 2>1 | tee shadowsocks.log
Configure the password, port,
In the open cloud host or VPS will provide you with remote information, remote information including cloud host IP, cloud host system user name and password, Windows system can use MSTSC for remote graphical page operation, Linux system can use SSH remote command form to operate, Linux needs to have a good foundation.
The following is an example of a mstsc.exe connection to a Windows 2003 server
General P
Installing rsyncPerform the following command installation:Apt-get install-y rsyncYou can then use the following command to see which files are installed:Dpkg-l rsyncConfiguring RsyncModify the corresponding content in the configuration file/etc/default/rsync as:Rsync_enable=trueAdd the configuration file/etc/rsyncd.conf, as follows:Port = 873UID = rootGID = rootUse chroot = yesRead Only = yesHosts allow=204.74.0.0/255.255.0.0Hosts deny=*Max connections = 5Log file =/var/log/rsyncd.logLog format
.conf.default.send_redirects = 1net.ipv4.conf.all.send_redirects = 0Net.ipv4.icmp_echo_ignore_broadcasts=1Net.ipv4.conf.default.forwarding=1
To bring into effect:
Sysctl-p
Reboot system
Reboot
Uname-r
If the installation is normal, it should appear as:
2.6.18-164.15.1.el5.028stab068.9
4. Installation vtonf
Yum-y Install vzpkg expect
wget http://mesh.
virtual devices.
Making Mirrors
Create a folder, such as d:\2008\win2008,2008 image decompression put this inside, and then build a virtio in the win2008 (D:\2008\win2008\virtio), the virtio of the image extracted into the inside.
Open ImgBurn, select the Mode-->build in the menu bar, and select the source folder and destination ISO address.
Modify the contents of the Options tab to change the file system value to UDF.
Start and stop of the IIS service:Click Start-Run, you can use the command to implement the control of IIS:IISReset restarting the IIS serviceIisreset/stop Stopping the IIS serviceIisreset/start starting the IIS serviceStart and stop of MySQL service:Click Start-Run, enter Services.msc, in the pop-up service window, find the MySQL service, directly click on the left side of the corresponding can be.You can also restart the command by using the same method as the command method for IIS:NET Stopmy
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 sa
) in the creation of the site will be FTP, MySQL has been created, so you can see the FTP has an account, if we need to create a look at the map alone to create users and point to the specified directory.
3. Create MySQL Database
Similarly, we can set up database users individually, or the site database is added when adding sites.
4. File Manager
The role of the file manager is relatively large, you can directly package the panel, extract files, improve efficiency.
5, fire
When the page opens, it appears if an error occurs. Processing method. Or shortly after landing, frequently returned to the login interface
Log in to server Error in '/' Application.
The code is as follows:
code is as follows
copy code
unable" to "the" Session "" "," "the Session state server. Please ensure this ASP.net state service are started and that the client and
confirm that the root has a scheduled task:sudo crontab -lIf a timed task already exists, you should back up the task by pipe:sudo sh -c ‘crontab -l > crontab.bad‘We can then edit this scheduled task:sudo crontab -eIf this is your first time running a scheduled task, it will ask which editor you want to open. If you don't have a custom editor, the Nano is a good choice.After opening the file, we can customize the tripwire of automation. Because we only need tripwire to run every day, we just ne
Windows Server Setup Method:
Download Address: Iis6-set-gzip.rar
Download gzip batch files, extract to any location, double-click Run Iis6-set-gzip.cmd can quickly set gzip.
Special Tips If your site has CDN technology enabled, do not turn on the gzip feature, otherwise it will result in the client access to a blank situation, set up, you can pass the http://tool.chinaz.com/Gzips/to test the results of compression, as shown:
Gzip can compress sta
This afternoon, the site two times the machine, the dispatch to Aliyun, found that the reason is the server's CPU 100%.
After restarting the server, use the top command to see which processes are consuming so much CPU usage. Stare at a good more than 10 minutes, the main CPU-consuming process has two, one is MySQL, the other is Apache. As you can see from the figure below, MySQL takes up a lot of CPU usage. Apache single Process Although not much, bu
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.