活到老学到老  

记录遇到问题的点点滴滴。

0

SummaryThis post describes how to set up your Red Hat or Centos 7 server to be a yum repository for both the local server and also serve other servers on the network via...

7年前发布  · 892 次阅读
0

今天安装vsftp服务器,在修改了 chroot_local_user 属性以后,发现进行客户端访问的时候会报错:500 OOPS: vsftpd: refusing to run with writable root inside chroot()到网上查了资料,得到解决问题方法如下:"如果启用chroot,必须保证ftp根目录不可写,...

7年前发布  · 1073 次阅读
0

This article describes how to create system users in vstfpd and chroot them (isolate or “jail” them to their home directory) if necessary.Add a system userCreate a new us...

7年前发布  · 1044 次阅读
0

Thanks to Wandisco, which is maintaining the rpm packages for latest Subversion version. This article will help you to install subversion 1.9 ( svn client ) on CentOS/RHE...

7年前发布  · 1861 次阅读
1

环境说明:两台局域网内的Linux主机,本环境的系统为centos 5.3 X86_64控制主机 为:192.168.10.149被控制主机为:192.168.10.150一,在控制主机上安装远程开机需要的 软件[root@tomcat2 ~]#yum -y install wol或者安装rpm包 http://pkgs.repoforg...

7年前发布  · 1817 次阅读
  linux  openwrt  centos  wol  ethtool  wake 
0

[caibo@localhost /]$ firewall-cmd --zone=public --add-port=3306/tcp --permanent success [caibo@localhost /]$ firewall-cmd --reloadsystemctl stop firewalld.service #停止 sys...

7年前发布  · 1269 次阅读
  mysql  Centos7 
0

CentOS 7.0默认使用的是firewall作为防火墙,使用iptables必须重新设置一下1、直接关闭防火墙systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall开机启动2、设置 iptables ser...

7年前发布  · 1287 次阅读
  firewall  Centos7 
0

新硬盘分区完成后使用partprobe将新的分区表读入内存,如果提示"command not found"则安装partd rpm包[root@server1 ~]# partprobe -bash: partprobe: command not found [root@server1 ~]# yum -y install parted...

7年前发布  · 1754 次阅读
  partprobe 
0

CentOS 6开机自动挂载磁盘和文件夹    CentOS服务器可能有多个磁盘,但是突然掉电,原先手动挂载的磁盘,就不在了。于是,需要系统在开机时自动挂载我们需要的磁盘和文件夹。    编辑/ect/fstab,可看到当前所有的挂载点,在最后追加需要挂载的信息。每一列代表的信息,如下device name    mount point ...

7年前发布  · 1224 次阅读
  centos  fstab 
0

今天在网上看到这么个chroot工具jailkit,于是就在本地测试了下,感觉是相当的好用,可以对系统用户进行活动范围以及权限的限制,是一个不错的权限限制工具. 下载地址: http://olivier.sessink.nl/jailkit/download/ 1. 安装 jailkit# tar zxvf jailkit-2.10.ta...

7年前发布  · 1596 次阅读
  linux  centos  jailkit  chroot 
0

使用最小化安装"minimal"默认是不安装rsync和scp提示错误: -bash: scp: command not found执行安装命令:yum install -y openssh-clients rsync

7年前发布  · 1532 次阅读
  scp  rsync 
0

如果你还没有shadowsocks可以使用本站免费开通shadowsocks安装Debian / Ubuntu:apt-get install python-pip pip install shadowsocksCentOS:yum install python-setuptools && easy_install pip...

7年前发布  · 4998 次阅读
0

1.首先查看邮件队列# postqueue -p2.停止postfix# service postfix stop3.清除所有发送队列# postsuper -d ALL4.启动postfix# service postfix start 这样就将待发送的垃圾邮件都删除了.

7年前发布  · 1580 次阅读
0

1、安装所有需要的软件包yum -y install cyrus-sasl cyrus-sasl-devel cyrus-sasl-gssapi cyrus-sasl-md5 cyrus-sasl-plain postfix bind-utilspostfix配置文件备份cp /etc/postfix/main.cf /etc/postf...

7年前发布  · 3254 次阅读
  smtp  Postfix  ssl  tls  Auth 
0

你可以到 http://www.mail-tester.com/ 检测你的邮件分数, 满分才合格哦!很多朋友邮件发到 QQ 邮箱都进垃圾箱,或者干脆收不到,如何让你的邮件准确到达收件箱呢?需要做到以下几点SPF 记录 (重要)DKIM 签名IP 地址反向解析邮件内容不要含有特殊字符以及明显的广告内容SPF 记录的设置向你的邮件域名添加一条...

7年前发布  · 2150 次阅读
  SPF  DKIM  反向解析 
1

1、安装postfix和dovecotyum -y install postfix dovecot system-switch-mail system-switch-mail-gnome卸载原有sendmailyum -y remove sendmail2、配置Postfix和Dovecot配置2.1、配置Postfixmyhostnam...

7年前发布  · 1293 次阅读
  Postfix  Dovecot 
0

Postfix 和Dovecot功能确实很强大,支持各种认证方式, 配置非常灵活, 就因为太过于灵活, 反而安装配置的过程中,容易有各种各样的陷阱,碰到问题了, 日志是最好的解决办法了。 我们假设你申请的域名是 example.com 。在域名服务提供商那里设置域名解析, 我的 example.com 设置了3个域名解析:第一个是:A记录...

7年前发布  · 2052 次阅读
0

netstat命令的功能是显示网络连接、路由表和网络接口的信息,可以让用户得知有哪些网络连接正在运作。在日常工作中,我们最常用的也就两个参数,即netstat –an,如下所示:[root@tiaobanji ~]# netstat -an Active Internet connections (servers and establ...

8年前发布  · 4837 次阅读
  centos  netstat  tcp 
0

一、时区显示时区date --help 获取帮助date -Rdate +%z上面两个命令都可[root@localhost ~]# date -R; date +%z Fri, 19 Oct 2012 23:34:27 +0800 +0800 主要就是后面的+0800,东八区 修改时区cp /usr/share/zoneinfo/Asi...

8年前发布  · 1246 次阅读
0

VirtualBox安装上最新的CentOS6.4,安装增强组件时却发现Building the OpenGL support module                         [FAILED]最后网上一找,得到解决方法cd /media/VBOXADDITIONS_4.1.8_75467/ export MAKE='/usr...

8年前发布  · 952 次阅读