Ubuntu
update
package list
# apt-get update
update installed package
# apt-get upgrade
version
$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=16.04 DISTRIB_CODENAME=xenial DISTRIB_DESCRIPTION="Ubuntu 16.04.3 LTS"
architecture
$ arch x86_64
add user ※ if use 'useradd' command, it is not create home directory
# adduser [user name]
add NIC
# vim /etc/network/interface auto eth1 iface eth1 inet static address 192.168.0.10 netmask 255.255.255.0
apparmor
mysqlのデータベースをメモリ上に配置
# vim /etc/apparmor.d/usr.sbin.mysqld /dev/shm/mysql/** rwk,