最新文章

Docker Saveloadexportimport的区别和使用

少于 1 分钟阅读

参考: https://jingsam.github.io/2017/08/26/docker-save-and-docker-export.html save/load: 备份,加载 export/import: 导出,导入, 作用基本一样. save: 把一个或者多个image打包成tar sud...

Nodejs Nvm Linux下允许sudo使用npminstall

少于 1 分钟阅读

参考: https://stackoverflow.com/questions/21215059/cant-use-nvm-from-root-or-sudo nvm 安装的node 的根据, 是 当前用户加载 .bashrc , .bash_profile之后才可以使用.  $ which...

Docker 创建自己的image

1 分钟阅读

参考: https://docs.docker.com/get-started/part2/ git clone https://github.com/dockersamples/node-bulletin-boardcd node-bulletin-board/bulletin-board-app 下载后,会...

Docker !!!安装和使用dockerdocker Compose以及加速

1 分钟阅读

参考: https://docs.docker.com/engine/install/ubuntu/  docker 给我的感觉是比虚拟机要小的东东,内置了各种环境. 跟11年左右的 heroku类似。但是比heroku的灵活性大很多。 可以认为docker是linux中的linux  (给...

Ubuntu 基本操作。创建用户,组(太基础了)

少于 1 分钟阅读

cat /etc/group  cat /etc/passwd 就可以看到全部的group.  把某个用户放到一个或者多个组中 创建: groupadd -g 2000 tech   就创建了一个组,名字叫 tech, id 是2000 添加用户: usermod -a -...

Ubuntu 解决mysql莫名其妙重启的问题

1 分钟阅读

昨天和今天发现mysql 莫名其妙的重启了。两个不同项目的数据库服务器都重启了  (ubuntu 16)  重启的特点是: 莫名其妙的重启,一个是10秒内连续重启5次,一个是6秒内连续重启3次(每次重启2秒钟) 时刻不一样。 过程: 1. 发现一些程序不运行了。 cannot connect ...

Linux Ubuntu18安装oracle12cr2

少于 1 分钟阅读

参考:  https://tutorialforlinux.com/2019/09/17/how-to-install-oracle-12c-r2-database-on-ubuntu-18-04-bionic-64-bit-easy-guide/2/ 放弃了。 参考了几个文章,都不行。 ubuntu...

Ubuntu 安装ruby238报错的解决办法

少于 1 分钟阅读

参考:https://stackoverflow.com/questions/50085258/installing-ruby-2-3-x-on-ubuntu-18-04-is-causing-an-error-by-the-end-of-the-inst 今天安装的时候报错了。找了下日志,发现 是这个原因:...

Ruby Ubuntu18下面,编译ruby的注意事项:gcc6

少于 1 分钟阅读

参考:https://github.com/rbenv/ruby-build/issues/1146 另外,也参考:https://bugs.ruby-lang.org/issues/14076 需要安装 gcc-6 , 默认的gcc-7 会引起ruby 2.4以下的无法安装(?) 反正,如果要安装2....

Linux Rt5572 Ubuntu驱动

少于 1 分钟阅读

http://www.ctheroux.com/ralink-rt5572-based-wifi-usb-dongle-setup-on-ubuntu-12-04/ 官方; https://www.mediatek.com/products/broadbandWifi/rt5572 make with ...

Ubuntu 桌面 取消leftalt导致hud的弹出

少于 1 分钟阅读

参考:https://askubuntu.com/questions/122209/how-do-i-modify-or-disable-the-huds-use-of-the-alt-key keyboard -> shortcut -> launchers -> HUD (最下面那一排), ...

Ubuntu 安装compizconfig要慎重

少于 1 分钟阅读

生命在于折腾。。。最近想起了这句话。。 参考:http://tieba.baidu.com/p/3082327066 我把ubuntu重装了。发现设置好 compizconfig之后,系统很容易崩溃,需要重装系统。 特别注意的是, window decoration 绝对不要取消勾选。 有时候会出现左侧栏目找不...