43 lines
636 B
Bash
43 lines
636 B
Bash
apt install vim curl mc sudo
|
|
apt autoclean
|
|
apt autoremove
|
|
poweroff
|
|
ip a
|
|
ip l
|
|
ip n
|
|
ip r
|
|
poweroff
|
|
apt update
|
|
apt upgrade
|
|
poweroff
|
|
apt install -y git-core
|
|
poweroff
|
|
apt update
|
|
apt upgrade -y
|
|
poweroff
|
|
nano .bashrc
|
|
vi /etc/hosts
|
|
nano .bashrc
|
|
poweroff
|
|
echo "PermitRootLogin yes" > /etc/ssh/sshd_config
|
|
sed -i 's/bullseye/ansible/g' /etc/host
|
|
sed -i 's/bullseye/ansible/g' /etc/host{s,name}
|
|
sed -i 's/bullseye/ansible/g' /etc/host{s,name}; reboot
|
|
apt update
|
|
apt upgrade
|
|
apt install ansible
|
|
apt install ansible
|
|
ip a
|
|
reboot
|
|
ip a
|
|
apt install ansible
|
|
ip a
|
|
vim /etc/network/interfaces
|
|
reboot
|
|
poweroff
|
|
ssh-keygen
|
|
vim ~/.ssh/config
|
|
clear
|
|
exit
|
|
exit
|