Blindly run these steps once you have a brand new Arch Linux Server in linode.
Connect to your Linode via SSH:
ssh root@IP
Set your timezone and synchronize the hardware clock with the system clock:
ln -sf /usr/share/zoneinfo/Asia/Calcutta /etc/localtime
hwclock --systohc
date
Create a new user and set sudo permissions:
useradd -m pdebashis
passwd pdebashis
export EDITOR="vim"
visudo
--- add the line "pdebashis ALL=(ALL) ALL"
Switch to the newly created user
su - pdebashis
vim ~/.bashrc
--- setup `.bashrc` file as per `my_bashrc`
https://github.com/pdebashis/my-bashrc
source .bashrc
Update the system and install some basic packages:
sudo pacman -Syyu
sudo pacman -S --needed base-devel
sudo pacman -S git wget
sudo pacman -S jdk-openjdk
sudo pacman -S scala
sudo pacman -S cronie
Install yay
(AUR Helper):
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
cd ..
rm -rf yay
Install Ruby:
--- Go to the RVM website and install RVM only (no --ruby).
rvm install 3.1.0
--- Note: Older Ruby versions may be broken by OpenSSL dependency.
Install Jupyter Notebook and iruby:
--- Follow a guide for Jupyter notebook
--- Install iruby gem for ruby notebook
gem install iruby
--- Test it
iruby notebook