Linux Setup Tools#
Install OPENVPN#
Openvpnis a tool that allow your computer to connect aprivate virtual network. So that you can access foreign countries websites, blocked websites by network operator in your countries or the private network of your company.- Use command below to install OpenVpn
1 | |
- To run start openvpn with
.ovpnfile, run command
1 | |
Install NeoFetch#
NeoFetchis a tool that show you some general information about your linux operation system and hardwares that you are using.- Use command below to install NeoFetch
1 | |
- To use neofetch to view your system, run command
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | |
Install Htop#
Htopis a tool that helps you to monitor your linux system.- To install
Htopuse the command below.
1 | |
- To use htop, run the command
1 | |
Install WARP VPN#
- Go to this link to download
.debfile for using on ubuntu. - Use the command below to install the
.debfile.
1 | |
- Then use the command below to start WARP service
1 | |
- Then use the command below to register WARP client to server. You just need to do this step one time.
1 | |
- Then use the command below to connect WARP VPN
1 | |
- Use the command below to disconnect WARP VPN
1 | |
MkDocs Setup#
- Install python3-pip
1 | |
- Install mkdocs
1 | |
- Install mkdocs-material
1 | |
- Install mkdocs-mermaid2-plugin
1 | |
- Install mkdocs-roamlinks-plugin
1 | |
- Install mkdocs-awesome-pages-plugin
1 | |
- Install mkdocs-material-extensions
1 | |
- Install mkdocs-glightbox plugin
1 | |
- Install mkdocs-rss-plugin
1 | |
- Upgrade mkdoc-material
1 | |
- Install packages following
requirements.txtfile. For example we have arequirements.txtfile as below.
1 2 3 4 5 6 7 8 | |
- Then to install those packages following versions in the
requirements.txtwe use the command below.
1 | |
Install WoE Usb#
- This application is used for creating USB Boot Windows.
- Update repository
1 | |
- Before you continue, run an APT update to reflect the newly imported PPA.
1 | |
- Install Woe USB with GUI
1 | |
Install fish shell#
- What is fish?: Fish shell is a terminal shell. It has many features to help developers improve coding and skills.
- First Step: add repository
1 | |
- Second: update and install
1 2 | |
- Third: replace the original terminal
1 | |
- If you want to back to the bash terminal, type this in terminal
1 | |
- In case, get errors with
PAM: Authentication failure.
1 | |
- Replace:
1 | |
- To:
1 | |
Install Oh My fish#
-
Oh My Fishis a Fishshell framework that allows you to install packages which extend or modify the look and feel of your shell. It is easy to use, fast and extensible. Usingomf, you can easily install themes that enriches the look of your shell and install plugins to tweak your fish shell as per your wish. -
Install oh-my-fish
1 2 3 | |
- Install theme
1 | |
-
List of themes
-
To setup theme
1 | |
Install Gnome Shell Extensions#
- Install Gnome Shell Extensions.
1 2 | |
- Then you can go to this page to install Extensions for your computer. Just choose an extension and click button
On. - Some useful Extensions you should install.
- User Themes: User Themes
- Vitals: System monitor.
- DashToPanel: Horizontal Dock.
- OpenWeather: Weather.
- CloudFlare: ON/OFF Warp VPN, Need to install WARP VPN first.
- Cloudflare-Warp-Fedora: Cloudflare Warp Fedora
- Caffeine: Caffeine.
- Blur My Shell: Blur Application Background.
- Rounded Window Corners: Make all windows rounded.
- Dash To Dock: Make dash becomes dock.
- Rounded Corners: Rounded Corners.
- Login Background: Login Background.
- Panel Corners: Panel Corners
- Desktop Clock: Desktop Clock
- Allow Locked Remote Desktop: Allow remote desktop connections when the screen is locked
- Ddterm: Drop down terminal extension for GNOME.
- Tactile: Tile windows on a custom grid using your keyboard.
Install Ibus-Bamboo#
- Ibus Bamboo is used for typing Vietnamese on ubuntu. To install it, you need to run commands below.
1 2 3 4 | |
Install Croc#
-
crocis a tool that allows any two computers to simply and securely transfer files and folders. AFAIK, croc is the only CLI file-transfer tool that does all of the following:- allows any two computers to transfer data (using a relay)
- provides end-to-end encryption (using PAKE)
- enables easy cross-platform transfers (Windows, Linux, Mac)
- allows multiple file transfers
- allows resuming transfers that are interrupted
- local server or port-forwarding not needed
- ipv6-first with ipv4 fallback
- can use proxy, like tor
-
To install croc, you can go to this github page and go to
Releasesand download file.deb. Then run command as below.
1 2 3 | |
Install Zsh#
- Install
zsh
1 | |
- Check
zshinstalled version
1 | |
- Configure
zshon Ubuntu
1 | |
-
Then you will see the instruction for the first configuration.
- Press 1 to go to the main menu and configure each setting individually.
- Press 2 to populate the
.zshrcconfiguration file with the default parameters, which you can later change manually in the.zshrcfile. - Press 0 to create an empty
.zshrcconfiguration file and configure everything from scratch. - Press q to exit the configuration and start it again the next time you enter
Zsh.
-
Then let's set the
zshas default shell. - Firstly, let's check the default shell
1 | |
- If the default
shellis/bin/bashthen we can change it tozshby running the command below.
1 | |
- After that, let's reload the
zshby command.
1 | |
Install Oh-My-Zsh#
- Install
oh-my-zshon ubuntu.
1 | |
- Then let's change the theme of
oh-my-zsh. - Run command below to edit
.zshrc
1 | |
- If you check,
robbyrusselis the default theme forzsh.
| .zshrc | |
|---|---|
1 2 3 4 5 6 7 | |
- Therefore, to replace or change your
zshtheme, get the name of the theme from$HOME/.oh-my-zsh/themes/folder and substitute therobbyrussellwith the new name of your preferred theme. - For example, to change the themes to
fino-timetheme,$HOME/.oh-my-zsh/themes/fino-time.zsh-theme
| .zshrc | |
|---|---|
1 2 3 4 5 6 7 | |
- Then save and run command below to reload the
zsh
1 | |
- Then we can see the result as below.
Post Install Zsh#
- If you are using
bashfor a long time and you had put someconfigurations,aliasandPATHin~/.bashrcthen when you switch to usingzshthese configurations and settings will not working anymore. So we just simply copyconfigurations,PATHandaliasfrom~/.bashrcto~/.zshrcthen everything will work fine withzshagain.
| .bashrc | |
|---|---|
1 2 3 4 5 6 7 8 9 | |
| .zshrc | |
|---|---|
1 2 3 4 5 6 7 8 9 | |
Install Zsh plugins#
- By default the
oh-my-zshhad provided a lot of plugins in the directory$HOME/.oh-my-zsh/plugins/. Then to apply them into ourzsh. We just need to open~/.zshrcand edit the lineplugins=()as below.
| .zshrc | |
|---|---|
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 | |
-
However, if we have some specific plugins that we want to configure for our
zshthen we can download it under the directory$HOME/.oh-my-zsh/custom/plugins/. -
For example, we can clone
zsh-autocompleteandzsh-syntax-highlightingplugins to our directory$HOME/.oh-my-zsh/custom/plugins/as below.
1 | |
1 | |
- Then to apply them into our
zsh. We just need to open~/.zshrcand edit the lineplugins=()as below.
| .zshrc | |
|---|---|
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 | |
Install Fzf#
- fzf is a general-purpose command-line fuzzy finder.
1 2 | |
Install Intellij ToolBox#
- Run command below to download the jetbrain toolbox
1 | |
- Then extract the file tar.
1 | |
- Then install supported library.
1 | |
- Finally run command below to start.
1 | |
- We can make an alias for it. Add the command below into the
~/.zshrc
1 | |
Install cmatrix#
- To install cmatrix, let's run the command below.
1 | |
- To run
cmatrixjust use.
1 | |
Add Ubuntu Device Into Tailscale#
1 | |
Install CUDA Toolkit 12.8 For Ubuntu 22.04#
- Run commands below to install or view more details.
1 2 3 4 5 6 7 | |
- Then verify that the drivers are installed by running the following command, which should print details about your GPU.
1 | |
Install Ollama LLM Runner#
- Run command below to install Ollama. View more details. If you are using Nvidia Graphic Card then you can install CUDA Toolkit then install Ollama later.
1 | |
- If you are using Open WebUI and want to connect with Ollama then you need to update the
ollama.serviceas below. - Open file
ollama.serviceby command below.
1 | |
- Then add the line `Environment="OLLAMA_HOST=0.0.0.0" into the file as below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | |
- Then reload the service.
1 2 | |

