Linux
Linux 运维经验
派小星620
enterprise!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Linux源码编译安装Postgres
ubuntu安装 # 安装依赖 apt install -y gcc make libreadline-gplv2-dev zlib1g-dev bison flex # 创建用户 useradd -d /usr/local/pgsql/ -m -s /bin/bash postgres # 编译安装 ./configure --prefix=/usr/local/pgsql/ make make install centos安装 # 安装依赖 yum install -y git gcc make re原创 2020-10-19 18:00:46 · 2348 阅读 · 0 评论 -
Ubuntu20离线安装软件
内网环境的Ubuntu20无法连接外网,无法通过apt安装gcc和make,因此下载deb包进行离线安装该方法需要有一台可以外网访问的服务器。原创 2020-10-19 15:38:56 · 8094 阅读 · 4 评论 -
CentOS7关闭Swap分区
CentOS7关闭Swap分区 由于安装k8s需要关闭wsap分区,因此总结一份 注释/etc/fstab关于swap的配置 执行如下命令 echo vm.swappiness=0 >> /etc/sysctl.conf 重启 sudo reboot 验证 free -m ...原创 2019-10-27 21:57:41 · 10860 阅读 · 0 评论 -
Ubuntu安装docker-ce
Ubuntu安装docker-ce 1. 更新apt缓存 sudo apt update 2. 允许apt通过https协议安装软件 sudo apt install \ apt-transport-https \ ca-certificates \ curl \ gnupg-agent \ software-properties-common 3. 添...原创 2019-10-24 21:33:50 · 286 阅读 · 0 评论
分享