Forward 3389 ports of the local interface IP 61.144.14.72 to 116.6.73.229 3389
(The main access to the 61.144.14.72 3389 port, you will jump to 116.6.73.229 3389)
Steps
1, the first thing to do is/etc/sysctl.conf configuration file
Although the text mode in the system occupies a small resource, but sometimes it is more convenient to operate in a graphical interface, so, learn to install a graphical interface under the CentOS must be. There are two graphics interface, you can
1 Check the currently developed ports
#netstat-an
Suppose you found an unnecessary port of 631.
2 Find the port corresponding service
#lsof-I: 631
631 The corresponding service is CUPSD
3 View all Current services
#chkconfig –list
Found
After the installation test found that how HTML can run, and PHP is not, show file not Found, is very sad Google, found a variety of strange sayings, as a error_log can not understand the people could only try, and I will install the steps carefully
[Root@localhost yum.repos.d]# Cat Centos-base.repo
# Centos-base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# The Mirror system uses the connecting IP address of the client and the
# Update status of each
This article illustrates the method of installing Apachebench separately in the CentOS environment. Share to everyone for your reference, specific as follows:
These two days are testing the PHP performance optimization method.
To make the stress
CentOS Boot Custom Script
Sometimes we need to set up a script on the server so that he can start it on his own. The method is as follows:
cd/etc/init.d VI youshell.sh #将youshell. SH modified for your own foot name
Write your own script and save
Set default JDK under CentOS
Recently in the Linux, with the Yum source installed Opnjdk-devel version, with the command Ll/etc/alternatives/java view, found to point to the JRE directory, rather than JDK, this setting points to the JDK directory.
There is no need to dwell on the relationship between CentOS, Fedora and Redhat. Redhat I can't afford it, its anti-piracy work is very good, so I have never used redhat. Fedora is my first contact with Linux on a system, I think it is very good,
Introduced
CentOS 7 does not use Iptables by default, so it is not possible to open 80 ports by editing the Iptables configuration file
CentOS 7 uses a FIREWALLD firewall
To query whether to open port 80:
[root@joe-pc ~]# firewall-cmd--query-
Temporarily disable users in Linux
1. In the/etc/passwd file, locate the disabled user in the row, add # at the beginning of
/etc/passwd
#coderbolg: X:500:500::/home/coderbolg:/bin/bash
2. In the/etc/shadow file, locate the disabled user row,
Linux system boot starts the boot process starting from the beginning of the BIOS detection of hardware information =. Reads the MBR (the first sector of the NO. 0 track on disk), which is the master boot record, which is the primary boot recording.
Installing Docker # 0 on a virtual machine CentOS 7: Check Prerequisites: There are not many prerequisites for installing Docker in the Red Hat and Red Hat series of Linux distributions.# # # 1. The kernel uses the ' uname ' command to confirm that
Recently found that more and more operations and small partners have minimized the installation system of cleanliness, so, find old boy to consult, this "neat" good habit ah, must support, so publish this article and everyone share under.( 1 )
I. Banner information related documents/etc/issue: This file information is used for local login when the prompt information is saved in this document, by modifying the contents of this document can modify the local login prompt information.
Solve the problem that the CentOS 7 history command does not display the operation record time and user identity.The history command in centos6 displays the operating Command time and user identity. [Root @ bdkyr ~] # History294 16:46:48 root clear29
Many problems have occurred before the installation, mainly due to Kernel version issues (the specific situation is probably that the Kernel Header cannot be found ). This time I went through the process again and found that the problem was solved.
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