01 2019 档案

摘要:解决方式: # cd /usr/local/n/versions/node/11.6.0/lib/(node的安装目录下) # rm -rf node_modules # yarn cache clean # yarn 参考链接:https://github.com/yarnpkg/yarn/iss 阅读全文
posted @ 2019-01-29 10:36 _chy 阅读(5810) 评论(0) 推荐(0)
摘要:安装go 设置开发环境 配置环境变量 卸载或升级go 阅读全文
posted @ 2019-01-27 17:44 _chy 阅读(1020) 评论(1) 推荐(0)
摘要:证书: k8s里创建证书(使用证书文件命令创建): k8s里创建证书(yaml文件创建): k8s里更新证书: 查看证书详情: openssl x509 -text -in fullchain.pem 查看证书指纹: openssl x509 -fingerprint -sha1 -in fullc 阅读全文
posted @ 2019-01-23 17:41 _chy 阅读(590) 评论(0) 推荐(0)
摘要:版本: nginx(无要求,最新) mysql(5.6.xx) php(5.6.xx) ubuntu(16.04,其他版本也并无过多差异) 准备: #apt-get update #apt-get install cmake gcc libxml2 libncurses5-dev bison zli 阅读全文
posted @ 2019-01-16 16:49 _chy 阅读(332) 评论(0) 推荐(0)
摘要:Ubuntu 16.04 #vi /etc/network/interfaces auto lo iface lo inet loopback auto ens3 iface ens3 inet static address 192.168.1.1 gateway 192.168.1.254 net 阅读全文
posted @ 2019-01-16 15:18 _chy 阅读(1478) 评论(0) 推荐(0)
摘要:1. 安装SVN #yum –y install subversion 2. 安装openjdk #yum –y list java* #yum –y install java-1.8.0-openjdk* 3. 安装tomcat #cd /data #tar xf apache-tomcat-7. 阅读全文
posted @ 2019-01-13 21:23 _chy 阅读(805) 评论(0) 推荐(0)
摘要:环境与需求: Ubuntu云服务器上,已经做好了ssl证书的免费申请,但是证书的期限是3个月,3个月到期后必须重新申请或者更新。由于k8s集群里的服务一直在使用证书,每三个月人工更新太麻烦,所以想要配置一些做个定时自动更新。 准备: 其中, certbot-auto 执行命令,可以对证书进行申请更新 阅读全文
posted @ 2019-01-08 16:00 _chy 阅读(1630) 评论(0) 推荐(0)
摘要:*验证svn安装是否成功 #svnadmin --version *创建svn的数据仓库 #svnadmin create /data/svn/svndata/spms *启动svn服务 #svnserve -d -r /data/svn/svndata/spms 单仓库启动 # svnserve 阅读全文
posted @ 2019-01-06 20:38 _chy 阅读(3443) 评论(0) 推荐(0)
摘要:1.下载软件如下,db是数据库 2.首先安装数据库db # tar xf db-4.8.30.tar.gz # cd db-4.8.30 # cd build_unix/ (# ../dist/configure -prefix=/opt/BerkeleyDB 但是会报错,这个错说明你系统里面没有g 阅读全文
posted @ 2019-01-06 20:34 _chy 阅读(588) 评论(0) 推荐(0)