-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_me.sh
executable file
·55 lines (46 loc) · 1.67 KB
/
run_me.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
grep -n GRUB_CMDLINE_LINUX= /etc/default/grub | cut -d':' -f 1 | xargs -I {} sudo sed -i '{}s/.*/GRUB_CMDLINE_LINUX\=\"net.ifnames=0 biosdevname=0\"/' /etc/default/grub
ln -fs /lib/udev/rules.d/80-net-setup-link.rules /etc/udev/rules.d/80-net-setup-link.rules
cp etc-systemd-network/01-huawei-e3372h.link /etc/systemd/network/
cp etc-systemd-system/[email protected] /etc/systemd/system/
cp etc-udev-rules.d/1-physical-netns.rules /etc/udev/rules.d/
udevadm control --reload && udevadm trigger
cp -r home/docker-chrome/ ~/
mkdir ~/autostart
cp -r home/.config/autostart/* ~/.config/autostart/
cp -r usr-local-bin/* /usr/local/bin/
touch /usr/local/bin/webpage
# install docker
apt update
apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
add-apt-repository -y \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
apt-get update
apt-get install -y docker-ce docker-ce-cli containerd.io
# install fish
apt-add-repository -y ppa:fish-shell/release-3
apt-get update
apt-get install -y fish
#install other stuff
apt-get install -y xdotool wmctrl xterm git vim-gnome
# clone autoclicker
cd ~
wget https://github.com/Jonny1987/autclicker/archive/master.zip -O master.zip
unzip master.zip
rm master.zip
wget https://github.com/Jonny1987/dotfiles/archive/master.zip -O master.zip
unzip master.zip
rm master.zip
cp dotfiles-master/.bashrc ~/.bashrc
cp dotfiles-master/.vimrc ~/.vimrc
cp dotfiles-master/.gitconfig ~/.gitconfig
. ~/.bashrc
docker build -t docker-chrome4 docker-chrome/
usermod -aG vboxusers "$USER"