差異處
這裏顯示兩個版本的差異處。
Both sides previous revision 前次修改 下次修改 | 前次修改 | ||
linux [2016/08/28 13:00] jz |
linux [2018/03/26 09:36] (目前版本) jz |
||
---|---|---|---|
行 21: | 行 21: | ||
**Do NOT add your admin user to the web group** | **Do NOT add your admin user to the web group** | ||
</code> | </code> | ||
+ | |||
+ | |||
+ | ====== Hardware information ====== | ||
+ | |||
+ | * inxi -Fx | ||
+ | * lscpu | ||
+ | * lshw -short | ||
+ | * hwinfo --short | ||
+ | * lspci | ||
+ | * lsscsi | ||
+ | * lsusb | ||
+ | * lsblk | ||
+ | * df -h | ||
+ | * fdisk -l | ||
+ | * mount | column -t | ||
+ | * free -m | ||
+ | * dmidecode | ||
+ | * cat /proc/cpuinfo | ||
+ | * cat /proc/version | ||
+ | * cat /proc/scsi/scsi | ||
+ | * cat /proc/partitions | ||
+ | * hdparm -i /dev/sda | ||
+ | * lstopo | ||
+ | |||
+ | http://www.binarytides.com/linux-commands-hardware-info/ | ||
+ | |||
+ | ====== ldap ====== | ||
+ | |||
+ | [[ldap|ldap]] | ||
+ | |||
+ | ===== Coredump ===== | ||
+ | |||
+ | Disable coredump | ||
+ | |||
+ | <code> | ||
+ | sysctl -w kernel.core_pattern=|/bin/false | ||
+ | ulimit -c 0 | ||
+ | </code> | ||
+ | |||
+ | **Ref** | ||
+ | https://www.kernel.org/doc/Documentation/sysctl/kernel.txt |