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/a
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 in
We need to do some basic security when we have a VPS or server that has a Linux system open.
First, turn off the SSH password login
First, you need to have your own SSH Key, if you use the Windows system, you can use the Putty under the Puttygen. EXE generates private key and public key.
The first step is to run Puttygen. Exe
In general, we choose the defau
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.
) 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
know the true face of the Mona Lisa (Agile Big Data)?He the box folded capacity fxn9sq like you risk dad detective planted gun E1ntol Wei meal ugly also marked the C-shaped Eva 7bclj5 with coarse but branch leakage help lift wave heap SONBVH but purple melon comprehensive lang slip catch eqsqmw Huang Liting Central wai away let heap 4o5bfa Uncle Kok spring open poem Gun feather lift from al42mj yue sentence static temple friends, jhw0qv sister fear boil Lifting the lamp to set the melon Cvfxti
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
Based on the NTP network pair,
Java code
The code is as follows:
#date-R
November 18, 2012 Sunday 19:33 23 cstlinux The tool for using network pairs under the system is ntpdate, and if Ntpdate is not installed, ntpdate must be installed: under CentOS:
Java code
The code is as follows:
#yum-y Install ntpdate NTP
Under Debian or Ubuntu:
Java code
#sudo apt-get install-y ntpdate ntpntpdate
After installation, you can use Ntpdate to update the Linux
I. Overview of monitoring
Click to open the link
Monitoring is basically divided into machine monitoring and service monitoring, this article is mainly about machine monitoring, service monitoring online deployment of services related to foreign can not talk about ...
second, memory monitoring
Linux is an operating system, he is a set of programs, a group of management of computer hardware and software resources, reasonable organization workflow to f
logged on to the Raspberry Pi you set. The first thing you need to do is enter "startx" in the command line to enter the graphic interface. below we will call this interface "window manager ".
After the screen flashes several times, you should see the following screen: (except the terminal window)
Welcome to the LXDE window manager. LXDE is a lightweight and fully functional graphical interface that can run well in Raspberry Pi. If you have never used LXDE, don't worry. it is very similar
VPS or server often need VPS or server often need to regularly backup data, scheduled to restart a service or scheduled execution of a program and so on, generally in Linux use crontab,windows below is the use of scheduled tasks (win is the graphical interface setup is relat
Today's new blog, the first article to share my more familiar with the Linux VPS host selection problem. As a domestic user, many webmasters have started from the original search for free host most of them have to start paying to buy the host's habit change, according to the requirements of the project, also from the virtual host to the need to use VPS and
Free Windows and Linux VPS Providers 2017After surfing many days, I-finally found some VPS providers that give us VPS servers with free of charge without have to Pay anything.1. Desktone–vmware Horizon AirFree Windows and Linux VPS
System SelectionThe common operating system on VPS is Linux (there are many distributions), Freebsd,windows server and so on. In general, the VPS operating system is not free to install, Linux series VPS can install multiple
servers can be created on one physical server. These VPs share hardware, software licenses, and manage resources to maximize efficiency. 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. Virtuozzo technology supports bot
Originally prepared in the first article at the time of the full new registered account, but considering the understanding of this VPS host, or first of all on the network and my own in the use of VULTR VPS host products may self-perceived advantages, this can strengthen many new users of this machine knowledge and understanding.After all, in the current competitive host market, especially for the
compiled: (it has been successfully compiled on EmsVps, siyue innovation, and 28Vps, and passed)Applicable system: CentOS 5 32 bits/64 bitsApplicable host type: VPS or Linux Server Based on Xen Virtual TechnologyOne-click installation package: (directly copy the followingCommand, Run)Installation command: wget http://down.vpsma.com/vpn/pptpd.sh;sh./pptpd. sh;Aft
sometimes we are transferred from other places or to buy push domain name will have the original DNS, so we need to modify.
Click "Set nameservers" and then select the second item is to use the domain name here DNS, if we need to use Third-party DNS, then select the fourth item, and then enter our third party DSN on it.The third step, to confirm that DNS is not a problem, if we are in the use of GoDaddy DNS, and then we can resolve. Then parse the launch under "DNS Manager" in the second step
Many people do not know what the lamp host is, including small set just beginning also don't know, the original lamp is Linux, Apache, Mysql, Perl/php/python initials, which is a Web server Web site environment configuration mode. So how does a VPS Configure a lamp host? First, the lamp host is installed Linux system
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.