The source of the operating system and my path to exploration
First contact to Linux on Android command terminal (run Ubuntu dual system)
Enter Ubuntu Pit: Installation system is about to be mounted for the fourth time (4k)
Learn Linux for
Write your own client programAlso is to achieve the function of the previous article, the client program is no longer using Telnet, their own code implementation, the server-side program needs to be modified under
Server programs
System-Level startup files====================================1,/ETC/RC master boot file, do not modify it2,/etc/rc.conf decided to launch which system comes with the daemon, do not modify it3,/etc/rc.conf.local If you want to interfere with the
In Linux, the default root prompt character is #, while the general identity user's prompt character is $;This login, support language changed to English[ root@linux ~]#[root@linux ~]# [Root@linux ~]# [ Root@linux ~]#[root@linux ~]# lc_time=enShow
Linux adds commands to the path in the blog category:LinuxLinuxapachebashSimply put, path is a string variable of a set of paths, and when you enter a command with no path, Linux looks for the command in the path of a path record. Some words are
Linux commands used in work
File editing operation commands
The method for searching strings in vi is as follows:
1. Enter "/string" in command mode, for example, "/Section 3 ".
2. If you want to find the next one, press "n.
To search up from the
Centos6.5 Nic command
Commands For nic operations:
1. lsmod check whether the NIC module is loaded and whether the NIC Driver is good.
2. dmesg: Check whether the NIC is detected.
3. ifup ifdown
4. ifconfig to check whether the NIC works
Basic usage of netfilter/iptables firewall on Centos 6.6
1 beforehand:
1) What is a firewall?
Firewall: a component that works on a host or network edge, checks incoming and outgoing packets according to predefined rules, and processes matched
Centos6.5 Nic settings.
1. Modify host name:
The configuration file is/etc/sysconfig/network. Use hostname to display the host name. Modifiable with Parameters
2. There are many ways to modify the ip Address: setup command, ifconfig eth0 ip
Special permissions in CentOSSpecial permissions:Passwd: sSUID: when running a program, the owner of the corresponding process is the owner of the program file rather than the initiator;Chmod u + s FileName. If the file has the execution permission,
Online resizing of LVM partitions in CentOS 5.5
# Mount a New GB hard disk to the serverFdisk-l# New mounted Hard Disk/dev/sdb found
# Create a physical volume (PV)Pvcreate/dev/sdb
# Extend the volume group and add/dev/sdb physical volumes to
Permission management in LinuxLinux Files have three identities and four permissions. The three identities are:U: file ownerG: group to which the file belongsO: other usersEach identity has four permissions:R: read)W: write Permission)X: execute
How can we see whether the CentOS system is 32-bit or 64-bit?
How can we see whether the CentOS system is 32-bit or 64-bit?
32-bit system:
[root@localhost ~]# file /sbin/init/sbin/init: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV),
RPM package production method and rpm Production Method
I. Introduction to RPM
RPM is the abbreviation of Red Hat Package Manager. It is intended to be the management of Red Hat software packages. As the name suggests, it is the management of
In Linux, TCP network programming communicates with C # socket programming based on Windows,
I. Basics of TCP network programming in linux
Socket (): used for Socket initialization.
Bind (): Bind a socket to a port on the local machine to listen to
SUID, SGID, and Sticky attributes of the file
SUID attributesThe SUID attribute is generally used on an executable file. When a user executes the file, the user temporarily has the permission of the owner of the executable file. When you use the "ls-
Linux-(12) network connection in Linux
In Linux, the Ethernet interface is named eth0, eth1, and so on. 0. 1 indicates the network card number.
To view the NIC information, run the ifconfig command.
Ifconfig-a view all interfaces
Ifconfig eth0
CentOS7.1 enable third-party Libraries
Adding untrusted databases is not a good idea, especially in the production environment, which may cause fatal problems. However, as an example, here we will add some libraries that prove trustworthy to the
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