02 2020 档案

摘要:```yum install nfs-utils -ysystemctl restart/enable nfs systemctl status rpcbindvim /etc/exports/storage *(rw,sync,no_root_squash)/data/nfs 172.28.11.0/24(rw)chown -R nfsnobody.nfsnobody /data/nfs/sys... 阅读全文
posted @ 2020-02-27 17:04 kylingx 阅读(160) 评论(0) 推荐(0)
摘要:``` 1.新环境完成jira安装 2.导出jira备份,默认备份路径/var/atlassian/application-data/jira/export 3.拷贝至新jira路径/var/atlassian/application-data/jira/import 4.web界面系统导入,登录查看 5.拷贝原jira环境附件至新jira环境中,附件路径/var/atlassian/applic 阅读全文
posted @ 2020-02-24 16:14 kylingx 阅读(2568) 评论(0) 推荐(0)
摘要:``` 参考链接 https://www.cnvd.org.cn/webinfo/show/5415 操作方法-删除或注释 --> ``` 阅读全文
posted @ 2020-02-21 16:04 kylingx 阅读(679) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-02-21 11:15 kylingx 阅读(166) 评论(0) 推荐(0)
摘要:```k3s-server内置SQLiteserver高可用实现:负载均衡+外置数据库L4负载均衡 - 可用nginx-streamDNS轮询VIP实验性分布式数据库Dqlite``` 阅读全文
posted @ 2020-02-20 22:00 kylingx 阅读(247) 评论(0) 推荐(0)
摘要:``` 负载均衡 upstream test_http{ server 172.28.12.31:8001 weight=1; server 172.28.12.33:8002 weight=1; } https-ssl证书 # HTTPS server server { listen 9090 ssl; server_name domain.name; ssl_certificate cert/ 阅读全文
posted @ 2020-02-20 10:02 kylingx 阅读(278) 评论(0) 推荐(0)
摘要:```(1)证书列表 应用端私钥:/usr/local/apache/conf/cert/test.com.key 应用端证书:/usr/local/apache/conf/cert/test.com.crt 中间CA证书链:/usr/local/apache/conf/cert/test.com.chain.crt(2)将应用端证书和中间CA证书链打包合并成一个证书链 ... 阅读全文
posted @ 2020-02-19 14:08 kylingx 阅读(1000) 评论(0) 推荐(1)
摘要:``` 构建最小JDK Docker镜像 docker pull frolvlad/alpine-oraclejre8:slim 参考链接-解决乱码和时区问题 https://blog.csdn.net/zhuchuanwan/article/details/102957332 dockerfile如下: FROM jeanblanchard/alpine-glibc:latest RUN ln 阅读全文
posted @ 2020-02-19 08:03 kylingx 阅读(178) 评论(0) 推荐(0)
摘要:``` 测试使用pfsense opnsense 相对来说opnsense使用较为友好,方便更新补丁及插件,自带IPS 使用虚拟机测试透明网桥失败,待分析 ``` 阅读全文
posted @ 2020-02-19 07:55 kylingx 阅读(382) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-02-14 14:31 kylingx 阅读(1666) 评论(0) 推荐(0)
摘要:``` 支持windows集群 linux-master节点 只支持server2019 core(可使用core版,装好docker) Flannel windows-support Rancher HA 1.安装helm 2.创建证书 3.helm install rancher 企业k8s实践,分开部署 etcd 3 control plane 2 k8s访问 1.内部;clusterip通 阅读全文
posted @ 2020-02-09 00:14 kylingx 阅读(179) 评论(0) 推荐(0)
摘要:```1.基本配置配置dns解析或者hosts关闭firewall selinuxdate -Rln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtimesudo echo 'LANG="en_US.UTF-8"' >> /etc/profile;source /etc/profile时间同步2.kernel调优https://docs.ranc... 阅读全文
posted @ 2020-02-07 22:57 kylingx 阅读(775) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-02-07 22:49 kylingx 阅读(169) 评论(0) 推荐(0)
摘要:```touch /etc/docker/daemon.jsoncat > /etc/docker/daemon.json <<EOF{ "oom-score-adjust": -1000, "log-driver": "json-file", "log-opts": { "max-size": "100m", "max-file": "3" }, "ma... 阅读全文
posted @ 2020-02-07 09:57 kylingx 阅读(319) 评论(0) 推荐(0)
摘要:```nginx-马哥1.IO复用模型同步/异步--关注消息通信机制同步synchronous,调用者等待返回消息异步asynchronous,被调用者主动通知调用者阻塞/非阻塞--关注调用者等待结果返回之前的状态阻塞blocking,调用者挂起非阻塞nonblocking,调用者不会挂起IO复用模型--多个连接共用一个等待机制select/poll2.Nginx静态资源的web服务器反向代理服务... 阅读全文
posted @ 2020-02-06 21:24 kylingx 阅读(136) 评论(0) 推荐(0)
摘要:``` 阿里云申请免费ssl证书 cd conf mkdir cert 上传pem key vim nginx.conf # 以下属性中以ssl开头的属性代表与证书配置有关,其他属性请根据自己的需要进行配置。 server { listen 443 ssl; #SSL协议访问端口号为443。此处如未添加ssl,可能会造成Nginx无法启动。 server_name localhost; #将loc 阅读全文
posted @ 2020-02-04 20:03 kylingx 阅读(246) 评论(0) 推荐(0)
摘要:```1.安装依赖yum -y install make zlib zlib-devel gcc-c++ libtool openssl openssl-devel2.安装pcrecd /usr/local/src/tar -zxvf pcre-8.35.tar.gzcd pcre-8.35./configuremake && make installpcre-config --version3... 阅读全文
posted @ 2020-02-04 17:30 kylingx 阅读(261) 评论(0) 推荐(0)
摘要:``` vim /etc/default/grub GRUB_CMDLINE_LINUX添加"ipv6.disable=1" grub2-mkconfig -o /boot/grub2/grub.cfg reboot lsmod | grep ipv6 netstat -lutnp ``` 阅读全文
posted @ 2020-02-02 23:30 kylingx 阅读(569) 评论(0) 推荐(0)
摘要:``` 1.安装依赖 yum install gcc libxml2-devel net-snmp net-snmp-devel curl curl-devel php php-bcmath php-mbstring mariadb mariadb-devel –y 2.PHP vim /etc/php.ini date.timezone = PRC 3.wget安装包 rpm -Uvh http 阅读全文
posted @ 2020-02-02 21:20 kylingx 阅读(166) 评论(0) 推荐(0)