First, the installation package:P13390677_112040_linux-x86-64_1of7.zipP13390677_112040_linux-x86-64_2of7.zipSecond,: Configure global parameters:1. Configure permissions for Oracle users: vim/etc/security/limits.confIn the last line of configuration,
1. Specify the script interpreter at the beginning#!/bin/bash or #!/bin/sh2, and then add version information, etc.#Date: 2016-12-27#Author: sadoc.blog.51cto.com#Mail: [Email protected]#Function: Scripting Features#Version: VersionThe script is
1.url does not write the port number, the default is 80 port; This machine is 127.0.0.1 or localhost2. User ManagementView Current User:ID: can view the current user; WhoAmI: view the current user; Who: can view the currently logged in user; W: can
Instructions
Role
Example
Description
System Management Class commands
1
Cd
Change the current directory
cd/directory/
Converting the specified directory
Experimental EnvironmentVirtual machine Software: VMware Workstation operating system: Read Hat enteprise 6.31. Root password is cracked and grub is not encrypted.
1. In 5 seconds, seize the opportunity: Press any key (except the ENTER key),
Under the Linux system, when a service is set up, it needs to be mounted under/ETC/RCX.D, and the startup script will be written under/etc/init.d/.Create a new file under/etc/init.d/Tomcat (need to operate under root)Vi/etc/init.d/tomcatWrite the
Transferred from: http://www.wowotech.net/linux_kenrel/uevent.html1. Function of UeventUevent is a part of Kobject that notifies the user of a space program when the Kobject state changes, such as adding, removing, and so on. After the user space
Expr usageThe expr command is generally used for integer values, but can also be used for strings. The General format is:#expr argument operator argumentExpr is also a manual command line counter.# $expr 10 + 1020# $EXPR 1500 + 9002500# $expr 30/310#
Modify IP permanent effect as followsVi/etc/sysconfig/network-scripts/ifcfg-eth0 (eth0, first Nic, if the second block is eth1)Modify the IP as follows:device=eth0 #如果是第二块刚为eth1BOOTPROTO=static #网卡获得ip地址的方式, static and DHCP two ways ipaddr=192.168. 1
System InformationThe processor architecture of the Arch Display machine (1)UNAME-M Display the processor architecture of the machine (2)Uname-r displaying the kernel version in useDMIDECODE-Q Display hardware system
The content originates from the people's post and Telecommunications press "Linux command Application big dictionary"tell 729 commands, 1935 examplesLearn about the Linux system's reference books, desk book, encountered the command or command not
Tail Show end of file1 , command formatTail[option] ... [File] ...2 , command functions show file contents, display the file's 10 lines by default, you can use [-n] # | [-#] # represents the number of rows displayed, options specify how many
Mark, today want to let a REDHAT7 open iptables NAT forwarding function, find a half day.A server: 192.168.30.20/24b Server: 192.168.30.1/24,eth0; 192.168.40.1/24,eth1C Server: 192.168.40.20/24Goal: Allow A to ping and ssh to the C machine. This
1. List the user name of all logged-in users on the current system, note: The same user logged in multiple times, only once.[Email protected] ~]# Useradd user1[Email protected] ~]# passwd user1Changing password for user user1.[email protected] ~]#
There are two cases of executing. sh files under Linux:First, direct./plus file name. SH, if running hello.sh for./hello.sh "hello.sh must have x permission"Second, direct sh plus filename. sh, such as Run hello.sh for SH hello.sh "hello.sh can have
Add a user to a user group and never use it directly: Usermod-g GroupaDoing so will allow you to leave the other user groups, just as members of this user group Groupa. Should be added with the-a option: usermod-a-G groupa User(fc4:usermod-g
To view the permissions for a Linux file: Ls-l file name
To view permissions for a Linux folder: Ls-ld folder name (in the same directory)
Modify file and folder permissions: sudo chmod-(on behalf of type) XXX (owner) xxx (group user) xxx (other
One, host-based (host) to make a simple bootable Linux1. Partition the target diskTwo:On Host:/DEV/SDB1,/DEV/SDB2/DEV/SDB1 mount to/mnt/boot,/dev/sdb2 mount to/mnt/sysroot2. Install GRUB to target disk# Grub-install--root-directory=/mnt/dev/sdb3.
Linux cgroups IntroductionThe above is the namespace technology for building Linux containers, which helps isolate the process from its own space, but how does docker limit the size of each space and ensure that they don't scramble for each other?
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