01 2018 档案

摘要:sudo apt install language-pack-zh-hans language-pack-zh-hans-basesudo apt-get install ttf-wqy-microhei #文泉驿-微米黑sudo apt-get install ttf-wqy-zenhei #文泉驿-正黑sudo apt-get install xfonts-wqy #文泉驿-点阵宋体 阅读全文
posted @ 2018-01-29 12:58 anjunact 阅读(118) 评论(0) 推荐(0)
摘要:参考 http://blog.csdn.net/acxlm/article/details/79069468遇到的问题及解决:1. 直接用aliyun docker 可以用最新的, 我用的docker 17.12 #aliyunmv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backwget -O /et... 阅读全文
posted @ 2018-01-26 19:41 anjunact 阅读(277) 评论(0) 推荐(0)
摘要:cat /etc/yum.repos.d/kubernetes.repo[kubernetes]name=Kubernetesbaseurl=http://mirrors.aliyun.com/kubernetes/yum/repos/kubernetes-el7-x86_64enabled=1gpgcheck=0repo_gpgcheck=0gpgkey=http://mirrors.aliy... 阅读全文
posted @ 2018-01-22 14:10 anjunact 阅读(139) 评论(0) 推荐(0)
摘要:1.nat 2. only host auto lo iface lo inet loopback auto enp0s3 iface enp0s3 inet dhcp auto enp0s8 iface enp0s8 inet static address 192.168.56.12 netmas 阅读全文
posted @ 2018-01-21 09:21 anjunact 阅读(138) 评论(0) 推荐(0)
摘要://不加--attachable 下一步会报错 docker network create --attachable cluster1_net docker run -d -p 3306 --net=cluster1_net -e MYSQL_ROOT_PASSWORD=123456 -e CLUS 阅读全文
posted @ 2018-01-18 21:12 anjunact 阅读(652) 评论(0) 推荐(0)
摘要:备份 PlUSH TABLES WITH READ LOCK; mysqldump -u username -p --databases dbname2 dbname2 > weshop_test.sql mysqldump -uroot -p -h192.168.56.9 --set-gtid-p 阅读全文
posted @ 2018-01-16 16:49 anjunact 阅读(398) 评论(0) 推荐(0)
摘要:一 连接docker中jmx注意:ports中如果不一样,连接不上;com.sun.management.jmxremote.rmi.port =com.sun.management.jmxremote.portgoodsapi:image: javavolumes:- ./goods-api.jar:/goods-api.jarports:- 19090:19090- 18080:8080com... 阅读全文
posted @ 2018-01-12 14:33 anjunact 阅读(315) 评论(0) 推荐(0)
摘要:使用国内镜像,阿里云单个项目修改使用,build.gradle 中修改文件如下: buildscript { repositories { maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' } maven{ url 阅读全文
posted @ 2018-01-10 21:29 anjunact 阅读(122) 评论(0) 推荐(0)
摘要:go get -u -v github.com/ramya-rao-a/go-outlinego get -u -v github.com/acroca/go-symbolsgo get -u -v github.com/nsf/gocodego get -u -v github.com/rogpe 阅读全文
posted @ 2018-01-02 21:55 anjunact 阅读(121) 评论(0) 推荐(0)