- 浏览: 2563604 次
- 性别:
- 来自: 成都
-
最新评论
-
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
文章列表
Redis Cluster 2019(3)Redis Cluster on CentOS
Current release is still 5.0.5
> sudo yum install wget
> sudo yum groupinstall "Development tools"
> wget http://download.redis.io/releases/redis-5.0.5.tar.gz
> tar zxvf redis-5.0.5.tar.gz
> cd redis-5.0.5
> make distclean
& ...
MySQL HA Solution 2019(4)MaxScale
You can find your download from here
https://mariadb.com/downloads/#mariadb_platform-mariadb_maxscale
I choose ubuntu 18.04 for my testing
> wget https://downloads.mariadb.com/MaxScale/2.3.11/ubuntu/dists/bionic/main/binary-amd64/maxscale-2.3.11-1.ubuntu.bionic. ...
Amazon Lambda and Version Limit
Recently, when I try to use circleCI or my local ENV to deploy the codes to our AWS Lambda account, I get this error response.
CreateNewAccountLambdaFunction - Code storage limit exceeded
Go to the Lambda Page and click on these button
[Qualifiers] —> [Versions]
...
MySQL HA Solution 2019(3)MyCat
I already have a MySQL master running on ubuntu-master.
Slave running on ubuntu-dev5 and ubuntu-dev6.
Find a stable release version from here for MyCat https://github.com/MyCATApache/Mycat-download/tree/master/1.6-RELEASE
>wget https://raw.githubusercontent.com/My ...
MySQL HA Solution 2019(2)ProxySQL
Check the Office the website, currently latest version
https://github.com/sysown/proxysql/releases
Currently latest version is 2.0.6
> wget https://codeload.github.com/sysown/proxysql/tar.gz/2.0.6 -O proxysql-2.0.6.tar.gz
Unzip the file and make and make instal ...
MySQL HA Solution 2019(1)Master Slave on MySQL 5.7
Prepare machines ubuntu-master, ubuntu-dev5, ubuntu-dev6
Install MySQL with right version
> sudo apt-get update
> sudo apt-get dist-upgrade
> sudo apt install mysql-server
> sudo apt install mysql-client
In the new version, we need t ...
Code SonarQube 2019(3)Scanner Configuration
We can directly run the command as follow:
> sonar-scanner -Dsonar.projectKey=services.user -Dsonar.sources=./userApi/src,./dataMigration/src -Dsonar.host.url=http://ubuntu-master:9000 -Dsonar.login=6bd3291c57cd00a6324b27f26735d02b5bc6ef86
We c ...
Code SonarQube 2019(2)PostgreSQL as Database
Create database user sonar
> createuser -P -s -e sonar
Create database
> createdb -Osonar -Eutf-8 sonar
Connect to the database
> psql -U sonar -d sonar -h localhost -p 5432
List the database
> \l
List of datab ...
PostgreSQL 2019(1)Install PostgreSQL 10.9 on Ubuntu
Currently, the latest version is https://www.postgresql.org/ftp/source/v11.4/
> wget https://ftp.postgresql.org/pub/source/v11.4/postgresql-11.4.tar.gz
> tar zxvf postgresql-11.4.tar.gz
It seems I need version 10 to support my software.
ht ...
Code SonarQube 2019(1)Installation with default H2
We can find the downloads from here https://www.sonarqube.org/downloads/
And we can find scanner https://docs.sonarqube.org/latest/analysis/scan/sonarscanner/
Source Codes
https://github.com/SonarSource/sonarqube
https://github.com/SonarSource/sona ...
Systemctl 2019 on Ubuntu19.04
Go to the network directory
>cd /etc/netplan
>sudo vi 50-cloud-init.yaml
> cat /etc/netplan/50-cloud-init.yaml
# This file is generated from information provided by
# the datasource. Changes to it will not persist across an instance.
# To disable cloud-init' ...
RabbitMQ Cluster 2019(3)Remove a Node from Cluster
In my case, one of my RabbitMQ Node changed IP address, it just stops to work.
So my plan is to remove this node out of the cluster and add it back.
Check all the list command
> sbin/rabbitmqctl -n rabbit1 -help
Usage
rabbitmqctl [--node <no ...
HAProxy and HA Solution(1)Setup KeepAlived on Ubuntu
Find the right Version for KeepAlived from here
https://www.keepalived.org/download.html
> wget https://www.keepalived.org/software/keepalived-2.0.17.tar.gz
Unzip and build/install
> tar zxvf keepalived-2.0.17.tar.gz
> ./configure --pre ...
RabbitMQ Cluster 2019(2)Cluster HA and Proxy
Set the HA policy for our cluster
> rabbitmqctl -n rabbit1 set_policy ha-all "^" '{"ha-mode":"all"}'
Setting policy "ha-all" for pattern "^" to "{"ha-mode":"all"}" with pr ...
RabbitMQ Cluster 2019(1)Cluster on 2 Nodes Version 3.7.15
Installation on Ubuntu
Download the Erlang source file
> wget http://erlang.org/download/otp_src_22.0.tar.gz
Unzip and prepare install
> tar zxvf otp_src_22.0.tar.gz
> export LANG=C
Run the configuration
> ./configure --prefix=/ ...