I have a Samsung smart TV, it can play AAC video format, but only with mp4 container, mkv file format is NOT supported. Here is a simple way to convert them. materials: synology linux 1. create NFS share on Synology Shared Folder > Edit > NFS Permission hostname/IP: 192.168.x.0/24 (allow whole subnet) then press “OK” …
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
## installation sudo apt-get install apparmor lxc cgroup-lite sudo apt-get install docker.io ## verification sudo service docker.io start sudo docker run hello-world ## show current images sudo docker images ## view location sudo cat /var/lib/docker/repositories-aufs | python -m json.tool ## change docker image installation directory sudo docker ps -q | xargs docker kill sudo service docker.io stop mkdir /your/path/to/docker && chmod 700 /your/path/to/docker sudo vim /etc/default/docker.io # add new line DOCKER_OPTS="-g /your/path/to/docker" ## as root: su chown root.root /your/path/to/docker mv /var/lib/docker/* /your/path/to/docker/ echo "image location moved, see /etc/default/docker.io for new location" > /var/lib/docker/README ## as normal user sudo service docker.io start sudo docker images ## hellow-world listed |
更新了VMware Workstation 11, “View > Autosize > Autofit guest” 沒了. 再安裝VMware Tools (close source) 也不成. (Mint 17) sudo apt-get install open-vm-tools 也不能. 用了幾小時重新安裝vmware workstation, host’s graphic card driver, 還是沒有效用. 打開 synaptic package manager, search “open-vm-tools”. 頂, 原來還有個 GUI 的open-vm-tools-desktop
1 |
$ sudo apt-get install open-vm-tools open-vm-tools-desktop |
續篇, 前一篇: Upgrade Mint 14 to Mint 17 (1/2: installation) 1st issue: Theme broken Preference > Apperance > select new theme : e.g. Mint-X 2: pluma error:
1 |
Fontconfig error: "/etc/fonts/conf.d/65-khmer.conf", line XX: out of memory (pluma:24894): IBUS-WARNING **: The owner of ~/.config/ibus/bus is not root! |
run Update Manager 就會冇左65-khmer.conf , 或者 apt-get purge fonts-khmeros-core 3: Panel 自行加入menu icon, unlock panel, 再自己加入 short cut. 由4 workspaces個改做2個 4: gradle version 太舊, 在synaptic package manager 中移除, 再用gvm install Gradle …
Mint 14 (mate) 已經end-of-life, 2個月前更新了工作用的電腦. 現在留下一個記錄. 如果沒有太多customization, 其實直接安裝mint 17 再copy home directory back 比較方便. Reference: http://www.linuxmint.com/oldreleases.php https://wiki.ubuntu.com/Releases https://gist.github.com/hgomez/7074150 http://www.tecmint.com/upgrade-linux-mint-16-to-linux-mint-17/ Step 1: Backup $ sudo cp /etc/apt/sources.list ~/sources.list.org 備份home 連同其他有需要directories, mysqldump, CloneZilla image ….etc. Step 2: verify current version
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
$ sudo cat /etc/issue.net && echo -e \\n && cat /etc/lsb-release && echo -e && cat /etc/os-release Linux Mint 14 Nadia DISTRIB_ID=LinuxMint DISTRIB_RELEASE=14 DISTRIB_CODENAME=nadia DISTRIB_DESCRIPTION="Linux Mint 14 Nadia" NAME="Ubuntu" VERSION="12.10, Quantal Quetzal" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu quantal (12.10)" VERSION_ID="12.10" |
Step 3: mint 14 升級到 mint 17 將code name 改到 17
1 2 3 4 5 6 7 |
$ sudo sed -i 's/quantal/trusty/' /etc/apt/sources.list $ sudo sed -i 's/nadia/qiana/' /etc/apt/sources.list $ sudo sed -i '/medibuntu/s/^/#/' /etc/apt/sources.list # medibuntu has been closed $ sudo apt-get update && sudo apt-get dist-upgrade 1998 upgraded, 534 newly installed, 31 to remove and 4 not upgraded. Need to get 1,463 MB of archives. After this operation, 1,415 MB of additional disk space will be used. |
過程中會有問題要回答, Yes 就可以 例如 “install the package maintainer’s …
Initially found a script to install gradle, but later on found out that script is not required because groovy environment manager can also install gradle.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
#!/bin/bash # installs to /opt/gradle # existing versions are not overwritten/deleted # seamless upgrades/downgrades # $GRADLE_HOME points to latest *installed* (not released) gradle_version=1.12 gradle_path=~/gradle wget -N http://services.gradle.org/distributions/gradle-${gradle_version}-all.zip -P /tmp/ sudo unzip -q /tmp/gradle-${gradle_version}-all.zip -d ${gradle_path} sudo ln -sfn gradle-${gradle_version} ${gradle_path}/gradle sudo printf "export GRADLE_HOME=${gradle_path}/gradle/\nexport PATH=\$PATH:\$GRADLE_HOME/bin" > /etc/profile.d/gradle.sh . /etc/profile.d/gradle.sh # check installation gradle -v |
GVM – Groovy enVironment Manager official webpage: http://gvmtool.net/
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
## install gvm $ curl -s get.gvmtool.net | bash ## isstall groovy on default version $ gvm install groovy ## see avaliable version of gradle $ gvm list gradle $ gvm install gradle 1.12 ## verify $ gvm current Using: gradle: 1.12 groovy: 2.3.6 |