Skip to content

Instantly share code, notes, and snippets.

@RobiPoire
Last active October 1, 2023 11:28
Show Gist options
  • Save RobiPoire/850aca89cdabde32026797e67c7063ab to your computer and use it in GitHub Desktop.
Save RobiPoire/850aca89cdabde32026797e67c7063ab to your computer and use it in GitHub Desktop.
SH script to install the elements of an Ubuntu VM
apt-get update -y
apt-get upgrade -y
apt-get install geany default-jre postgresql-client mysql-client git virtualbox-guest-additions-iso virtualbox-guest-utils -y
cd /media/robihan/VBox_GAs_7.0.10
./VBoxLinuxAdditions.run
cd /home/robihan/Téléchargements
wget https://cdn.discordapp.com/attachments/1154720963305418802/1157737255528583289/InstallationARMStrong.tgz?ex=6519b257&is=651860d7&hm=90a8a0771ecef23c7d0f2cb98cc3093ca081e31acaf0fc49a695c470202e271f&
tar zxf InstallationARMStrong.tgz
cd InstallationARMStrong
bash install
cd ..
wget https://az764295.vo.msecnd.net/stable/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d/code-stable-x64-1694670691.tar.gz
tar -xzvf code-stable-x64-1694670691.tar.gz
mv VSCode-linux-x64 /usr/local/
chmod +x /usr/local/VSCode-linux-x64/code
cp /usr/local/VSCode-linux-x64/resources/app/resources/linux/code.png /usr/share/icons/
echo "[Desktop Entry]\nName=Visual Studio Code\nComment=Multi-platform code editor for Linux\nExec=/usr/local/VSCode-linux-x64/code\nIcon=/usr/share/icons/code.png\nType=Application\nStartupNotify=true\nCategories=TextEditor;Development;Utility;\nMimeType=text/plain;" | sudo tee /usr/share/applications/VSCode.desktop
reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment