Skip to content

Useful shell scripts that helps to manage the system. linux管理相关的shell脚本库。

License

Notifications You must be signed in to change notification settings

GuangyuPeng/shell_repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🍻 GuangyuPeng's Shell Script Repo

  1. Overview

  2. Modules

Overview

This repository contains useful shell scripts that automatically configure a new linux system, install some common developmental tools, manage various functions in system, install and configure some high-quality products, etc.

Note: scripts in this repository have been tested on Ubuntu 22.04 and Ubuntu 20.04 system. After cloning this repository, you should firstly set the environment variable SHELLREPOPATH to the full path of shell_repo's root directory, e.g.

export SHELLREPOPATH="/home/user/shell_repo"

Modules

Initialization

This module helps to do some necessary work of configuration and installation after installing a new linux, including:

  • Do some basic settings such as timezone.
  • Configure software mirror source.
  • Install basic developmental tools.
    • use zsh as the default shell
    • use Powerlevel10k as theme of zsh
    • use powerline in tmux
  • Install configuration files of developmental tools.
  • Configure sshd to only allow key authentication and restart it.

Just run ./run_init to initialize a new system. Users in China may need to set proxy before running ./run_init. 中国用户可能需要先挂代理再执行./run_init

After you see Oh my zsh, you should execute exit to go on.

After initialization, the terminal will look like this: zsh_theme Make sure you have installed the Meslo Nerd Font recommended by Powerlevel10k and set your terminal to use this font, so that the symbols can be printed correctly.

System Management

This module includes scripts to manage various aspects of the system, such as user management, network management, etc.

  • User management: create users, delete users, etc.
  • TODO

Products Construction

This module includes scripts to install state-of-the-art products.

About

Useful shell scripts that helps to manage the system. linux管理相关的shell脚本库。

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published