码迷,mamicode.com
首页 >  
搜索关键字:rhce postfix    ( 1012个结果
pytest-html报告中,添加描述
在conftest.py中实现 # coding:utf-8 import pytest from datetime import datetime from py._xmlgen import html import pytest @pytest.mark.optionalhook def pyt ...
分类:Web程序   时间:2020-06-29 00:20:17    阅读次数:212
运维经验1
1、删除一个大文件 我在生产服务器上有一个很大的200GB的日志文件需要删除。我的rm和ls命令已经崩溃,我担心这是由于巨大的磁盘IO造成的,要删除这个大文件,输入: > /path/to/file.log # 或使用如下格式 : > /path/to/file.log # 然后删除它 rm /pa ...
分类:其他好文   时间:2020-06-28 00:23:01    阅读次数:75
常用模板
IDEA中的模板可以定义一些常用代码字母的缩写,输入缩写时可以出现预定义的固定模式的代码,我们可以在下面两个地方找到模板 两者的区别在于:Postfix Completion中定义的的模板不可以修改,Live Templates中的模板可以根据自己的使用习惯进行修改下面介绍一下常用的模板: main ...
分类:其他好文   时间:2020-06-27 13:21:48    阅读次数:96
SMTP搭建
添加本地域名解析 sudo gedit /etc/hosts 127.0.0.1 mail .test.lab test sudo gedit /etc/hostname test 重启后用以下命令检测是否生效hostnamehostname -f 安装postfix sudo apt-get in ...
分类:其他好文   时间:2020-06-24 20:09:02    阅读次数:58
contos7部属gitlab
一、安装依赖包sudoyuminstall-ycurlpolicycoreutils-pythonopenssh-serverpostfix二、开启相关服务及放行防火墙#启动sshd并配置开机启动sudosystemctlenablesshdsudosystemctlstartsshd#启动postfix并配置开机启动sudosystemctlenablepostfixsudosystemctls
分类:其他好文   时间:2020-06-17 11:06:18    阅读次数:57
Centos7 安装部署gitlab-ce
部署社区版gitlab安装前准备:内存:至少4G1.安装依赖检查依赖包是否安装yuminstall-ycurlopenssh-serveropenssh-clientspostfixcroniepolicycoreutils-python2.启动postfix,并设置为开机启动systemctlstartpostfixsystemctlenablepostfix3.设置防火墙(可暂时关闭防火墙)f
分类:其他好文   时间:2020-06-17 10:30:12    阅读次数:98
rhce 配置安全web报错
解决办法:经多余的配置删掉,只需要配置ssl.conf即可
分类:Web程序   时间:2020-06-09 09:39:32    阅读次数:82
rhce 脚本
用引号将参数引用起来,这样如果参数为空值,不会报错。#!/bin/shif["$1"="redhat"]thenecho"fedora"elseif["$1"="fedora"]thenecho"redhat"elseecho"/root/foo.shredhat|fedora"fifi 参考论坛截图
分类:其他好文   时间:2020-06-06 23:09:07    阅读次数:64
RHCE 创建用户
#!/bin/bashif[!"$1"]thenecho"Usage:/root/batchusersuserfile"exit1fiif[!-e"$1"]thenecho"Inputfilenotfound"exit1fifornamein`cat$1`douseradd$name-s‘/bin/false‘done
分类:其他好文   时间:2020-06-06 20:06:08    阅读次数:64
Linux强制用户首次登陆修改密码
前言Linux强制用户首次登陆修改密码,这应该是RHCE认证中用户管理部分,属于很基础的内容了。可是我忘记了,所以就有了下面的记录~实验过程1、创建用户并设置登录密码[root@qll251~]#useradduser01[root@qll251~]#echo"123123"|passwd--stdinuser01Changingpasswordforuseruser01.passwd:allau
分类:系统相关   时间:2020-06-02 18:33:41    阅读次数:146
1012条   上一页 1 2 3 4 5 ... 102 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!