mirror of
http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/blog-contributions.git
synced 2025-07-02 11:56:40 +00:00
updated
This commit is contained in:
parent
86565ba3a2
commit
a70c1566c6
1171 changed files with 27461 additions and 0 deletions
31
servers/Arch/3.sh
Normal file
31
servers/Arch/3.sh
Normal file
|
@ -0,0 +1,31 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ "$EUID" -ne 0 ]
|
||||
then
|
||||
echo 'MUST RUN AS ROOT!'
|
||||
exit
|
||||
fi
|
||||
|
||||
|
||||
|
||||
pacman -S firefox curl keepass discord telegram-desktop virt-manager qemu libvirt ebtables dnsmasq bridge-utils libreoffice
|
||||
|
||||
username=$(ls /home | head -n1 | sed 's/\/$//')
|
||||
|
||||
|
||||
|
||||
sudo gpasswd -a $username libvirt
|
||||
sudo systemctl enable libvirtd --now
|
||||
sudo systemctl status libvirtd
|
||||
|
||||
mkdir /home/$username/Documents/
|
||||
mkdir /home/$username/Documents/Github/
|
||||
mkdir /home/$username/Documents/ISOS/
|
||||
mkdir /home/$username/backups
|
||||
|
||||
|
||||
sudo -u $username bash -c "$(wget https://raw.githubusercontent.com/ech1/serverside/master/ssh/ssh_arch.sh -O -)"
|
||||
|
||||
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue