Docker Saveloadexportimport的区别和使用
参考: https://jingsam.github.io/2017/08/26/docker-save-and-docker-export.html save/load: 备份,加载 export/import: 导出,导入, 作用基本一样. save: 把一个或者多个image打包成tar sud...
参考: https://jingsam.github.io/2017/08/26/docker-save-and-docker-export.html save/load: 备份,加载 export/import: 导出,导入, 作用基本一样. save: 把一个或者多个image打包成tar sud...
docker 是一个镜像文件吗? 跟传统的VM不一样. 必读参考文章:https://stackoverflow.com/questions/16047306/how-is-docker-different-from-a-virtual-machine 参考:https://stackoverflow.c...
参考: https://stackoverflow.com/questions/21215059/cant-use-nvm-from-root-or-sudo nvm 安装的node 的根据, 是 当前用户加载 .bashrc , .bash_profile之后才可以使用. $ which...
参考: https://docs.docker.com/get-started/part2/ git clone https://github.com/dockersamples/node-bulletin-boardcd node-bulletin-board/bulletin-board-app 下载后,会...
参考: http://dockone.io/article/58868 https://github.com/aquasecurity/trivy
参考: http://www.dockone.io/article/1234 http://dockone.io/question/378
参考: https://docs.docker.com/engine/install/ubuntu/ docker 给我的感觉是比虚拟机要小的东东,内置了各种环境. 跟11年左右的 heroku类似。但是比heroku的灵活性大很多。 可以认为docker是linux中的linux (给...
cat /etc/group cat /etc/passwd 就可以看到全部的group. 把某个用户放到一个或者多个组中 创建: groupadd -g 2000 tech 就创建了一个组,名字叫 tech, id 是2000 添加用户: usermod -a -...
昨天和今天发现mysql 莫名其妙的重启了。两个不同项目的数据库服务器都重启了 (ubuntu 16) 重启的特点是: 莫名其妙的重启,一个是10秒内连续重启5次,一个是6秒内连续重启3次(每次重启2秒钟) 时刻不一样。 过程: 1. 发现一些程序不运行了。 cannot connect ...
参考: https://tutorialforlinux.com/2019/09/17/how-to-install-oracle-12c-r2-database-on-ubuntu-18-04-bionic-64-bit-easy-guide/2/ 放弃了。 参考了几个文章,都不行。 ubuntu...
https://doc.rust-lang.org/cargo/commands/cargo-test.html 几个比较总要的命令: cargo run cargo test
如题. 使用的命令: ffmpeg -i new_trading_demo.mp4 -an -vcodec libx264 -crf 23 new_trading_demo.avi 转换成avi, 就可以了. </span>
var/log/nginx$ tail access.log -f | awk '{ print $9}'
参考:https://stackoverflow.com/questions/50085258/installing-ruby-2-3-x-on-ubuntu-18-04-is-causing-an-error-by-the-end-of-the-inst 今天安装的时候报错了。找了下日志,发现 是这个原因:...
参考:https://github.com/rbenv/ruby-build/issues/1146 另外,也参考:https://bugs.ruby-lang.org/issues/14076 需要安装 gcc-6 , 默认的gcc-7 会引起ruby 2.4以下的无法安装(?) 反正,如果要安装2....
http://www.ctheroux.com/ralink-rt5572-based-wifi-usb-dongle-setup-on-ubuntu-12-04/ 官方; https://www.mediatek.com/products/broadbandWifi/rt5572 make with ...
本地使用 用法很简单 $ pg_dump --username=postgres --dbname=resumehack_production --host=localhost > your_file.sql postgres 9.x : $ pg_dump -U prd_user --host=remot...
参考:https://askubuntu.com/questions/122209/how-do-i-modify-or-disable-the-huds-use-of-the-alt-key keyboard -> shortcut -> launchers -> HUD (最下面那一排), ...
生命在于折腾。。。最近想起了这句话。。 参考:http://tieba.baidu.com/p/3082327066 我把ubuntu重装了。发现设置好 compizconfig之后,系统很容易崩溃,需要重装系统。 特别注意的是, window decoration 绝对不要取消勾选。 有时候会出现左侧栏目找不...
参考:https://www.litcc.com/2016/12/29/Ubuntu16-shadowsocks-pac/index.html