#su [OPTION] USERNAME switch users[OPTION]-Change the current working environment PWDNull default switch to root userBy default, SU only switches paht and users to username and does not change pwd. Use-and landing in username is essentially the same.
For Linux 32-bit memory space layout, you can refer to this blog post Linux C program process address Space Bureau of the source code in the various data types/code in the ELF format files and process space in the segment, under X86_64 and i386 is
Linux Delete directory is very simple, many people are still accustomed to use rmdir, but once the directory is not empty, it fell into deep distress, now use the rm-rf command.Direct RM is available, but add two parameters-rf that is: RM-RF
This command is used to count the number of characters and lines in a given file.Command syntax: WC option file nameWC-L filename This statement is used to count the number of rows in a file named filenameWC-C filename This statement is used to
Learn some of the information on the Internet, I tried to find out a bit, to sort out this article.Improper, but also ask everyone to criticize correct. Thank you.Important references
Boring tonight, learning to build a Linux time server, in fact, quite simple, this article is mainly a summary of my, we can learn from it.Required Packages:NTPConfigure Server-side1, first check whether the NTP package is installed, check the
Clone the system, restart the network card, error!The cloned system, first of all its physical address is the same, so make a physical address to Mr. The first step is to delete the/etc/udev/rules.d/70-persistent-net.rules
Linux-shell test
Nature of testing:
Is an operation command
According to $? Return Value to determine whether the condition is true
Operation Specifications:
Format 1: test Condition expression
Format 2: [conditional expressions]
Contact Method
Ubuntu64-bit system xampp environment for compiling 32-bit php extension Library
For the project, php needs to call the C language library. Because the Environment System is 64-bit, but php is 32-bit, a 32-bit library needs to be compiled, in this
Centos permanently disables running PackageKit in the background
When you use centos to install software using yum, you will always encounter this prompt:
Existing lock/var/run/yum. pid: another copy is running as pid 3053. another app is
How to configure iptables in Linux
View and clear save rules:
View the local iptables settings: iptables-L-n
Clear all rules in the filter of the preset table: iptables-F
Clear the rules in the User-Defined chain in the filter of the preset table:
Install and configure the ftp server in vsftpd in Linux1. Install vsftpd# Yum install vsftpd2. Start vsftpd# Service vsftpd start3. Disable the Firewall# Service iptables stopAt this time, you can log on anonymously.4. Disable selinux.#
LINUX Automatic Installation
LINUX Automatic Installation
Server (192.168.1.107)
1. Disable iptables and selinux
Service iptables stop
# Chkconfig iptables off
Setenforce 0
Or vi/etc/selinux/config
# This file controls the state of SELinux on the
Java deployment in linux
Note: Here we only record the steps for deploying the java war package and some linux commands. Installation and deployment of JDK, tomcat, redis, and nginx in linux are not discussed and documented.
1. Prepare the war
Jdk installation in linux has been configured with Environment Variables
I. Installation
Create the installation directory, create the installation path under/usr/java, and obtain the file to this path:# Mkdir/usr/java
1. jdk-6u11-linux-i586.bin
Find and search for Linux commandsCommand: findSearchIt is a real-time Feature and does not require a database. It is relatively slow.1. Recursively search for files in a specified path2. Search by various criteria3. Support for further instructions
Add your own kernel and ramfs based on the existing LinuxLiveCD
Original LiveCD: install-amd64-minimal-20130711.iso (gentoo)
Working System: CentOS
1. Copy the content of the original LiveCD:
[root@localhost Downloads]# mkdir
Overview of adding sudo permission groups to ubuntu users
groupadd -g 1005 dev
Add a user group and set the gid to 1005.
groupdel dev
Delete user group dev
Add User
adduser mike
The system will automatically prompt you to enter the
Linux shared library. so File naming and dynamic linkIn Linux, The. so file is a product of dynamic links. Shared libraries provide a set of functions and provide standard interfaces.Naming rules for shared libraries in LinuxThe shared libraries in
Set up an NFS Network File System server in CentOST6.6
NFS IntroductionNetwork File System (NFS) allows computers on the Network to share resources over TCP/IP networks. In NFS applications, local NFS client applications can transparently read and
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