Present situation:Currently a physical machine 4 network card, EM1-EM2-EM3-EM4, need to implement 1, 2 network adapter bindings, 3, 4 network adapter bindings, mode-based preparation. That is, one network card is active, one is in a backup state,
1, by the effective scope of the Division1. Global Environment variables1,/etc/profile/etc/profile.d/*.sh2,/ETC/BASHRC2. Personal environment variables1, ~/.BASHRC2, ~/.bash_profile2, by Function Division1. Profile class: Interactive login Shell
After logging in to the system as the root user, enter the command under the current command window:LsWe can see that the directory structure is similar:The tree directory structure can be represented as:Analytical:
/bin:The bin is the
The installation process calls for Perl 's module digest::md5 to detect The integrity of the ISO file, and the interface needs to be called during the upgrade process. module Tkfor Perl:sudo Install libdigest-perl-md5-perlperl-TKMount ISO Image:
1, installing =============> yum install tigervnc-server using the Yum command 2. Edit the configuration file =============>vi/etc/sysconfig/vncservers3, close service =============>View Services ps-ef|grep-i VNCClose Service Vncserver-kill:14,
1. Use the Hadoop account to extract the/opt/hadoop directory:# su Hadoop$ TAR-ZXVF Hbase-${version}-c/opt/hadoop$ ln-s hbase-${version}/HBase2. Enter the/opt/hadoop/hbase/conf directory and modify the contents of the hbase-env.sh file:Export
Unix-like system directory structureUbuntu does not have the concept of a drive letter, there is only one root directory/, all files under it/root directorybin//system executable program, such as commandBoot /kernel and boot programs, all and
Locale-a viewing the character set supported by the host###########################Usermod-l VV Frozen Account vvUsermod-u VV cancels the freeze on account vvusermod-d/zq-m xkq change user xkq home directory to/zq###########################In UNIX
ubuntu16.04 server is installed on the virtual machine and cannot be connected with the native SSH connection;It suddenly occurred to me that there was a openssh at the time of installation, so on the virtual machineinstall openssh-server;can now
View CPU Information: LSCPUarchitecture:x86_64cpu op-mode (s): 32-bit, 64-bitbyte order:little endiancpu (s):48//Total Logical CPUs: Number of physical CPUs * Number of cores per physical CPU * Number of hyper-threads on-line CPU (s) list:0-47Thread
1. Go to a folder2. Find a file or content3. View the contents of a file4.kill process starts Tomcat stop Tomcat1. Go to a folderFor example, there is a directory, the path is:/home/user1/doc: cd/home/usrer1/doc2. Find a file(1) The Find command is
First, the installation of GCC softwareRedhat:yuminstall GCCSuSE linux:yast----> GCCSecond, installation Python3# wget https://www.python.org/ftp/python/3.4.4/Python-3.4.4.tgz# tar-zxf python-3.4.4.tgz# cd python-3.4.4#./ configure# make# make
Preliminary Research on discuz and discuz
Test:
Vim/etc/hosts # IP address conversion
Modify the windows configuration file and open the WordPad.
Vim/usr/local/apache/conf/httpd.
Some commands such as sudo of debian (Friendly ARM Embedded Board) cannot be completed by TAB, debian sudo
TAB is very convenient for long commands in use. Recently, sudo was added before the TAB key cannot be completed.
Therefore, some methods
Statistics on LAN traffic and Linux LAN traffic in linux
1: Count the Intranet traffic of 10.86.0.0/16
Save the following script as a file traffic-lan.sh (wait for 10 seconds to capture packets after running)
tcpdump -nqt src net 10.86.0.0/16 and
Ubuntu16.04 static IP settings, ubuntu16.04 static IPSet static IP address NAT mode for Ubuntu 16.04 installed in vmwarevm
1. installation environment
VMware 12
Ubuntu 16.04 x86_64
2. Configure the network environment in VMware
After the default
Modify the partition size (LVM) in centos7)
The full name of LVM is Logical Volume Manage, which is called Logical Volume manager in Chinese. Before operating LVM, you must first understand several concepts related to LVM: PV, PE, VG, and LV.
PV:
Linux top command and linuxtop command
What does the cpu information in the linux top Command mean?Cpu (s): 62.1% us, 15.9% sy, 0.1% ni, 19.4% id, 2.0% wa, 0.1% hi, 0.4% siMem: 8247956 k total, 8232004 k used, 15952 k free, 205240 k buffersSwap: 8191
How to update security patches for CentOS/RHEL SystemsGuideIn Linux, one of the most important requirements is to regularly update the latest security patches, or update available security patches for the corresponding Linux version. In this article,
Nginx anti-leech settings for centos serversO & M personnel often have some troubles. For example, websites are always plagiarized. For example, websites are always referenced in the pictures above. Although a picture or two pictures are not a lot
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