We have disabled ssh root users to log on remotely. If you need it, refer to it.
1. Prohibit ROOT users from accessing through SSH remotely.Modify the/etc/ssh/sshd_config file. Find the following sentence:# PermitRootLoginYesAs
On the homepage, we can go to the renewal method.
1. If your xampp does not have a devel package, the compilation will fail. This is because the include php tutorial. h fails during compilation. Therefore, make sure that the devel packages of xampp
Some time ago, I completed the PHP automatic upgrade script for the one-click installation package of lnmp. It is released today. If you want to upgrade the PHP version of lnmp, you can try it out. Supports all versions of lnmp.
Only a lower
This is your own configuration of linux CentOS-6.2 system installation and basic software environment configuration notes have a need for friends can refer.
1. Install CentOS6.2
1. Select Desktop for Installation
Note: If you have modified the host
The installed servers are not equipped with a firewall. Now let's assume we have set up ssh, Open Port 20, and no other settings. How can we do this simply and quickly? How can we quickly set apache access?
Use vim to open/etc/sysconfig/iptables.
This article describes how to set the proxy_cache cache and cancel the cache in Nginx in Linux. If you need it, refer to it.
Add the following sentence to the server {} of the configuration file:
The Code is as follows:
Copy code
In linux, the shutdown command is used to shut down and restart the server, but the following references are different.
Restart command:
1. reboot2. shutdown-r now restarts immediately (used by the root user)3. shutdown-r restarts automatically
The History command is mainly used to display the History Command records and issue commands in the History records.1> History command syntax:[Test @ linux] # history [n][Test @ linux] # history [-c][Test @ linux] # history [-raw]
Next I will summarize the two solutions that do not remember the mysql root User Password in linux. If you encounter such problems, try the following solutions.
The safest status is to operate on the server Console and unplug the network cable.
1.
This article is a basic knowledge file of linux. We mainly tell you some basic file configurations in linux, including user configuration files, global configuration files, important configuration files, etc. If you need to learn, you can go to the
This article describes how to use find in linux to batch Delete Empty files and empty folders. For more information, see.
How to batch Delete Empty files (files with a size equal to 0) in linux
The Code is as follows:
Copy code
In linux, The chkconfig command is mainly used to update (start or stop) and query the running level information of the system service. Keep in mind that chkconfig does not automatically disable or activate a service immediately. It simply changes
This article will introduce you to anyone who needs to modify the Linux or Unix Password in PHP.
The following tools and software must be installed:-Shell script for password modification;-Sudo access;-Apache or Lighttpd web server;-PHP server
Today, the computer boot blue screen problem occurs after the Windows 7 system is installed, I am using Lenovo machine, and then I found a solution on the official website about the computer boot blue screen, I will share this article with you for
The Network Setting method is limited to Linux systems managed by rpm packages, such as fedora, redhat, and centos. Other systems may be slightly different.
After installing Linux, log in and modify the file:
The Code is as follows:
This article will share with you an article on how to configure Linux to shield IP addresses from defending against DDOS attacks. If you need to set it, you can refer to it.
Introduction to DDoS deflate
DDoS deflate is a free script for defending
This article introduces how to set IP addresses and DNS in Linux. For more information, see.
Open the Linux System interface and select "System"-"Administration"-"Network" To Go To The following interface. Double-click "Active" in the red area to
This article will summarize some common Linux server performance tracking and Common commands for server monitoring. For more information, see.
During website performance optimization, we often need to check various Server metrics to quickly find
Today, I want to share with you how to change the default ssh port in linux and how to restrict the logon of a specified IP address and prevent the ROOT user from logging on to the server remotely.
1. Modify the default SSH port
The Code
1. How to access the Linux Command Terminal
(1) Press ctrl + alt + t
(2) Press ctrl + alt + (F1-F6 can be), press ctrl + alt + F7 to exit
2. Press ctrl + alt + (F1-F6) to enter the command terminal, enter the correct user name and password at login
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service