Linux VPS Host site for many novice friends, and the user is accustomed to using a virtual host may still prefer to have a Visual Web panel management site is more convenient, at least to see the menu, management site, so it seems more practical. It will be used to some free, paid web panels, and many domestic and foreign panels can be used, in view of the operation of the habit and language familiarity, but also in favor of the use of Chinese panels
Using it for remote management of Linux VPS is very useful, its main advantages are as follows:
Completely free;
Running in Windows is very good;
Fully support SSH1 and SSH2;
Green software, no need to install, download the desktop to build a shortcut to use;
The volume is very small;
The operation is simple, all operations are implemented in a control panel.
Putty Download Address: Http://soft.vpser.net/manage/putty/puttyfile_0.60cn.zip
Download comp
Linux Default login mode is the account and password login, if you change to use a key to log in will be relatively safe, but the key to landing a good and bad, want to login VPS must carry a key file, if modified the default root username also need to modify the corresponding corresponding relationship is more cumbersome.Okay, here's how to log in with a key.
Preparatory work:
mkdir. SSHTouch/root/.ssh/authorized_keys
1. Create a lock and a key
R
First, modify the SSH portVi/etc/ssh/sshd_configFind the #port 22 (line 13th), remove #, and modify to Port 3333Use the following command to reboot the SSH service, note: Log in later with the new port.Service sshd RestartSecond, the prohibition of root landingFirst add a new account 80st, you can customize:Useradd 80stSet password for Weidao account:passwd 80stStill modify the/etc/ssh/sshd_config file, line 39th: #PermitRootLogin Yes, remove the front # and change Yes to No, then restart the SS
VPS Scheduled BACKUP DATABASE command, save the following code as BACKSQL.SH, and then set the scheduled task to run.cd/home/admin/Backup #切换到备份目录btimes=$(Date+%y%m%d%h%M) #定义备份时间agobtimes=$(Date-d-7day +%y%m%d%h%M) #定义删除七天前的备份RM-RF Allsql/vps_all_db_$agobtimes.Tar. GZ #删除操作 forDbinch'/usr/bin/mysql--user="Root"--password="123456"-b-n-E'SHOW DATABASES'|Xargs` Do(/usr/bin/mysqldump--user="Root"--password="123456"${DB} | /bin/gzip-9-> allsql/${db}.sql.g
:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.Is you sure want to continue connecting (yes/no)? Yeswarning:permanently added ' github.com,192.30.253.112 ' (RSA) to the list of known hosts.Permission denied (PublicKey).---------------------------------------------------------------------------------------Change the rookie tutorial to start over and failChange a VPS Follow the rookie tutorial re-knock on the success.[Email protected]:~# Groupadd Git[email
VPS uses LNMP to install WordPress and vpslnmpwordpress. VPS install WordPress with LNMP. vpslnmpwordpress preface a few days ago, a friend had an idle vps and MB of memory on his hand. I decided to give it a try. After some thought, I still used to install WordPress and vpslnmpwordpress with LNMP for the remote VPS.
P
Subversion (SVN) is a famous version control software. It is especially suitable for controlling and managing software source code through the Internet in different places. Recently, I plan to work with my colleagues to develop something, so I decided to fully explore the favorable resources of our Linode VPS and install the SVN service terminal on the VPS. In this way, we can remotely develop software thro
For PHPnow websites made in VPS, the CPU is easily up to 100% nbsp; PHPnow nbsp; for websites made in VPS, the CPU is easily up to 100% and it seems there is memory leakage. the system is WIN2000. how can this problem be solved ........? For PHPnow websites in VPS, it is easy for the CPU to reach 100%
For PHPnow websites in
After my vps vm is upgraded to 2008, it seems that the speed is slower, and the CPU is usually increased to 100% after refreshing the page. However, volcano interconnection does not provide CPU restrictions. How can we know the vps cpu limit? Although we cannot log on to the HOST server to view the parameters, we can estimate the CPU frequency by letting the CPU perform the calculation.
We need to use a so
We choose overseas VPS whether it is to build a station or use for other project tools, from the cost, configuration and other cost-effective or have a great advantage, but because of physical distance, the stability of the line and other issues, there may be man-made or the difference in the line will make the speed of the target is not up to our requirements. Especially in the evening and some of the line stability is not enough, in many non-human c
As we buy Xen VPS will be directly logged on to the root and then install the Panel or a key to build the station, the site may be small data or the beginning of the stage can not find the problem, as time goes by our site data will gradually increase, and then there will be a variety of problems original data disk occupied, The inspection found that we only used about 10G to fill up the disk, but we purchased the
Good network, a Chinese host provider, to provide based on Xen architecture of Hong Kong, the United States virtual host, VPS, servers and other business products. The main business is Hong Kong Shatin and the United States Nextecloud room, this is not official lost a test machine to prepare through the regular VPS evaluation data to record the performance of this VPS
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
This article translates from Digitalocean's Introduction to securing your Linux VPS, which is recommended to read the original. Previously posted in the OSC translation area, has been audited, had to publish to the blog this
ObjectiveTaking advantage of the power and flexibility of this great platform to take control of your own Linux servers is a good opportunity to learn new things. However, the Linux server administrator must take the same pr
Zpanelx, is a foreign free VPS management panel, rare and support Windows and Linux systems. The current version has been to version 10.0.0, the author is familiar with the CentOS system environment to install ZPANELX panel, to see what the background is like. Before the author also introduced a lot of panels, including foreign kloxo, as well as many domestic panels, are good, there is a certain amount of user management panel. The old left is also no
1, check whether the System kernel support MPPE patch
The code is as follows
Copy Code
Modprobe ppp-compress-18 echo SuccessDisplay Success Description system support MPPE patch, if not supported, you need to install Kernel-devel firstYum Install Kernel-devel
2, check whether the system to open TUN/TAP supportCat/dev/net/tunIf the instruction shows the result to the following text, it means:Cat:/dev/net/tun:file Descriptor in #系统为英文版本Cat:/dev/net/tun: The f
512M VPS Optimized Apache memory
View current memory consumption
Ps Aux|grep httpd
Basic one occupies about 50M
PS Aux|grep httpd | Wc–l
A total of 13, minus the grep httpd line of 12, indicating a footprint of about 600MServer 512M memory exceeded,
(in contrast, nginx main process 50M, with PHP-FPM run, a fpm occupied 2M, open 10 fpm process, a total of 70M of memory is enough. )
Standard Linux Apache configuration in Apache configuration fi
The code is as follows
Copy Code
#!/bin/bashD= "/root/backup"t= ' Date +%y%m%d 'if [!-d ' ${d}/${t} ']; Then/bin/mkdir "${d}/${t}"Fi/usr/local/mysql/bin/mysqldump--host=localhost--user=root--password= database password to back up the database name > "${d}/${t}/${t}.sql"CD ${d}/bin/tar-czf "${d}/${t}.tar.gz" "${t}"/USR/BIN/SCP "${d}/${t}.tar.gz" kuco@x4100.unix-center.net:~/web_backup/studyday.net
2, set Crontab, more Crontab introduction here
The code is as
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.