In daily operations, for security reasons, it is often necessary to make white list restrictions on the IP server landing. The main ways to restrict server access to IP are:1) Restrictions on SSH ports in iptables2)/etc/hosts.allow
Add User Useradd1 , command formatuseradd [Options] USERNAME2 , command functionsUseradd The command is used for new system users created in Linux. Useradd can be used to create user accounts. After the account is built, then use passwd to set the
Linux Terminal Introduction
Shell prompt
Bash Shell Basic Syntax
use of BASIC commands:ls, pwd, CD
View System and BIOS Hardware Time
How Linux gets Help
Linux shutdown command: Shutdow, INIT, etc.
Linux 7 Boot levels
Linux package Management (2)Centos:yum, DNFurl:ftp://172.16.0.1/pub/Yum:yellow Dog, Yellowdog Update ModifierYum Repository:yum RepoStores a number of RPM packages, as well as the relevant metadata files for packages (placed in a specific directory:
CentOS6.x source code compilation and installation of Git
The Git version of CentOS is relatively old and often cannot meet the functional requirements.
The latest version can only be installed by source code. Record to avoid forgetting:
0) install
Install the mbstring extension in CENTOS7
1. Uncaught Error: Call to undefined function mb_strlen ();
When the above error occurs, mbstring extension is not installed;
2. Go to the PHP installation directory.
Cd/temp001/php-7.1.0/ext/mbstring
Add a port under CentOS
In CentOS, only port 22 is used by default. If you want to use other ports, you need to add them by yourself. What you say on the Internet is available. Some methods have not been completed for a long time, the following
CentOS 7 kernel upgrade(1) key for importing elrepo
Rpm -- import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org(2) install the elrepo Source
Rpm-Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm(3) In the ELRepo source of yum,
Introduction to the advantages of linuxThe Linux system allows us to understand how sharing, openness, and freedom can make our lives better. The Open Source spirit is a kind of feeling that makes every technician engaged in the Linux Industry proud,
Centos redirection command
Yw> outfile 2> & 1 $ cat outfile cat: oyyw: No file or directory
And
$ Cat oyyw 2> & 1> outfilecat: oyyw: No file or directoryConfuse
After collecting some information, the answer is as follows:
Order is very important!
Centos Mac Modification
Add a line in the file/etc/sysconfig/network-scripts/ifcfg-eth0 similar to the following
MACADDR = 00: 04: AC: 33: 1C: 3B
A: The MAC address is the physical address of the NIC. You can change the MAC address in Linux:1) Close
Inxi: an artifact used to obtain Linux system and hardware informationGuideIn this article, we will see how to use inxi to obtain the details. In the Forum technical support, it can be used as a debugging tool to quickly determine the user's system
Delete the jdk that comes with CentOS6.5.
First, check the JDK version, Java-version
The uninstall procedure is as follows:
[Html] view plaincopyprint?
[Root @ localhost ~] # Rpm-qa | grepjdk
Java-1.6.0-openjdk-1.6.0.0-1.50.1.11.5.el6_3.x86_
AMD officially announced the 7th Generation of desktop level APU AM4 new interfacesGuideIn 5th day of this month, AMD officially announced the entry-level seventh-generation desktop APU as Bristol Ridge, which significantly improved performance and
Ubuntu 17.04 is the first daily build version (Zesty Zapus) released!GuideThe upcoming Ubuntu 17.04 (Zesty Zapus) Operating System officially announced its entry into the development process. The first daily build version image for early adopters
Why does the hammer donate money to the OpenBSD foundation?GuideHammer technology will sell tickets each time it holds a press conference, but it is not for making money. The income will be donated to public welfare undertakings, and the ticket
Fedora 25 is coming!GuideAfter six months of development and two delays, the Linux-based Fedora 25 operating system was officially released today. This is the first release with the next-generation Wayland display server installed by default,
ORWL: a powerful micro-open source computerGuideIn today's information age, Lightbot security is the most important thing. I'm afraid no one will want their important data to fall into the bad guys. However, even hardware without security protection
Microsoft's helplessness with linuxGuideRecently, Microsoft proudly announced that it is becoming a platinum member of the Linux Foundation. 15 years ago, former CEO Steve Ballmer described Linux as cancer. Although this action is meaningful to
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