-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprovisioning.txt
47 lines (36 loc) · 1.36 KB
/
provisioning.txt
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
Following steps assume clean Debian 10 system
# 0. Basic setup
/usr/sbin/adduser annulen
/usr/sbin/usermod -a -G sudo annulen
su annulen
ssh-keygen -t ed25519
sudo apt-get install mc rsync
# copy .weechat from backup
# copy .config and .rbot from this repo
sudo loginctl enable-linger annulen
echo 'deb http://deb.debian.org/debian buster-backports main' > /etc/apt/sources.list.d/backports.list
apt-get update
apt-get install git/buster-backports
# 1. https://docs.docker.com/engine/install/debian/
apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo \
"deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
apt-get update
apt-get install docker-ce docker-ce-cli containerd.io
# 2. gha runner
sudo ./svc.sh install
# 3. Weechat & rbot
apt-get install weechat-headless
git clone [email protected]:qtwebkit/qwkbot.git
#sudo apt-get install ruby ruby-dev libtokyocabinet-dev zlib1g-dev libbz2-dev
#sudo gem install tokyocabinet
sudo apt-get install ruby-tokyocabinet
cd qwkbot && ruby setup.rb
systemctl --user start weechat-headless
systemctl --user start qwkbot