Currently reading articles under Linux

Install R in Ubuntu

UBUNTU 16.04

Option 1:

sudo apt-get install -y r-base r-base-dev libcurl4-openssl-dev libssl-dev build-essential

Option 2:

with PPA. ref digitalocean

sudo apt-key adv --keyserver --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 && \

sudo add-apt-repository 'de......

Linux init after installation


empty/black screen

If screen blacked out after 1st reboot, the problem is gfxmode $linux_gfx_mode in grub.

Solutions: (for many servers, see solution 3 directly.)

Temporarily delete by pressing "shift" during boot and "e" (edit).

For permernent effect, oficial soluti......

Force Ubuntu desktop Boot into Text Console Mode

Tested in ubuntu deskop 16.


sudo cp /etc/default/grub /etc/default/grub.bak && \

sudo sed -ie 's/GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT="text"/g' /etc/default/grub && \

sudo sed -ie 's/GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX="te......

Completely Automatic Unattended Install of Ubuntu

OBS 1: this works only for ubuntu server edition, not desktop version. tested in ubuntu 16 x64.

OBS 2: remember to change some parts to real values, near: # modify to real value !!!

OBS 3: my version need some files in .iso file: "10_linux" & "sources.list".

Warn: the default......

Setup Remote Access (VNC) of Linux Servers

Tested in Ubuntu 16.04 desktop Gnome+Unity in Vmware.

OBS: pure server will automatically start X in reboot and will lack of something, e.g. Default Terminal etc.


TCP port 5900+N (N is monitorId, starts from 1.)


TightVnc allows us to start from a server without X11 a......

Nix Linux Distribution Comparison, Timeline and Relationship

It seems I forgot some relationship in Nix Distributions, so here is a note, including the categories (but not limitted to):

Debian, Ubuntu, Mint ...

RedHat, CentOS, Fedora ...

Slackware, Suse, OpenSuse ...

Arch, Antergos ...

Choosing a Distribution