2020年6月29日 星期一

ubuntu 16.04 安裝 notes

Ubuntu 16.04.6 LTS (Xenial Xerus)

iso 下載
https://releases.ubuntu.com/16.04/


https://releases.ubuntu.com/16.04/ubuntu-16.04.6-desktop-amd64.iso
https://releases.ubuntu.com/16.04/ubuntu-16.04.6-desktop-i386.iso


lxde ubuntu

Download lubuntu, a fast and lightweight Linux operating system. Lubuntu uses LXDE/LXQT and a selection of light applications. It focuses on speed and energy-efficiency. Because of this, Lubuntu has very low hardware requirements.


https://lubuntu.net/downloads/


http://cdimage.ubuntu.com/lubuntu/releases/16.04/release/lubuntu-16.04.3-desktop-i386.iso
http://cdimage.ubuntu.com/lubuntu/releases/16.04/release/lubuntu-16.04.3-desktop-amd64.iso


sudo apt-get update

sudo add-apt-repository universe



sudo apt-get update
sudo apt-get upgrade

sudo apt-install nmon tmux


sudo vi /etc/sudoers.d/myOverrides
guestuser ALL=NOPASSWD: ALL


fuser /home/sd1user/olddisk

lsof /home/sd1user/olddisk


./etc/sysconfig/network-scripts/ifcfg-enp2s0


./etc/ssh/sshd_config


舊版 putty, xshell 連線
# Ciphers and keying
#RekeyLimit default none
KexAlgorithms +diffie-hellman-group1-sha1
Ciphers aes128-cbc,aes192-cbc,aes256-cbc,aes128-ctr,aes192-ctr,aes256-ctr
MACs hmac-sha1

# Ciphers and keying
#RekeyLimit default none
Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,aes192-cbc,aes256-cbc
MACs hmac-md5-96,hmac-sha1-96,hmac-sha1,hmac-md5




https://blog.gtwang.org/linux/linux-badblocks-command-search-for-bad-blocks-tutorial/


sudo badblocks -wsv -o badblocks.txt /dev/sdxx


sudo badblocks -nsv -o badblocks.txt /dev/sdxx [ last-block ] [ first-block ]

last-block 指定最後的block
first-block 指定開始的block

沒有留言:

張貼留言