随笔分类 -  Ubuntu

摘要:下载地址:http://www.keepalived.org/software/keepalived-1.2.12.tar.gzht 安装方法:1. ./configure 可能出现的错误!!! OpenSSL is not properly installed on your system. !! 阅读全文
posted @ 2019-08-14 14:48 liuxm-刘小明 阅读(201) 评论(0) 推荐(0)
摘要:redis 安装配置学习笔记 //wget http://download.redis.io/releases/redis-2.8.17.tar.gz 下载最新版本 wget http://download.redis.io/redis-stable.tar.gz 首先必须要有 gcc 与 make 阅读全文
posted @ 2019-08-14 14:47 liuxm-刘小明 阅读(119) 评论(0) 推荐(0)
摘要:ubuntu修改时间为北京时间 查看当前时区root@ubuntu:/# date -R修改时区root@ubuntu:/# tzselect复制文件到/etc目录下root@ubuntu:/# cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime再 阅读全文
posted @ 2019-07-10 16:47 liuxm-刘小明 阅读(3661) 评论(0) 推荐(0)
摘要:wget http://openvswitch.org/releases/openvswitch-2.4.1.tar.gz tar -xvf openvswitch-2.4.1.tar.gz cd openvswitch-2.4.1/./configure make && make install 阅读全文
posted @ 2019-07-09 13:20 liuxm-刘小明 阅读(397) 评论(0) 推荐(0)
摘要:#!/bin/shmodprobe ipt_MASQUERADEmodprobe ip_conntrack_ftpmodprobe ip_nat_ftpiptables -Fiptables -t nat -Fiptables -Xiptables -t nat -X################ 阅读全文
posted @ 2019-07-09 10:54 liuxm-刘小明 阅读(629) 评论(0) 推荐(0)
摘要:iptables 持久化 安装持久化工具apt-get install iptables-persistent Ubuntu 16.04 调用语法netfilter-persistent savenetfilter-persistent reload 一键清除iptables规则cat clear_ 阅读全文
posted @ 2019-07-08 17:48 liuxm-刘小明 阅读(2154) 评论(0) 推荐(0)
摘要:certbot 使用letsencrypt 生成免费https证书 以下内容网上整理,原文地址 https://segmentfault.com/a/1190000005797776 环境linux + nginx 1.安装CertBot certbot官网地址https://certbot.eff 阅读全文
posted @ 2019-05-25 10:15 liuxm-刘小明 阅读(1136) 评论(0) 推荐(0)
摘要:重要参考文章 https://blog.csdn.net/qq_16538827/article/details/81873997 阅读全文
posted @ 2019-02-19 19:41 liuxm-刘小明 阅读(181) 评论(0) 推荐(0)
摘要:sudo apt update -y sudo apt install -y npm sudo npm config set registry https://registry.npm.taobao.org sudo npm install n -g sudo n stable 阅读全文
posted @ 2018-12-21 18:27 liuxm-刘小明 阅读(118) 评论(0) 推荐(0)
摘要:安装docker Docker从1.13.x版本开始,版本分为企业版EE和社区版CE,版本号也改为按照时间线来发布,比如17.03就是2017年3月。 Docker的linux发行版的软件仓库从以前的https://apt.dockerproject.org和 https://yum.dockerp 阅读全文
posted @ 2018-12-21 18:21 liuxm-刘小明 阅读(152) 评论(0) 推荐(0)
摘要:安装docker harbor 企业级容器 环境说明: 操作系统: ubuntu16.04.5 LTS IP地址: 192.168.31.129 https://github.com/goharbor/harbor/releases 下载 离线安装 。 这里可能下载不成功,使用FQ以后可以下载。 如 阅读全文
posted @ 2018-12-21 18:10 liuxm-刘小明 阅读(439) 评论(0) 推荐(0)
摘要:ubuntu16.04.5 LTS 安装 1.下载ubuntu镜像 打开ubuntu官网镜像地址https://launchpad.net/ubuntu/+cdmirrors 在上面中搜索china ,然后选择离你最近镜像站点,进入界面进行下载 这里我选择清华大学的镜像站点 下载地址:https:/ 阅读全文
posted @ 2018-12-21 18:03 liuxm-刘小明 阅读(162) 评论(0) 推荐(0)