zchcai / setup-linux

Some useful tips or configuration files for Linux environment.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

my-scripts

For initial settings on Linux.

Basic Usage

Add user:

adduser xxx
passwd xxx  # for centOS

Add xxx to sudo group:

usermod -aG sudo xxx  

or for centOS:

visudo

then modify the file as below:

root  ALL=(ALL)   ALL
xxx   ALL=(ALL)   ALL

Configuration - Ubuntu:

sudo apt-get update
sudo apt-get install vim git tmux curl xclip
git clone https://github.com/zchcai/my-scripts.git
cd my-scripts
sh install.sh

Configuration - CentOS:

sudo yum update
sudo yum install vim git curl xclip
git clone https://github.com/zchcai/my-scripts.git
cd my-scripts
sh centos-tmux-install.sh   # install tmux first
sh install.sh

About

Some useful tips or configuration files for Linux environment.


Languages

Language:Shell 41.7%Language:TeX 32.3%Language:Vim Script 26.0%