-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstallation.txt
107 lines (72 loc) · 2.2 KB
/
installation.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
### Install common software
```
sudo apt install rofi xclip xfce4-volumed curl xfce4-clipman zsh fonts-powerline i3 i3blocks volumeicon-alsa
```
### Enable session management
- Enable session management in the XFCE session chooser settings
- Select 'choose session on startup'
- Add i3-wm as a startup task in 'Session and startup'
- Kill xfwm4 and xfdesktop (and possibly xfce4-panel). On the right side of each entry choose that it won't restart if killed. Save session
- Logout and back in
### Install ohmyzsh
```
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
chsh -s /bin/zsh
```
### Get rid off blank screen after closing lid/suspend
- Install xscreensaver
- Go to power options and set the behavior on lid close
### Get dotfiles
First add/generate a key to Github:
https://help.github.com/en/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent
```
git clone git@github.com:hafenr/configs.git
cd configs
rm ~/.profile
python create_links -c
```
### Install Java
```
sudo add-apt-repository ppa:webupd8team/java
sudo apt update; sudo apt install oracle-java8-installer
sudo update-alternatives --config java
```
### Disable WIFI power saving mode
```
sudo vim /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
```
Change the following line to 2:
```
wifi.powersave = 3
```
### Install SBT & Scala
```
sudo apt-get install scala
```
```
echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823
sudo apt-get update
sudo apt-get install sbt
```
### Install VimPlug
```
sudo apt install curl
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
```
### Install hadoop
```
cd Downloads
wget http://mirror.easyname.ch/apache/hadoop/common/hadoop-3.0.3/hadoop-3.0.3.tar.gz
tar xvzt hadoop*
chown -R rhafen:rhafen /opt
mv hadoop-3.0.3 /opt/
```
### Install Spark
```
cd Downloads
wget http://www.pirbot.com/mirrors/apache/spark/spark-2.3.2/spark-2.3.2-bin-hadoop2.7.tgz
tar xvzt spark*.tar.gz
mv spark-2.3.2-bin-hadoop2.7 /opt/
```