Linux 第4页
L50※开启nginx浏览目录及美化-霜林轩

L50※开启nginx浏览目录及美化

1> 下载fancyindex模块 cd /usr/local wget https://hub.condor.vip/ngx-fancyindex/ngx-fancyindex-0.5.2.tar.xz tar xvf ngx-fancyindex-0.5.2.tar.xz 2> 重新编译nginx 添加ngx-fancyi...
slzxf的头像-霜林轩slzxf6个月前
450
L25※利用oneinstack搭建基于nginx的rtmp直播服务器-霜林轩

L25※利用oneinstack搭建基于nginx的rtmp直播服务器

1> 卸载原来安装的nginx软件 cd oneinstack ./uninstall.sh 2> 下载 nginx-rtmp-module cd /usr/local git clone https://github.com/arut/nginx-rtmp-module.git 3> 重新配置nginx安...
slzxf的头像-霜林轩slzxf2年前
10720
L48※docker 常用命令汇总-霜林轩

L48※docker 常用命令汇总

1> 版本与信息查询 命令说明docker --version查看安装的Docker版本docker info获取Docker系统的详细配置信息 2> 镜像管理 命令说明docker images列出本地所有镜像docker search IMAGE_NAME搜索D...
slzxf的头像-霜林轩slzxf6个月前
160
L37※Dockerfile-霜林轩

L37※Dockerfile

docker build -t docker_name . 1> ubuntu FROM ubuntu:20.04 # 更换镜像源 RUN sed -i 's@http://.*archive.ubuntu.com@http://mirrors.tuna.tsinghua.edu.cn@g' /etc/apt/sources.list RUN...
slzxf的头像-霜林轩slzxf4个月前
931
L14※ubuntu 修改ip地址-霜林轩

L14※ubuntu 修改ip地址

1> ubuntu 18.04 ① 修改配置文件/etc/network/interfaces vim /etc/network/interfaces auto lo iface lo inet loopback auto eth0 #设置自动启动eth0接口,eth0根据ifconfig中的网卡名进行...
slzxf的头像-霜林轩slzxf2年前
1421
L51※好玩儿的docker项目-霜林轩

L51※好玩儿的docker项目

0> 私有镜像 docker login --username=condor369 registry.cn-hangzhou.aliyuncs.com docker tag [ImageId] registry.cn-hangzhou.aliyuncs.com/slx-docker/[命名空间]:[镜像版...
slzxf的头像-霜林轩slzxf3个月前
1080
L26※vps搭建kms服务器,激活Windows和Office-霜林轩

L26※vps搭建kms服务器,激活Windows和Office

1> 安装docker docker安装步骤 2> 拉取镜像 docker pull condor369/kms:latest docker run -d -p 1688:1688 --name=kms --restart=always condor369/kms:latest 3> vps开放1688端口 开...
slzxf的头像-霜林轩slzxf7个月前
1520
L38※搬瓦工VPS增加Swap分区-霜林轩

L38※搬瓦工VPS增加Swap分区

1> 关闭Swap分区 swapoff -a 2> 创建要Swap分区文件 dd if=/dev/zero of=/var/swapfile bs=1M count=2048 3> 格式化为Swap分区文件 mkswap /var/swapfile 4> 启用Swap分区 swapon /var/swapfile...
slzxf的头像-霜林轩slzxf2年前
240
L15※vps开放端口-霜林轩

L15※vps开放端口

1> 安装iptables sudo apt-get install iptables sudo yum install iptables 2> ubuntu或者debian ① 新建规则文件 vim /etc/iptables/rules.v4 -A INPUT -p tcp -m state --state NEW -m tc...
slzxf的头像-霜林轩slzxf2年前
1590
L52※VPS搭建rustdesk-霜林轩

L52※VPS搭建rustdesk

1> 下载rustdesk mkdir /usr/local/rustdesk & cd /usr/local/rustdesk wget https://mirrors.condor.vip/rustdesk/v1.1.14/rustdesk-server-linux-amd64.zip unzip rustdesk-server-lin...
slzxf的头像-霜林轩slzxf3个月前
90