- 浏览: 2562996 次
- 性别:
- 来自: 成都
-
最新评论
-
nation:
你好,在部署Mesos+Spark的运行环境时,出现一个现象, ...
Spark(4)Deal with Mesos -
sillycat:
AMAZON Relatedhttps://www.godad ...
AMAZON API Gateway(2)Client Side SSL with NGINX -
sillycat:
sudo usermod -aG docker ec2-use ...
Docker and VirtualBox(1)Set up Shared Disk for Virtual Box -
sillycat:
Every Half an Hour30 * * * * /u ...
Build Home NAS(3)Data Redundancy -
sillycat:
3 List the Cron Job I Have>c ...
Build Home NAS(3)Data Redundancy
文章列表
Timezone and Time on All Servers and Docker Containers
First Of All - timezone
For the operation system CentOS
List the timezone in America
> sudo timedatectl list-timezones | grep America
Austin is the same as Chicago
> sudo timedatectl set-timezone America/Chicago
> date
date
Wed Oct 9 ...
Kafka Cluster 2019(6) 3 Nodes Cluster on CentOS7
Here is my machines:
192.168.56.110 rancher-home
192.168.56.111 rancher-worker1
192.168.56.112 rancher-worker2
Need JAVA ENV JDK8, 11, 12
> sudo yum install git
> git clone https://github.com/gcuisinier/jenv.git ~/.jenv
> echo 'expo ...
AMAZON Kinesis Firehose 2019(1)Firehose Buffer to S3
Some final references to create the project
https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/Firehose.html
https://github.com/danielsan/firehose-nodejs-example
https://forum.serverless.com/t/creating-a-kinesis-firehose-stream-in-serverless- ...
K8S Helm(1)Understand YAML and Kubectl Pod and Deployment
In K8S, usually, we write all the resources: Pod, Service, Volume, Namespace, ReplicaSet, Deployment, Job and etc. We define all these resources in YAML file, then Kubectl will call Kubernetes API to deploy that.
Helm will manage Charts, si ...
Rancher and k8s 2019(5)Private Registry
Check Docker Configuration
> cat /etc/docker/daemon.json
{
"insecure-registries": [
"192.168.56.110:8088",
"192.168.56.111:8088",
"192.168.56.112:8088",
"rancher-worker1:8088",
"ranche ...
Rancher and k8s 2019(3)Clean Installation on CentOS7
Set Up 3 machines
192.168.56.110 rancher-home
192.168.56.111 rancher-worker1
192.168.56.112 rancher-worker2
Set Up rancher-home
The network config
Go to the network setting directory
> cd /etc/sysconfig/network-scripts/
Open the ...
Rancher and k8s 2019(1)Introduction and First Sample
Try on my CentOS
Installed Docker on the machine
> docker --version
Docker version 19.03.2, build 6a30dfc
Start the Rancker from Docker Image
> mkdir ~/tool/rancher-docker
> sudo ln -s /home/carl/tool/rancher-docker /opt/rancher-docker
& ...
Jenkins 2019 Cluster(1)Version 2.194
I install latest version 2.194 war package.
I get this error message in my logging:
2019-09-11 12:51:15.994+0000 [id=45] SEVERE h.i.i.InstallUncaughtExceptionHandler$DefaultUncaughtExceptionHandler#uncaughtException: A thread (Thread-12/45) died unexpectedly due ...
Pacemaker 2019(1)Introduction and Installation on CentOS7
Try that on my CentOS7
https://clusterlabs.org/quickstart-redhat.html
Install that on my system via yum
> sudo yum install pacemaker pcs resource-agents
Create the Cluster
It is on top of Corosync 2, so make sure pcs daemon is running
&g ...
Sqlite Database 2019(1)Sqlite3 Installation and Docker phpsqliteadmin
Install SQLite database
On MAC, it already there
> sqlite3 -version
3.24.0 2018-06-04 14:10:15
On Ubuntu, it is already there as well
> sqlite3 -version
3.22.0 2018-01-22 18:45:57
On CentOS 7, it is already there as well
& ...
Crontab-UI installation and Introduction
ON MAC
Check my system ENV
> node --version && npm --version
v11.5.0
6.11.1
Install that
> npm install -g crontab-ui
Start the service
> HOST=0.0.0.0 PORT=9000 crontab-ui
Node version: 11.5.0
Crontab UI is running at http://0.0.0.0:9000
A ...
Spiderkeeper 2019(1)Installation and Introduction
> python -V
Python 2.7.5
Since we want to migrate all the things to Python3, install and prepare python3
Install PYENV from the latest github
> git clone https://github.com/pyenv/pyenv.git ~/.pyenv
Add to the PATH
> vi ~/.bash_profile
PATH ...
Supervisor 2019(2)Ubuntu and Multiple Services
Install on ubuntu system
> sudo apt-get install supervisor
Check the version
> supervisord --version
3.3.1
Check the configuration after installation
> sudo vi /etc/supervisor/supervisord.conf
; supervisor config file
[unix_http_server]
file= ...
Supervisor 2019(1)CentOS 7
Install the current latest version on CentOS 7
> sudo yum install supervisor
After installation, check the default configuration
> echo_supervisord_conf
; Sample supervisor config file.
;
; For more information on the config file, please see:
; http://supervisord.or ...
PHP Command Line Tool
Recently, work with my colleague and find out a very useful PHP tool.
Here is how I install that
> wget https://psysh.org/psysh
> chmod +x psysh
> ./psysh
Then in the command line tool, I can connect to my mysql with PDO
Psy Shell v0.9.9 (PHP 7.1.23 — cli) by Justin ...