Linux Setup Tools#
Install OPENVPN#
Openvpn
is 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
.ovpn
file, run command
1 |
|
Install NeoFetch#
NeoFetch
is 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#
Htop
is a tool that helps you to monitor your linux system.- To install
Htop
use the command below.
1 |
|
- To use htop, run the command
1 |
|
Install WARP VPN#
- Go to this link to download
.deb
file for using on ubuntu. - Use the command below to install the
.deb
file.
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.txt
file. For example we have arequirements.txt
file as below.
1 2 3 4 5 6 7 8 |
|
- Then to install those packages following versions in the
requirements.txt
we 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 Fish
is 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#
-
croc
is 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
Releases
and download file.deb
. Then run command as below.
1 2 3 |
|
Install Zsh#
- Install
zsh
1 |
|
- Check
zsh
installed version
1 |
|
- Configure
zsh
on 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
.zshrc
configuration file with the default parameters, which you can later change manually in the.zshrc
file. - Press 0 to create an empty
.zshrc
configuration 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
zsh
as default shell. - Firstly, let's check the default shell
1 |
|
- If the default
shell
is/bin/bash
then we can change it tozsh
by running the command below.
1 |
|
- After that, let's reload the
zsh
by command.
1 |
|
Install Oh-My-Zsh#
- Install
oh-my-zsh
on ubuntu.
1 |
|
- Then let's change the theme of
oh-my-zsh
. - Run command below to edit
.zshrc
1 |
|
- If you check,
robbyrussel
is the default theme forzsh
.
.zshrc | |
---|---|
1 2 3 4 5 6 7 |
|
- Therefore, to replace or change your
zsh
theme, get the name of the theme from$HOME/.oh-my-zsh/themes/
folder and substitute therobbyrussell
with the new name of your preferred theme. - For example, to change the themes to
fino-time
theme,$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
bash
for a long time and you had put someconfigurations
,alias
andPATH
in~/.bashrc
then when you switch to usingzsh
these configurations and settings will not working anymore. So we just simply copyconfigurations
,PATH
andalias
from~/.bashrc
to~/.zshrc
then everything will work fine withzsh
again.
.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-zsh
had provided a lot of plugins in the directory$HOME/.oh-my-zsh/plugins/
. Then to apply them into ourzsh
. We just need to open~/.zshrc
and 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
zsh
then we can download it under the directory$HOME/.oh-my-zsh/custom/plugins/
. -
For example, we can clone
zsh-autocomplete
andzsh-syntax-highlighting
plugins 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~/.zshrc
and 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 cmatrix#
- To install cmatrix, let's run the command below.
1 |
|
- To run
cmatrix
just use.
1 |
|
Add Ubuntu Device Into Tailscale#
1 |
|