ubuntu

apt-get and apt-cache

apt-cache   apt-cache pkgnames apt-cache pkgnames 'first few letters' 'search' will also show a small description of what that package does apt-cache search pkgname Show will display more about the version and so on. apt-cache show rrdtool showpkg will also show dependencies apt-cache showpkg rrdtool apt-get update apt-get update Upgrade will upgrade all. apt-get upgrade… Continue reading apt-get and apt-cache

Uncategorized

Run mesos and marathon on 2 node.

on All server: echo 'deb http://repos.mesosphere.io/ubuntu trusty main' > /etc/apt/sources.list.d/mesosphere.list   apt-key adv --keyserver keyserver.ubuntu.com --recv E56151BF apt-get install software-properties-common add-apt-repository ppa:webupd8team/java apt-get update apt-get install oracle-java8-installer   Mesos Master sudo apt-get install mesosphere echo 'zk://10.147.65.119:2181/mesos' > /etc/mesos/zk echo 'zk://10.147.65.119:2181/mesos' > /etc/marathon/conf/master echo 'zk://10.147.65.119:2181/marathon' > /etc/mesos/conf/zk   echo 'MyCluster' > /etc/mesos-master/cluster echo 'ip' > /etc/mesos-master/ip… Continue reading Run mesos and marathon on 2 node.

Uncategorized

How to install mesos and marathon to run marathon

https://mesosphere.github.io/marathon/docs/ To run marathon, per-requisite is Apache Mesos 1.0.1+ Apache ZooKeeper JDK 1.8+ So, I installed Mesos on my ubun 14.04 machine from http://mesos.apache.org/gettingstarted/ I cloned from git clone https://git-wip-us.apache.org/repos/asf/mesos.git   I installed the requirements: Ubuntu 14.04 Following are the instructions for stock Ubuntu 14.04. If you are using a different OS, please install the… Continue reading How to install mesos and marathon to run marathon

Uncategorized

How to configure FS20 ASH 2200 sensors

Open the battery cover. Remove the screw. Then open the round cover. Put 2 screw driver to push the 2 white things inside. The round thing will be open. Remove 2 screw  again, and the whole cover will be open.  Now, configure it as the instructions says: https://files.elv.com/Assets/Produkte/7/736/73605/Downloads/73605_ASH2200_01_um.pdf For example, if you give address '3'.… Continue reading How to configure FS20 ASH 2200 sensors