Part I: A brief introduction to Linux commands1 Command Prompt1.1 Command Prompt (prompt) character:[[email protected] ~]# Admin user[[Email protected] ~]$ ordinary usersSuch as:[[email protected] ~]# useradd-m aa//Create a normal user AA (username)[
1. Basic Configuration and System installationBasic Configuration and System installationWindows1. Configure IP 192.168.13.XControl Panel-double-click Network Connections--local area--right-click Properties-Double-click Internet Protocol (TCP/IP)IP
The following Linux versions are used: The Redhat Enterprise Linux 7.0 x86_64,tomcat version is tomcat-7.0.54.1. Download the JDK and Tomcat.Jdk:Http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.htmlI recommend using
The top command is primarily used to view information about the process, and it also provides the system's average load, CPU information, and memory information. The following shows the information that the top command provides by default:Average
How many long connections can a Socket TCP server have on a port?There are many answers on the internet, I don't know that's rightTheoretically, it's infinite.16, Linux, a port can accept the number of TCP links theoretical limit is?a.1024b.65535c.65
1. Introduction to SEDSed, stream editor, line editor, because of its character syntax, is equivalent to a specialized language.Sed is a stream editor that processes a single line of content at a time. When processing, the currently processed rows
The Linux system is controlled by the cron (Crond) system service. Linux systems have a lot of planned work on them, so this system service is started by default. In addition, because the user can set up scheduled tasks themselves, the Linux system
(i) CentOS Linux system password cracking1. Press E to enter edit mode on the GRUB Options menu2. Edit Kernel line/init 1 (or/single)3. Press B to restart4. After entering, execute the following command[Email protected] #passwd root (set root
Linux system LVM partition capacity reduction and expansionObjective: to Volgroup-lv_home shrinks to 20G and adds the remaining space to the Volgroup-lv_root1. Check disk usage First[Email protected] ~]# df-hFile System capacity has been used with
Virtual Machine A1. Set the firewall state to trusted2.SELinux currently modified to permissive3.SELinux permanent status modified to permissive4. Clear the Yum cache to check if Yum is availableVirtual Machine B1. Set the firewall state to trusted2.
memcached Boot ModeMethod One:Append the start command to the/etc/rc.d/rc.local file
/usr/local/memcached/bin/memcached-u root-d-M 2048-l 192.168.137.99-p 11211-p/tmp/memcached.pid
You can also specify no IP, which is native by default,
In Linux systems, firewalls (Firewall), url translation (NAT), packet records, traffic statistics, these functions are provided by the NetFilter subsystem, and iptables is the tool for controlling netfilter. Iptables organizes many complex rules
Input:ifconfig eth0The eth0 represents the first NIC of the host.Output:eth0:flags=4163 MTU theinet192.168.118.136Netmask255.255.255.0Broadcast192.168.118.255Inet6 fe80::20c:29ff:fe2c:3c8f Prefixlen -ScopeID0x20etherxx: 0c: in: 2c:3c:8f Txqueuelen +(
One colleague, while troubleshooting the problem, said that because of the network instability, some of the core of the soft interrupt is very high. So, let's analyze the accuracy of this assertion.Environment Description:The NIC soft interrupt is
The Linux system has two time, one is the system time, the other is the CMOS time.Need to put two time to tune!Method One: Modify the system time(1). Log in as root and adjust the system time with the date commandDate-s "2017/11/10 10:20:00" Change
ObjectiveIn recent months, the Linux kernel has probably been studied, the following need to conduct in-depth detailed analysis. The main development Board of S3C2440 is a hardware entity. Probably includes the following content:1 bootloader
Scheduled Tasks1. Timing Task Basics Writing format: Time-sharing week /bin/bash xxx.sh >/dev/null 2>&1 (or write to a file, if not, each scheduled task execution will generate a message to root, resulting in inode Full of problems). (Open mail
Linux entry notes: 14. Network basics and linux Network BasicsI. IP Address
An IP address is a globally unique identifier of each network node on the Internet. an IP address uniquely identifies a host (strictly speaking, it identifies a network
Use molly-guard to protect your Linux/Unix machines from being mistakenly shut down/restarted
I am going! Again. I thought I was logged on to my home server. As a result, the database server is restarted. In addition, I sometimes enter the
Configure https access for nginx and nginxhttps access
I. Preparation
Environment: centos6.8
Nginx: 1.13.6
Ii. Start
First install the dependency package:
Yum install-y gcc-c ++ autoconf automake make zlib-devel openssl-devel pcre-devel
Start
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