Linux Basics-Network settings

Linux files that store network interface information and MAC address correspondenceRedhat 5:/etc/modprobe.confRedhat 6:/etc/udev/rules/70-persistent-net.rulesTemporarily Configure IP address informationIfconfigIfconfig EthX Ip/mask [Up|down]Ifconfig

Rookie Advanced Linux Master Road--fifth day (next)

Tag: case-Sensitive execution file third-party software shared root directory/mnt: Additional temporary file system/opt: Optional directory, installation directory for third-party programs/proc: Pseudo file system, kernel mapping file (System tuning

Linux Manually add Users

Manually add UsersExample: Add user User1, base Group is user1,id number 5000, additional group is MyGroup1. Add in/etc/groupuser1:x:5000:Add a user name after its attached groupMygroup:x:504:user3,user12. Add

One Linux command per day: Head command

Head and tail are as simple as their name, which is used to display the beginning or end of a number of chunks of text, the head is used to display the beginning of the file to the standard output, and tail to see the end of the file. 1. Command

Linux System glibc Library version Information view

Original link: http://www.jbxue.com/LINUXjishu/29946.html1. CentOS/lib/i386-linux-gnu/libc.so. 6OrRpm-qi glibcOrls -l/lib/libc.so. 62. UbuntuLs-l/lib/i386-linux-gnu/libc.so.6 (32bit) ls-l/lib/x86_64-linux-gnu/libc.so.6 (64bit)OrApt-cache Show Libc63.

Analysis of Linux Interrupt processing principle

As a new mechanism, Tasklet can obviously take on more advantages. Just at this time the SMP is getting more and more fire, so the SMP mechanism is added in the Tasklet to ensure that the same interrupts can only be executed on one CPU. In the era

One Linux command per day (a): more command

The more command, which functions like cat, the Cat command is the entire contents of the file displayed on the screen from top to bottom. More will be a page-by-page display to facilitate users to read pages, and the most basic instruction is to

Manually Freeing Linux memory

Reprinted from: http://blog.csdn.net/wyzxg/article/details/7279986/Memory view of Linux:[Email protected] 0.1.0]# free-mTotal used free shared buffers Cachedmem:4032 694 3337 0 0 25Need to note is, mem used=free+buffers+cached, some cases is cached

The Linux base fdisk partition

FDISK command:1. View the partition information for the disk:Fdisk-l [-u] [device ...] : Lists the partitions on the specified disk device;Fdisk-l CENTOS6 start end represents the start, end cylinderCentos7 start end represents the start, end

Linux commands: About sudo

sudo Introduction to Commands:Make a user execute a command as another user1 . The configuration file is:/etc/sudoers configuration file format:Format: Who which_hosts= (runas) commandWho: Indicates which user which_hosts: which hostrunas: What

Linux disk and file system management

Linux disk and file system managementCPU, Memory (RAM), I/OI/O: Disks, EhtercardDisks: Persistent storage of dataInterface type:IDE (ATA): The same port, 133mb/sSCSI: Ultrascsi320, 320mb/s, UltraSCSI640, 640mb/sSATA: Serial, 6gbpsSAS: Serial,

Split tomcat log under Linux system

Under the Linux system, the Tomcat log catalina.out will not be rewritten as a date under the Windows system, so the log file is too large under the Linux system, this article describes the use of Cronolog tools, such as the effect under window, To

Linux LVM Logical Volume Brief

LVM (Logical Volume manager) is the short name for logical volume managementIt is a mechanism for managing disk partitions in a Linux environment. Not only can you use LVM as a disk management mechanism on Linux systems, but for other Unix-like

Linux Security and optimization

1. Server information statistics: (1)CPU, memory, hard disk, network card and other hardware model statistics; (2) application software information (version, installation directory), network configuration information and other records; (3) host

Processing of thread signals in Linux

1. Blog: Using signals in Linux multi-threading-1 http://blog.csdn.net/qq276592716/article/details/73252502. Blog: Linux Multithreading signal Summary http://blog.chinaunix.net/uid-26932153-id-3227403.html3. Blog post: Sigprocmask () function

Linux Processes and Threads six

//inter-thread communication#include #include#includestring.h>#include#include#include/*thread 1 To control thread communication method the global variable*/intg_num=Ten;void*thread_run (void*Arg) { //thread 1 is detached, but it is best not to

CentOS: Set system-level proxy, centos

CentOS: sets system-level proxy (to) and centos Address: http://www.cnblogs.com/cocowool/archive/2012/07/05/2578487.html YUM proxy settings Edit/etc/yum. conf and add # Proxy Proxy = http: // username: password @ proxy_ip: port/ You can also

Disable centos6 and centos7 firewalls, centos6centos7

Disable centos6 and centos7 firewalls, centos6centos7 CentOS6.5 view the Firewall Status: [zh@localhost ~]$service iptable status Display result: [Zh @ localhost ~] $Service iptable statusRedirecting to/bin/systemctl status iptable. service ●

ERROR 1300 (HY000): Invalid utf8 character string: & #39; & #39;, hy000utf8

ERROR 1300 (HY000): Invalid utf8 character string: '', hy000utf8 This error was reported when loading csv data into mysql. It took a long time for me to find the answer online. Mysql> load data infile '/home/hdh/8_sr/8_45.csv' into table xizang. fp45

In VMware, resize the disk in the sda1 partition where the VM Ubuntu14 system is located, and use ubuntu14sda1.

In VMware, resize the disk in the sda1 partition where the VM Ubuntu14 system is located, and use ubuntu14sda1.Expand the disk capacity of the sda1 partition where the VM Ubuntu14 system is located in VMware Generally, when resizing a disk under

Total Pages: 5467 1 .... 3914 3915 3916 3917 3918 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.