Supervisor's never-to-die process
brief introduction
Supervisor is a C/S system. It can control the process on UNIX-like system. It is written by python. It provides a lot of functions to manage the process.
install
sudo pip install supervisor
1
To configure
After installing the supervisor, you can use the "echo_supervisord_conf" command to generate the ...
Posted by backinblack on Tue, 26 Mar 2019 19:42:28 -0700
Extending the root directory partition of ubuntu virtual machine under VMware
Links to the original text: http://t.cn/RzCP9E2
Translation source links: http://imcczy.com/how-to-expand-the-root-filesystem-in-vmware.html
Reproduction Notes:
Below this article is the operation of requiring partition. The operation of partition is different from that of normal system partition. It is necessary to specify the starting ...
Posted by kwilameiya on Mon, 25 Mar 2019 09:18:28 -0700
Using Docker to Build Hadoop Distributed Cluster in Linux Environment
First install Docker:
$ sudo apt-get install apt-transport-https
$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
$ sudo bash -c "echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list"
$ sudo apt-get update
$ sudo apt-get install lxc-do ...
Posted by escabiz on Sun, 24 Mar 2019 18:00:29 -0700
Different nginx error reporting "Primary script unknown"
Last night, I forgot to make any changes to the development environment, which led to nginx prompting "Primary script unknown" when debugging the interface today. In most cases, this is a very simple problem: script_filename error in nginx configuration. However, I checked my nginx configuration and found nothing wrong.
location ~ \.p ...
Posted by philip@hux.co.za on Mon, 18 Mar 2019 09:03:27 -0700
SUSE12Sp3 installation configuration. net core production environment - install zookeeper offline and install visualization tools
Use root account directly
1. zookeeper installation
Place the zookeeper-3.4.13.tar.gz installation package in the specified directory
sudo tar -zxvf zookeeper-3.4.13.tar.gz -C /usr
sudo mkdir /usr/zookeeper-3.4.13/data
sudo cp /usr/zookeeper-3.4.13/conf/zoo_sample.cfg /usr/zookeeper-3.4.13/conf/zoo.cfg
sudo vim /usr/zookeeper-3.4.13/conf/ ...
Posted by Wozzr on Sun, 03 Mar 2019 20:45:22 -0800
SUSE12Sp3 installation configuration. net core production environment - install and use the Supervisor daemon. net core process
1. Install setuptools
Place the setuptools-0.6c11.tar.gz installation package on the server
tar zxvf setuptools-0.6c11.tar.gz
cd setuptools-0.6c11
sudo python setup.py build
sudo python setup.py install
2. Installing meld
Place the meld3-1.0.2.tar.gz installation package on the server
tar -zxvf meld3-1.0.2.tar.gz
cd meld3-1.0.2
sudo python s ...
Posted by bhavik_thegame on Mon, 18 Feb 2019 18:45:19 -0800
Solving OpenNI problem: XnOS.h: No such file or directory
The original blog links to my official website, the website is: http://www.aobosir.com/blog/2017/02/11/solve-openni-XnOS-No-such-file-or-directory/
Reference website: ofxOpenNI: XnOpenNI.h: No such file or directory
Problems encountered
XnOS.h: No such file or directory
Solution
Find openni-related packages.
aobo@aobo-tp:~$ apt- ...
Posted by AndieB on Thu, 14 Feb 2019 19:54:18 -0800
The problem of XML file XXXX not found ing appears in pnp4nagios drawing
Write an article the other day using pnp4nagios draws for Nagios The article later found that some script images can not be drawn, the following to propose solutions.
Error phenomena:
Reasons for error:
This situation is mostly caused by the Nagios plug-ins written by ourselves. The pnp4nagios drawing must follow the specific information ...
Posted by littlejay on Tue, 12 Feb 2019 05:27:17 -0800
The dependency `Reactive Cocoa` is not used in any concrete target. (Cocoapods error reporting)
The dependency `` is not used in any concrete target
The dependency `AFNetworking ` is not used in any concrete target
1
2
1
2
Cocoa Pods encountered difficulties again. The computer rebuilt the system a few days ago, and all the development tools were up-to-date. When I used Cocoa Pods, I gave a hint that my version was not last version. ...
Posted by bobvaz on Mon, 11 Feb 2019 17:06:18 -0800
Ambari installation client error reporting OSError:[Error 17] File exists
During Ambari's new cluster expansion process, one node installed multiple client s to report errors
Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/hook.py", line 37, in <module>
AfterInstallHook().execute()
File "/usr/lib/python2.6/site-packages/resource_managem ...
Posted by stratguitar on Sun, 10 Feb 2019 14:48:17 -0800