Linux Settings default boot mode Inittab
2007-01-12 11:24:45| Category: It Technology | Tags: network | font size subscriptions allow the system to enter different modes at startup by modifying the/etc/inittab. As below Id:3:initdefault: that line,
Netstat
The Netstat command is used to display various network-related information, such as network connections, routing tables, Interface states (Interface Statistics), masquerade connections, multicast members (multicast memberships), and so on.
Regular expression grep cut sort UniqA regular expression is a representation that allows you to find text that matches a specific criterion.. Matches any single character, except for null* Match any number of individual characters before it. *
Common commands-shutdown, restart
Command
meaning
Reboot
Restart operation system
Shutdown–r now
Restart the operating system, shutdown will give other users prompt
First, directory PermissionsBefore learning the file permissions rwx, for the file can read the contents of the file (r), modify the file contents (w), the file as a script or application execution (x). What about the catalog?A directory in Linux is
LINUX 6--Installing Samba users accessing the File Share transfer service----------------------------------------Installation Environment---------------------------------------------
1. System Environment:CentOS6.5 "LINUX 6 as an SMB server"
One, user owner, group owner, permissionsEach file in Linux has three properties that allow the user to control how the file is accessed.When a file is created, the current user is the user owner of the file (that is, which user created the file),
First introduce mutt This software, it is a text-based interface of the mail client, very small, but powerful, you can use it to read and write, reply to save and delete your mail, can be in the Linux command line mode to send and receive mail
---View the default maximum number of file handles, the system defaults to 1024# ulimit-n1024----See how many handles the current process has opened# Lsof-n|awk ' {print $} ' |sort|uniq-c|sort-nr|more131 2420457 2424457 24231 .....Where the first
No permission to upload files solution1, the current login of ordinary users: User1/password12. Switch to the administrator (user2) User:sudo su-user2 Enter the password for the User2 User: Password2 orsudo su-do not specify the password to switch
Mini Linux:Start the process:CentOS 6:POST--Bootsequence (BIOS)--BootLoader-Kernel (RAMDisk)--RootfsWriting Service ScriptsUpstart configuration file/etc/init/*.conf (CENTOS6)/etc/inittab (CENTOS5)Default Run LevelRun the System initialization
1. create partition file, size 2Gif=/dev/zero of=/swapfile bs=1k count=20480002. Generate swap file systemMkswap/swapfile3. Activating swap FilesSwapon/swapfileThere is a problem with the wood, but this does not automatically mount the swap
0. Create mount Directorymkdir -p /www1, confirm whether there is no partition of the disk, such as, no partition of the disk is/DEV/XVDB, in your server may be/dev/vdb note the actual name modification-l2, partition for the disk, if partitioned,
In Linux, for data security, permission control is very important, in this case can be subdivided into two parts to understand hisPermission definitionsEach user of Linux belongs to a group and cannot be independent of the group. Linux file
Recently for some reason a Linux virtual machine, and then boot found unable to ssh. But can ping through the gateway, outside but can not ping it, troubleshooting for a long time, add a new virtual network card is not, found that their subnets are
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