解决debian9系统安装后root用户无法通过ssh连接的问题
有些VPS模版默认root不能ssh登陆,被误认为密码错误,非常讨厌。
echo "PermitRootLogin yes" >> /etc/ssh/sshd_config; service sshd restart;
有些VPS模版默认root不能ssh登陆,被误认为密码错误,非常讨厌。
echo "PermitRootLogin yes" >> /etc/ssh/sshd_config; service sshd restart;
批量下载youtube某人所有视频的音频部分,上下班路上手机听。
you-get只能解析视频和播放列表。youtube-dl更专业更灵活。
安装Python3, ffmpeg
pip install youtube-dl
youtube-dl --extract-audio --audio-format mp3 --playlist-start NUMBER --ignore-errors http://xxxxxxx
youtube-dl -f mp4 https://www.youtube.com/watch?v=OGyisSvjQHY
http://www.youtube-dl.org/ https://www.ffmpeg.org/
https://www.virtualbox.org/manual/UserManual.html#vrde
C:\Program Files\Oracle\VirtualBox>VBoxManage setproperty vrdeauthlibrary "VBoxAuthSimple"
C:\Program Files\Oracle\VirtualBox>VBoxManage modifyvm "Win7x64" --vrdeauthtype external
C:\Program Files\Oracle\VirtualBox>VBoxManage setextradata "Win7x64" "VBoxAuthSimple/users/administrator" 1b2c138fba0d3345f92f14a5911d1c7bcc1faff310560be68ac399ab8673fead
微软onedrive 5T,看起来不错,debian8 挂载
wget https://www.moerats.com/usr/shell/rclone_debian.sh && bash rclone_debian.sh;
rclone config;
mkdir /root/od; rclone mount od:/ /root/od --copy-links --no-gzip-encoding --no-check-certificate --allow-other --allow-non-empty --umask 000 &
wget https://www.moerats.com/usr/shell/rcloned && nano rcloned;
mv rcloned /etc/init.d/rcloned;chmod +x /etc/init.d/rcloned;
update-rc.d -f rcloned defaults;bash /etc/init.d/rcloned start;
如果服务启动失败,修改脚本删除sudo
nano /etc/init.d/rcloned
折腾了半天,发现docker太重了,暂时不适合用
curl -fsSL get.docker.com -o get-docker.sh | bash;
docker search centos, pull, images,
docker run -d -it -p 8888:8888 centos
ps, start/stop/restart, docker commit -m "bt" -a "swds" 897937ede755 swds/centos:bt