Linux服务
文章平均质量分 70
Linux服务
綮地
这个作者很懒,什么都没留下…
展开
-
harbor2.1.3部署
1.去github上下载harbor.v2.1.3.tar.gz 2.创建SSL证书 创建证书目录,并赋予权限 mkdir -p /data/cert && chmod -R 777 /data/cert && cd /data/cert 生成私钥,需要设置密码 openssl genrsa -des3 -out harbor.key 2048 生成CA证书,需要输入密码 openssl req -sha512 -new \ -subj "/C=CN/ST=JS/L原创 2021-12-25 15:49:36 · 28325 阅读 · 0 评论 -
NFS服务部署
文章预览:服务概述exports配置文件客户端访问NFS 服务概述 Network File System 网络文件系统 用途:为客户机提供共享使用的文件夹 协议:NFS(TCP/UDP 2049)、RPC(TCP/UDP 111) 所需软件包:nfs-utils 系统服务:nfs-server [root@test ~]# rpm -q nfs-utils nfs-utils-2.3.3-14.el8.x86_64 #一般默认会安装 exports配置文件 修改 /etc/exports 格原创 2021-02-01 11:17:15 · 31295 阅读 · 0 评论 -
Centos7.6安装MongoDB
一、前期准备 官网下载地址:https://www.mongodb.com/download-center/enterprise 创建/app目录 mkdir /app 上传安装包至服务器/app路径下(此篇文章以/app路径为例) [root@VM_180_2_centos app]# tar -zxvf mongodb-linux-x86_64-4.0.0.tgz [root@VM_180_...原创 2020-04-10 12:45:59 · 1307 阅读 · 0 评论 -
Centos7上GitLab部署
约莫大概一个多月没戳写文章这个标签了,在学一些亚历山大的操作~~~,想想就应该先冷静 一.前期啰嗦: 按照正常完美的部署流程的话,除了部署OK GitLib之外,还需要一个私有的postfix,当然你们内部有现成的邮件服务的话也可以采用,postfix这个东西想想当年只是动了心,还没来的及动手~,postfix与其他的服务不同之处在于它要主动访问外网,记得当年纯用ospf路由控制postfix这个...原创 2020-04-08 13:29:26 · 279 阅读 · 0 评论 -
正向代理
一、准备 安装以及准备相关依赖包 [root@Aliyun ~]# yum -y install pcre-devel openssl openssl-devel [root@Aliyun ~]# yum -y install lua-devel git [root@Aliyun ~]# wget -c https://openresty.org/download/openresty-...原创 2020-02-22 14:18:31 · 507 阅读 · 0 评论 -
web服务器部署证书
本文将对Nginx/Tengine,Apache,Tomcat以及IIS的服务器安装证书方式予以描述,本文将以在腾讯服务器服务器上购买的证书为例,所使用的环境均是Centos 7,另证书名称为www.example.com为例 一、Nginx服务器证书安装 1.进入到nginx.conf文件所在的conf文件夹,本服务器c操作是是:cd /usr/local/openresty/nginx/con...原创 2020-02-20 19:26:45 · 3843 阅读 · 0 评论 -
centos 7搭建直播间第二天版
一、安装一下软件依赖 [root@tecent ~]# yum install readline-devel pcre-devel openssl-devel -y [root@tecent ~]# yum install wget perl gcc unzip -y 二、安装包文件 [root@tecent ~]# wget https://openresty.org/download/op...原创 2020-02-19 12:50:06 · 745 阅读 · 0 评论 -
centos 7搭建直播间
前白本来这块需要介绍一些常用流协议的地址,百度上搜索出现一大堆,这里就不再赘述。 一、安装Nginx的软件依赖 yum -y install gcc gcc-c++ autoconf automake make yum -y install zlib zlib-devel openssl openssl-devel pcre pcre-devel 二、安装RTMP与nginx模块 [root@...原创 2020-02-18 14:07:39 · 1156 阅读 · 0 评论 -
Centos7同步阿里yum仓库搭建yum私有仓库
一、准备 确认在预拉取yum包的机子关于网络的各项服务正常,拉取的过程对网路的要求挺高,今天拉取用50M宽带拉取大概5个多小时。另在拉取的机子上配置好阿里的base源和epel源。 1.修改yum源仓库 [root@mini2 /]# rm -rf /etc/yum.repos.d/* [root@mini2 /]# wget -O /etc/yum.repos.d/base.repo http:...原创 2020-02-16 21:14:08 · 894 阅读 · 0 评论 -
Centos7部署安装VNC服务
最开始准备阶段的mount本地镜像或者网络yum源的方式以及安装图形化界面的方式不再赘述 安装图形化界面可参考我的另一篇文章https://blog.csdn.net/Student_xx/article/details/104159512 1.关闭防火墙(iptables firewalld)以及内核防火墙 [root@localhost ~]# systemctl stop firewalld...原创 2020-02-03 18:04:22 · 300 阅读 · 0 评论 -
Centos7最小化安装图形界面(GNOME)
最开始准备阶段的mount本地镜像或者网络yum源的方式不再赘述 1.安装图形软件界面Gnome yum groupinstall "GNOME Desktop" 2.安装X Window System yum groupinstall "X Window System" 3.在执行完上述两个步骤之后,此时系统还处于默认为最小化模式运行,此时要改为图形化模式为默认 ln -sf /lib/sy...原创 2020-02-03 17:40:59 · 766 阅读 · 0 评论 -
yum源搭建
1.搭建局域网yum源 1.首先部署web环境 2.在/var/www/html下创建iso 3.mount -o loop 镜像文件 /vat/www/html/iso 4.在/etc/yum.repos.d/下新建repo文件 [network] name=network baseurl=http://192.168.244.113/iso enabled=1 gpgcheck=0 5.yum...原创 2020-01-29 18:53:11 · 144 阅读 · 0 评论