Vmware fusion 8のHigh Sierra上でのインストールでハマる

"Could not open /dev/vmmon"でvirtual machineが起動できない。VMwareのサイトにあるQ&A、再インストール、は役に立たず。
この情報で解決した。
Fusion 10 on MacOS High Sierra won't run any VM |VMware Communities

具体的には以下の2つを実行したら動くようになった。たぶん、下のものだけでオッケーだと思われる。

"My Fix: Moving the app from /Applications to my HOME folder and then moving it back to /Applications by using Finder. Using Finder is the important step!
On the next start, I got the security prompt about the kext files and allowed them in the security options. And viola, no more "internal error", my VMs start again."

"System Preferences > Security & Privacy > Click Allow down the bottom where VM Ware has been blocked."

Ubuntu 14.04 -> 16.04 アップグレード

nft-kernel-serverが自動起動しなくなった。sysvからsystemdになったから。

sudo systemctl enable nfs-kernel-server.service

する。
参照:
Ubuntu 16.04: Install nfs-kernel-server and run NFS server - Narrow Escape

aptitudeが無くなるのでインストールする。

クラスタの場合unattended-upgradesは不要なのでアンインストールする。

aptitude --yes purge unattended-upgrades

travis-CIでのwheel buildとPyPIデプロイ

このページで用意されている環境を使う。GitHub - pypa/python-manylinux-demo: Demo project for building Python wheels for Linux with Travis-CI

  • travis-CI上のpython-manylinux-demo dockerイメージを起動。
  • カレントディレクトリをdocker内の/ioにマウント。
  • docker内でビルドされたwheelが/io/wheelhouse/以下に入る。
  • setup.pyの置いているディレクトリにdistディレクトリを作りwheelhouse/からdist/へwheelをコピー。wheelhouseはカレントディレクトリから見える。
  • あとはtravis-CIのdeploy環境がdist以下のファイルを自動的にデプロイするので、deployの設定を正しく行う。

deploy環境ではPyPIデプロイにtwineが必要。インストールする必要があるがpipではうまくいかなかったので、minicondaからconda環境を作りcondaでtwineをインストールしてパスを通したらとりあえずうまくいった。たぶん。

その他参照元
manylinux1 wheel を作ってみる - methaneのブログ

Ubuntu 14.04 serverから16.04のアップデートでハマる

  • interfaceの名前がeth0からens3に変わってしまって、ネットワーク接続できなくなった。
  • ganglia web serviceの設定が消えるので$default_metric = "cpu_report";をconf_default.phpに設定する。