部分 I. System Administrator
目錄
- 2. System Infomation
- 1. Cpu Bit
- 3. shutdown
- 4. Profile
- 1. shell
- 5. Introduction
- 1. Distribution Version
- 2. Distribution information
- 3. Linux Installation
- 3.1. HDD Partition
- 6. Kernel
- 7. Package Management
- 1. apt-cache
- 1.1. search
- 1.2. depends
- 1.3. policy
- 2. Apt-Get
- 2.1. Search
- 2.2. Installation
- 2.3. Update
- 2.4. Remove
- 3. aptitude
- 4. Automatic Updates
- 5. dpkg
- 5.1. -i|--install 安裝.deb包
- 5.2. -r|--remove 卸載.deb包
- 5.3. -L|--listfiles <package> ... List files `owned' by package(s). 列出包中的檔案
- 5.4. -l|--list [<pattern> ...] List packages concisely. 列出.deb包
- 5.5. Status
- 5.6. dpkg-deb - Debian package archive (.deb) manipulation tool
- 5.6.1. -X, --vextract archive directory
Extract and display the filenames contained by a
package
- 5.6.2. -e, --control archive [directory]
Extracts the control information files from a package archive into the specified directory.
- 5.6.3. -b, --build directory [archive|directory]
- 5.7. dpkg-reconfigure
- 6. Upgrading
- 6.1. GUI
- 6.2. CLI
- 6.3. CDROM
- 7. 製作.deb安裝包
- 7.1. checkinstall — Track installation of local software, and produce a binary manageable with your package management software.
- 7.2. dh_make - prepare Debian packaging for an original source archive
- 7.3. control
- 8. Device information
- 1. dmesg - print or control the kernel ring buffer
- 2. smartctl - Control and Monitor Utility for SMART Disks
- 3. lspci - list all PCI devices
- 4. dmidecode - DMI table decoder
- 5. ethtool - Display or change ethernet card settings
- 6. usb device
- 7. SCSI
- 8. HBA
- 9. kudzu - detects and configures new and/or changed hardware on a system
- 9. udev - Linux dynamic device management
- 10. Kernel modules
- 1. modprobe - program to add and remove modules from the Linux Kernel
- 11. Locale
- 1. time zone
- 2. to change system date/time
- 2.1. NTP Server
- 3. Language
- 12. console / terminal
- 1. serial console
- 2. console timeout
- 3. TUI (Text User Interface)
- 4. framebuffer
- 13. Harddisk
- 1. 查看分區分區 UUID
- 2. Label
- 2.1. Ext2
- 2.1.1. 查看卷標
- 2.1.2. 更改卷標
- 3. 臨時增加 swap 分區
- 4. Show partition
- 5. Create partition
- 6. Clone partition
- 7. Format partition
- 7.1. ext3
- 7.2. ReiserFS
- 8. estimate disk / directory / file space usage
- 9. Convert from ext3 to ext4 File system
- 10. GPT
- 10.1. 查看分區
- 10.2. 創建分區
- 10.3. 退出
- 10.4. mount
- 11. loop devices
- 11.1. losetup - set up and control loop devices
- 14. Removable Storage
- 1. usb flash
- 2. CD / DVD
- 2.1. Mount an ISO file
- 2.2. create iso file from CD
- 2.3. burner
- 2.4. ISO Mirror
- 15. File System
- 1. Mount partition
- 1.1. Mount
- 1.2. Umount
- 1.3. bind directory
- 1.4. /etc/fstab
- 2. RAM FS
- 3. tmpfs
- 4. ftp fs
- 5. SSHFS (sshfs - filesystem client based on SSH File Transfer Protocol)
- 6. davfs2 - mount a WebDAV resource as a regular file system
- 7. File system test
- 7.1. ext4 vs btrfs
- 7.2. xfs vs jfs vs reiserfs
- 7.3. RAID10 (146G*8) vs EMC VNX 5300 (8G Fibre Channel)
- 7.4. Dell 2950(RAID5 500G SATA * 6) vs MD1200
- 16. Networking
- 1. Hostname
- 1.1. /etc/hostname
- 1.2. /etc/host.conf
- 1.3. /etc/hosts
- 1.4. hosts.allow / hosts.deny
- 1.5. /etc/resolv.conf
- 2. Network adapter
- 3. Ethernet Interfaces
- 3.1. ifquery
- 3.2. DHCP
- 3.3. Static IP
- 4. Mask
- 5. Gateway
- 6. Configuring Name Server Lookups
- 7. sysctl
- 8. bonding
- 8.1. Ubuntu
- 9. Finding optimal MTU
- 10. 介面名稱
- 17. Logging
- 1. syslog, klogctl - read and/or clear kernel message ring buffer; set console_loglevel
- 1.1. /etc/sysconfig/syslog
- 1.2. /etc/syslog.conf
- 1.3. logger
- 1.4. To Log Messages Over UDP Network
- 2. logrotate - rotates, compresses, and mails system logs
- 2.1. /etc/logrotate.conf
- 2.2. /etc/logrotate.d/
- 2.2.1. apache2
- 2.2.2. mysql
- 2.2.3. cacti
- 3. remote syslog
- 3.1. syslog-ng
- 3.2. rsyslog
- 18. Service
- 1. update-rc.d - install and remove System-V style init script links
- 2. invoke-rc.d - executes System-V style init script actions
- 3. runlevel
- 4. sysv-rc-conf
- 5. xinetd - replacement for inetd with many enhancements
- 5.1. tftpd
- 6. Scheduled Tasks
- 6.1. crontab - maintain crontab files for individual users
- 6.2. at, batch, atq, atrm - queue, examine or delete jobs for later execution
- 7. sv - control and manage services monitored by runsv
- 7.1. runsv
- 7.2. runsvdir
- 19. Process
- 1. top - display Linux tasks
- 2. ps - report a snapshot of the current processes
- 2.1. ps axef
- 2.2. ps -eo pid,cmd
- 2.3. ps jax
- 2.4. zombie process
- 3. mpstat
- 4. pstree - display a tree of processes
- 5. pid
- 5.1. pgrep, pkill - look up or signal processes based on name and other attributes
- 5.2. pidof -- find the process ID of a running program.
- 6. jobs
- 6.1. &
- 6.2. Ctrl + Z
- 6.3. jobs
- 6.4. fg / bg
- 6.5. nohup - run a command immune to hangups, with output to a non-tty
- 7. ionice - get/set program io scheduling class and priority
- 20. Authentication
- 1. User
- 1.1. Add a new user
- 1.2. remove an existed user
- 1.3. usermod - modify a user account
- 1.4. lock / unlock
- 1.4.1. /etc/passwd
- 2. Group
- 2.1. Add a new group
- 2.2. Add a user to the group
- 2.3. /etc/group
- 21. Permission
- 1. umask
- 2. Access Permissions
- 2.1. chown - change file owner and group
- 2.2. chgrp - change group ownership
- 2.3. chmod - change file access permissions
- 3. chattr - change file attributes on a Linux second extended file system
- 4. su - run a shell with substitute user and group IDs
- 5. sudo, sudoedit - execute a command as another user
- 5.1. NOPASSWD
- 5.2. 允許或禁止命令
- 5.3. Cmnd_Alias 用法
- 6. ACL - Access Control List
- 6.1. getfacl - get file access control lists
- 6.2. setfacl - set file access control lists
- 6.2.1. set
- 6.2.2. default
- 6.2.3. remove
- 6.3. backup and restore
comments powered by