上上个月,帮客户搭建了一台FTP服务器。 系统环境:redhat 8,可以上外网 服务使用:vsftpd 数据:无任何数据 要求:(1)FTP用户仅可以访问指定的FTP文件目录,ftp终端软件界面中不能切换到其他目录,ftp账号不可以登录系统shell界面 (2)防火墙要开启 步骤一:用CRT,ro ...
分类:
系统相关 时间:
2020-07-18 15:44:55
阅读次数:
109
注意事项 注意1:请确保各节点时区设置一致、时间同步。如果你的环境没有提供 NTP 时间同步,推荐集成安装chrony ntpdate time1.aliyun.com && hwclock -w 注意2:在公有云上创建多主集群,请结合阅读在公有云上部署 kubeasz 注意3:建议操作系统升级到新 ...
分类:
其他好文 时间:
2020-07-17 19:21:08
阅读次数:
79
环境:CentOS7版本:postgresql11安装repo源yuminstallhttps://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm2.安装client、serveryuminstallpostgresql11yuminstallpostgres
分类:
数据库 时间:
2020-07-17 16:27:16
阅读次数:
121
背景: 因工作上要接收外部机构发来的文件,采取FTP的方式保密性差,SFTP方式则采取了加密了传输,安全性更好。因此需要搭建SFTP服务,首选Linux环境,本文使用Centos7来掩饰。 一、操作步骤 环境: [root@localhost ~]# cat /etc/redhat-release ...
分类:
其他好文 时间:
2020-07-17 11:13:08
阅读次数:
187
安装Docker 1 2 3 4 5 [root@localhost /]# cat /etc/redhat-release CentOS Linux release 7.5.1804 (Core) [root@localhost /]# yum install docker-ce -y [root ...
分类:
数据库 时间:
2020-07-17 01:22:08
阅读次数:
138
实验环境如下:[root@Centos7~]#uname-r3.10.0-693.el7.x86_64[root@Centos7~]#cat/etc/redhat-releaseCentOSLinuxrelease7.4.1708(Core)[root@Centos7~]#lsblkNAMEMAJ:MINRMSIZEROTYPEMOUNTPOINTsda8:0050G0disk├─sda18:10
分类:
其他好文 时间:
2020-07-17 01:19:44
阅读次数:
123
OS:7.2.1511(Core)[root@zabbix-server~]#cat/etc/redhat-releaseCentOSLinuxrelease7.2.1511(Core)[root@zabbix-server~]#cat/etc/redhat-releaseCentOSLinuxrelease7.2.1511(Core)1,下载CentOS7的repo文件wget-O/etc/yu
分类:
其他好文 时间:
2020-07-17 01:18:57
阅读次数:
97
六、rpm工具使用 6.1 概述 RPM(RedHat Package Manager),红帽子软件包管理工具,类似windows里面的setup.exe,是Linux系列操作系统里面的打包安装工具,它虽然是Redhat的标志,但理念是通用的。 RPM包的名称格式:Apache-1.3.23-11. ...
分类:
系统相关 时间:
2020-07-16 21:50:55
阅读次数:
122
1- Kubernetes对软件和硬件的系统要求 软硬件 最低配置 推荐配置 CPU|内存 Master: 2cores|4GNode:4cores|16G master: 4cores|16GNode: 根据需要运行的容器数量进行配置 Linux系统 CentOS,redhat,ubuntu,Fe ...
分类:
Web程序 时间:
2020-07-15 15:22:17
阅读次数:
90
一、系统相关 cat /etc/redhat-release 查看系统版本uname -a 查看系统位数su - hadoop 切换系统账户source /etc/profile 重装配置文件 二、防火墙 firewall-cmd --add-port=3306/tcp 开放3306端口 https ...
分类:
系统相关 时间:
2020-07-14 18:00:46
阅读次数:
79