Skip to content

persiliao/ltk

Repository files navigation

Tools Kit

Linux 使用IDEA开发维护

初衷

在工作中,经常需要对服务器进行相关的一些配置,于是写了这些常用的一些小工具。

特性

sh.sh

需要使用 root 用户执行

  • 修改sshd server 默认端口
  • 设置sshd keeplive 保持连接
  • 设置sshd 禁止root使用密码登录,只允许密钥登录。注意保存好私钥文件
  • 创建www用户组
  • 创建普通用户,默认用户名 deployer ,推荐主要是用于非root操作,例: docker, CI/CD远程SSH

alias.sh

  • 安装一些常用的 alias 命令, 安装在 $HOME/.ltk 目录下

docker.sh

需要使用 root 用户执行

  • 安装 docker

ohmyzsh.sh

  • 安装zshohmyzsh
  • 安装persi-zsh-theme(可选)

git.sh

  • 安装 git
  • 设置 git 常用配置

vimrc.sh

  • 安装 vim
  • 安装 .vimrc 配置

wp.sh

需要使用 root 用户执行

  • 安装 wp cli

JetBrains Support

The project has always been developed in the Idea integrated development environment under JetBrains, based on the free JetBrains Open Source license(s) genuine free license, I would like to express my gratitude here

Jetbrains