wshon 发布的文章
wshonDocker 安装 MySQL
在 docker 创建 mysqlsudo docker run --name mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=123456 -d mysql进入 docker 内部sudo docker exec -it mysql bash创建用户,注意...
OpenWRT 自动更新 hosts
添加标识符用来自动更新echo -e '## Ghs ##\n## Ghe ##' >> /etc/hosts测试命令是否正常工作wget https://gitee.com/frankwuzp/github-host/raw/main/hosts -O /tmp/ghhost &...
sed 替换两行之间的内容
wshon@thinkbook:~$ cat hosts2 123456 234567 ## Ghs ## asd asd ## Ghe ## wshon@thinkbook:~$ sed -i '/## Ghs ##/,/## Ghe ##/{d}' hosts2 wshon@thinkbo...
kasmweb
docker run --rm -it --shm-size=512m -p 6901:6901 -e VNC_PW=password kasmweb/firefox:1.12.0
Ecrypt Home Folder on Raspberry Pi
Install StepCreate a temp user tu, and add it to sudo groupsudo adduser tu sudo gpasswd -M tu sudoLogout and re-login with temp user tuInstall nece...
最新回复