mirror of
https://github.com/leitbogioro/Tools.git
synced 2025-11-24 11:10:10 +08:00
Update ipv4_static_ipv6_dhcp_interfaces.cfg
This commit is contained in:
parent
25e1d52453
commit
e65b5be242
1 changed files with 1 additions and 0 deletions
|
|
@ -57,6 +57,7 @@ runcmd:
|
|||
- sed -ri 's/^#?PasswordAuthentication.*/PasswordAuthentication yes/g' /etc/ssh/sshd_config
|
||||
- update-rc.d ssh enable
|
||||
- /etc/init.d/ssh restart
|
||||
- sed -i 's/#$nrconf{restart} = '"'"'i'"'"';/$nrconf{restart} = '"'"'a'"'"';/g' /etc/needrestart/needrestart.conf
|
||||
- apt update
|
||||
- apt install dnsutils fail2ban file lrzsz net-tools traceroute unzip vim wget xz-utils -y
|
||||
- sed -ri 's/set compatible/set nocompatible/g' /etc/vim/vimrc.tiny
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue