This is a guide to setup remote server development enviroment (Ubuntu LTS) use the following:
The goal of this setup is to get rid of all dependencies that are caused by the end operating system, and hardware limitation. As long as you have a Linux-based machine, you can basically use any device to get access everything on that machine and start developing. This way, you can even use ipad to develop without any overheads of workflows such as IDEs, keymappings, environments, etc. At the same time, your code is able to run anywhere that supports docker.
Install Zsh#
First, update your system’s package repository to ensure you have the latest information:
If you want to set Zsh as your default shell, use the following command:
Enable SSH on your server#
Check if it is running
Install Tmux#
Install Neovim#
via appimage#
In Downloads
folder
If no FUSE, run via:
and you can execute with ./squashfs-root/usr/bin/nvim
To add it to .profile
, add the following in .profile
Apply configuration#
Install starship
:
Install stow
to sync all the dot files
Get the dotfiles
and then stow
what ever you need
Or, apply all configurations
Install Docker#
Uninstall old versions
Install using the apt repository
Install
If get permission problem, try the following to avoid sudo
every time: