-
Notifications
You must be signed in to change notification settings - Fork 0
/
install_basic_ubuntu_set_1.sh
64 lines (42 loc) · 1.9 KB
/
install_basic_ubuntu_set_1.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
#Script to install basic set of apps manually. Use nano or Cloud Shell Editor to edit this file.
# Ver. 1.1
# You can also do it elegantly by moving to $HOME/.customize_environment, see https://cloud.google.com/shell/docs/configuring-cloud-shell
sudo apt --fix-broken install -y
#sudo apt update && sudo aptitude upgrade -y
#Takes too long and not needed
sudo apt install aptitude -y
#For whisper
sudo apt-get -y install ffmpeg
# Run aria2c [address] to download stuff. Or outube-dl
sudo apt install aria2 -y
sudo apt install youtube-dl -y
#sudo apt install ffmpeg -y
# convert speech to text via GPU:
pip install git+https://github.com/openai/whisper.git
#For remote desktop access via google chrome https://remotedesktop.google.com/access/session/9a560954-e470-46ad-9d05-ef683f4b527b
#sudo dpkg -i Download/chrome-remote-desktop_current_amd64.deb
#sudo apt install -f
# Install google chrome browser:
#sudo dpkg -i Download/google-chrome-stable_current_amd64.deb
#For renmina RDP access :
sudo apt install xrdp -y
#Run it:
sudo service xrdp start
sudo service xrdp status
sudo adduser xrdp ssl-cert
sudo service restart xrdp
#Shows OS version and basic stuff
sudo apt install neofetch -y
sudo apt install geoip-bin -y
#Shows server location
neofetch
curl https://ipinfo.io/ip
#File browser. Or use mc.
sudo apt install ranger -y
sudo apt install baobab -y
sudo apt install firefox-esr -y
sudo apt --fix-broken install -y
#Tips:
#To mount it via Sshfs: sshfs [email protected]: /home/zezen/google_abovetrans_cloud_VM_1 -p 6000 -oIdentityFile=/home/zezen/.ssh/google_compute_engine -oStrictHostKeyChecking=no
# See https://cloud.google.com/sdk/gcloud/reference/cloud-shell/get-mount-command
#DISPLAY= /opt/google/chrome-remote-desktop/start-host --code="4/0ARtbsJrLrNVnIbdBlV5jewUOc7uhwyjRKCI0PiDnlmideyoYHgtgchSzTv1ldRfRNKL3uQ" --redirect-url="https://remotedesktop.google.com/_/oauthredirect" --name=$(hostname)