Difference between revisions of "Second Steps (Buster)"
Jump to navigation
Jump to search
(Created page with "After we're finished with IPMI. * Setup private key in ~/.ssh/authorized_keys for admin account I have grown used to vim, lately, so: * apt-get install vim vim-doc exuberan...") |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
* Set PasswordAuthentication no in /etc/ssh/sshd_config | * Set PasswordAuthentication no in /etc/ssh/sshd_config | ||
* systemctl restart ssh | * systemctl restart ssh | ||
+ | * After verifying I can sign in, I set the admin's password to something incomprehensible. | ||
+ | * '''/etc/vim/vimrc''' | ||
+ | ** I turn on most every option, except for compatible, ignorecase, and smartcase. I also add ''set hlsearch'' to add search highlighting. If you want to change the length of a tab (rather useful on console): | ||
+ | |||
+ | set tabstop=4 | ||
+ | set shiftwidth=4 | ||
+ | |||
+ | |||
+ | * I uncomment set mouse in /etc/nanorc as well. I sometimes am training people and teaching both vim and some other arcane topic at the same time is usually rather much. | ||
+ | |||
+ | * /etc/resolv.conf | ||
+ | search invalid | ||
+ | nameserver ::1 | ||
+ | nameserver 1.1.1.1 | ||
+ | nameserver 8.8.8.8 | ||
+ | * Localhost (we'll setup unbound in a bit), Cloudflare, and Google. If your host provides their own DNS servers, those will be slightly better. | ||
{{Bottom Buster}} | {{Bottom Buster}} |
Latest revision as of 01:29, 13 March 2021
After we're finished with IPMI.
- Setup private key in ~/.ssh/authorized_keys for admin account
I have grown used to vim, lately, so:
- apt-get install vim vim-doc exuberant-ctags
- Heretics may substitute this with their inferior editor of choice
- update-alternatives --config editor
- Set PasswordAuthentication no in /etc/ssh/sshd_config
- systemctl restart ssh
- After verifying I can sign in, I set the admin's password to something incomprehensible.
- /etc/vim/vimrc
- I turn on most every option, except for compatible, ignorecase, and smartcase. I also add set hlsearch to add search highlighting. If you want to change the length of a tab (rather useful on console):
set tabstop=4 set shiftwidth=4
- I uncomment set mouse in /etc/nanorc as well. I sometimes am training people and teaching both vim and some other arcane topic at the same time is usually rather much.
- /etc/resolv.conf
search invalid nameserver ::1 nameserver 1.1.1.1 nameserver 8.8.8.8
- Localhost (we'll setup unbound in a bit), Cloudflare, and Google. If your host provides their own DNS servers, those will be slightly better.