mirror of
https://github.com/SantaSpeen/kkep-praktic-2022.git
synced 2026-05-20 00:20:15 +00:00
l-*.sh
This commit is contained in:
@@ -21,6 +21,13 @@ echo -e "10.10.10.10\tisp" >> $HOSTS
|
||||
|
||||
cat $HOSTS
|
||||
|
||||
|
||||
# APT config
|
||||
|
||||
apt-cdrom add
|
||||
apt install tcpdump bind9 ssh nfs-common network-manager curl lynx net-tools vim bind9utils cifs-utils -y
|
||||
apt install zsh git -y
|
||||
|
||||
# SSH config
|
||||
|
||||
SSH_CONFIG="/etc/ssh/sshd_config"
|
||||
@@ -28,7 +35,3 @@ cp $SSH_CONFIG $SSH_CONFIG.old
|
||||
sed -ie 's/#PermitRoot.*/PermitRootLogin yes/' $SSH_CONFIG
|
||||
systemctl restart ssh.service
|
||||
|
||||
# APT config
|
||||
|
||||
apt-cdrom add
|
||||
apt-get install tcpdump bind9 ssh nfs-common network-manager curl lynx net-tools vim bind9utils cifs-utils -y
|
||||
Reference in New Issue
Block a user