快速在linux上部署shadowsocks服务科学上网

环境 Debian/Ubuntu (with 128M RAM at least) 部署 在root权限下运行下面的命令 wget --no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks-libev-debian.sh chmod +x shadowsocks-libev-debian.sh ./shadowsocks-libev-debian.sh 2>&1 | tee shadowsocks-libev-debian.log 安装完成后,脚本提示如下: Congratulations, shadowsocks-libev install completed! Your Server IP:your_server_ip Your Server Port:your_server_port Your Password:your_password Your Local IP:127.0.0.1 Your Local Port:1080 Your Encryption Method:aes-256-cfb Welcome to visit:https://teddysun.com/358.html......

Debian添加的新用户无法使用方向键

Problem 使用 useradd 添加用户 "user1" sudo useradd -d /home/user -m user1 发现在该新建用户下的命令终端,使用方向键无法调出历史命令,Shell 中敲击方向键显示「^[[C^[[D」; 同时tab键也无法补全输入命令。 原因是添加用户后默认使用的登录 shell 脚本是......