-
Notifications
You must be signed in to change notification settings - Fork 0
/
install_debs.sh
50 lines (37 loc) · 2.32 KB
/
install_debs.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
#!/bin/bash
# Ideally this should be a script that does all the checks, but it will be different for every machine
# (and especially for a virtual machine), so for now, it's just a text document to describe what I do
# in particular to get a fresh debian installation up and running with my settings applied.
# Assume fresh installation of debian netinst with only standard utilities installed.
# (Optional): Add a new user to the system that has sudo rights, so that it is possible to log into the system
# just incase some automatically started scripts prevents from logging in to the main user.
# sudo adduser <username> .. then type in some details or just spam enter..
# sudo visudo - add the user just like root is..
# 1) Upgrade to sid
# - check that /etc/sources.list is set correctly.
# - apt-get update && apt-get upgrade
# [Maybe just a reboot.. not sure if strictly necessary]
# *: Skip step 2 and 3 if not running a virtual machine...(If done by a script, how to check if this is a virtual machine..?)
# 2) Install dependencies for virtualbox linux additions (are these everything?)
# apt-get install build-essential
# apt-get install linux-headers-$(uname -r)
# 3) MANUAL: Install virtualbox linux additions
# 3.1) From Host OS: Insert VirtualBox additions "cd"..
# 3.2) mount /dev/cdrom /media/cdrom && cd /media/cdrom
# 3.3) sudo the linux script.. Naturally troubleshoot on errors, if there are any..
# [Maybe a reboot, just to make sure, you know..]
# 4) Install desired software
# 4.1) GUI: X with i3wm
# 4.2) vim, git, firefox|chromium-browser, python3, stterm (from repo or tarfile?), ...
# 4.3) xclip, imagemagick (for screenshots with `import`?)
#### Personal below
# 5) Download and apply dotfiles (from github)
# 5.1) git clone repo .... maybe into ~/dotfiles
# 5.1) make symlinks to all dotfiles with: dotfiles/makesymlinks.sh
# 6) Either download full source of all projects, or use my own server to host them via git... hmmm
# Other things:
# Need to figure out where to set
# xset r rate 190 60
# (to set the keyboard repeat to 190 ms delay before it starts, and 60 ms in between each new key (I think that's right,
# but the manual says it's "number of repetitions per second, which cannot be correct as of my testing... )
# .. Could be an idea to reboot in between some steps, I don't know...