-
Notifications
You must be signed in to change notification settings - Fork 1
/
ubuntu1504.sh
129 lines (129 loc) · 3.17 KB
/
ubuntu1504.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
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
1 sudo apt-get update
2 sudo apt-get install nginx
3 ls
4 mkdir c0dez
5 cd c0dez/
6 ls
7 git
8 sudo apt-get install git
9 git clone https://github.com/isitsteaknight
10 git clone https://github.com/ericsong/isitsteaknight
11 cd isitsteaknight/
12 ls
13 sudo apt-get install nodejs
14 npm
15 sudo apt-get install npm
16 ls
17 las
18 ls
19 venv
20 sudo apt-get install virtualenv
21 virtualenv venv
22 rm -r venv/
23 apt-cache search python3
24 apt-cache search python3 | grep venv
25 apt-cache search python3 | grep virtualenv
26 sudo apt-get install python3-virtualenv
27 python3-virtualenv venv
28 virtualenv -h
29 sudo apt-get install pyvenv-3
30 apt-cache search pyenv | grep 3
31 apt-cache search pyvenv | grep 3
32 sudo apt-get install python3.4-venv
33 pyvenv-3.4 venv
34 cd venv/
35 ls
36 cd bin/
37 source activate
38 python
39 cd ..
40 ls
41 cd
42 git clone https://github.com/ericsong/dotfiles
43 cd dotfiles/
44 ls
45 ./setup.sh
46 ls
47 vmi setup.sh
48 vim setup.sh
49 sudo apt-get install vim
50 ./setup.sh
51 ls
52 vim setup.sh
53 ./setup.sh
54 cd
55 ls
56 cd c0dez/
57 ls
58 cd isitsteaknight/
59 ls
60 npm i
61 clear
62 npm i
63 ls
64 git pull
65 pip install -r requirements.txt
66* sudo apt-get install postgresql
67 apt-cache search psycopg2
68 sudo apt-get install python3-psycopg2
69 pip install -r requirements.txt
70 ls
71 deactivate
72 rm -r venv/
73 pyvenv-3.4 --system-site-packages venv
74 source venv/bin/activate
75 pip install -r requirements.txt
76 pip install psycopg2
77 sudo apt-get install postgresql-server-dev
78 apt-cache search postgresql-server-dev
79 sudo apt-get install postgresql-server-dev-all
80 pip install -r requirements.txt
81 deactivate
82 rm -r venv/
83 pyvenv-3.4
84 pyvenv-3.4 venv
85 source venv/bin/activate
86 pip install -r requirements.txt
87 sudo apt-get install python-dev
88 pip install -r requirements.txt
89 sudo apt-get install python3-dev
90 pip install -r requirements.txt
91 history
92 history > ubuntu1504.sh
93 vim ubuntu1504.sh
94 ls
95 vim server.py
96 vim analyzer.py
97 sudo apt-get install mongo
98 sudo apt-get install mongodb
99 ls
100 cp -r ~/dump/ .
101 ls
102 mongorestore
103 ls
104 node /home/reggi/c0dez/IsItSteakNight/save.js
105 nodejs /home/reggi/c0dez/IsItSteakNight/save.js
106 ls
107 nodejs /home/reggi/c0dez/isitsteaknight/save.js
108 0 * * * * node /home/reggi/c0dez/IsItSteakNight/save.js
109 crontab -e
110 ls
111 sudo apt-get install tmux
112 ls
113 python server.py
114 ls
115 vim server.py
116 sudo python server.py
117 python server.py
118 ps aux | grep apache
119 ls
120 sudo python server.py
121 ls
122 python server.py
123 vim server.py
124 python server.py
125 tmux
126 ls
127 git status
128 history
129 history > ubuntu1504.sh