vi /etc/default/grub GRUB_CMDLINE_LINUXの箇所に下記を追加 net.ifnames=0 biosdevname=0 適用させる grub2-mkconfig -o /boot/gru…
続きを読む »タグ: Linux
fail2ban
yum install -y epel-release yum –enablerepo=epel -y install fail2ban
続きを読む »Swap 解放
echo 3 > /proc/sys/vm/drop_caches echo 0 > /proc/sys/vm/drop_caches swapoff -a && swapon -a
続きを読む »open-vm-tools
vmware-uninstall-tools.pl yum install epel-release yum install open-vm-tools /etc/init.d/vmtoolsd restart /etc…
続きを読む »CentOS7 iftop
yum install epel-release yum install –enablerepo=epel iftop
続きを読む »Linuxで回線速度測定 speedtest-cli
yum -y install python-setuptools easy_install speedtest-cli speedtest –list speedtest –server [サーバ…
続きを読む »pvコマンドでncコマンドの転送具合を見る
yum -y install epel-release yum -y install nc nmap pv 送信側 pv WindowsXP.img | nc -l 10000 受信側 nc 192.168.1.33 1…
続きを読む »Ubuntuのバージョン確認
lsb_release -a
続きを読む »Ubuntu16.04 ログイン時に自動でNum Lock
apt-get install numlockx sh -c ‘printf “[SeatDefaults]\ngreeter-setup-script=/usr/bin/numlockx on\…
続きを読む »Android-x86 6.0-r1 grubのmenu.lstは
デバッグモードにて起動 # mount -o remount,rw /mnt # vi /mnt/grub/menu.lst 引数の最後にvga=794とつけると1280×1024になる vga=askとつけると一覧で確…
続きを読む »