Change Fedora hostname permanentlyChange Fedora hostname permanentlyWhen remote login to another machine, it is likely that the hostname arealways the...
分类:
其他好文 时间:
2014-09-16 12:06:00
阅读次数:
176
今天用Fedora wget下载个Ubuntu镜像文件,结果一直显示Resolving xxxxxxxxxxxx(域名)... failed: No address associated with hostname.wget: unable to resolve host address “xxxx...
分类:
其他好文 时间:
2014-09-16 01:31:29
阅读次数:
176
1、修改main.cf配置文件,红色部分为需要注释的部分vim/etc/postfix/main.cf#smtpdrelatedconfigsmtpd_recipient_restrictions=permit_mynetworks,permit_sasl_authenticated,reject_non_fqdn_hostname,reject_non_fqdn_sender,reject_non_fqdn_recipient,reject_unauth_destin..
分类:
其他好文 时间:
2014-09-15 19:50:50
阅读次数:
224
概述:今天把服务器升级到了Centos7,准备弄一个vsftpd做一个简单的权限控制,如下1,local_enable=YES###允许用户登录。2,chroot_local_user=YES##所有用户chroot设置好了,但是报错500OOPS:vsftpd:refusingtorunwithwritablerootinsidechroot()内核:Linuxlocalhost.localdo..
分类:
其他好文 时间:
2014-09-15 19:38:39
阅读次数:
189
linux下weblogic启动如果出现这个错误,多半是hosts文件不对1、先输入hostname,查看本机计算机名(比如:server123)2、sudo vi /etc/hosts 编辑hosts文件,在最后加一行127.0.0.1 server123 (这里的server123换成你自己的l...
分类:
Web程序 时间:
2014-09-15 19:07:29
阅读次数:
524
近来读书,做些笔记,来年好翻翻。
本文所使用的操作系统为 CentOS7.0,如果不想装双系统的可以装虚拟机,可以参考这里:
http://blog.csdn.net/alex_my/article/details/38142229
system data files and infomation
1 password file
终...
分类:
其他好文 时间:
2014-09-15 17:48:59
阅读次数:
255
近来读书,做些笔记,来年好翻翻。
本文所使用的操作系统为 CentOS7.0,如果不想装双系统的可以装虚拟机,可以参考这里:
http://blog.csdn.net/alex_my/article/details/38142229
date and time
涉及到的函数列出如下,然后再举例运行,输出结果,比较直...
分类:
其他好文 时间:
2014-09-15 17:42:59
阅读次数:
342
Usage:?redis-benchmark?[-h?<host>]?[-p?<port>]?[-c?<clients>]?[-n?<requests]>?[-k?<boolean>]??
??
-h?<hostname>??????Server?hostname?(default?127.0.0.1)??
-p?<port>???...
分类:
其他好文 时间:
2014-09-15 16:06:00
阅读次数:
256
1.? ? 通过yum install -y vsftp安装ftp 2.? ? 修改vi /etc/vsftpd/vsftpd.conf,把chroot_list_enabled=yes打开,chroot_list_file=/etc/vsftpd/chroot_list打开 3.? ? 新建ftp用户: useradd -d /home/ftp...
分类:
其他好文 时间:
2014-09-15 13:03:39
阅读次数:
201
1.系统环境说明 CentOS 7.0 x64 版本 192.168.1.7 master 192.168.1.8 slave 192.168.1.9 slave 192.168.1.10 slave 2.安装前的准备工作 2.1 关闭防火墙 #?systemctl?status?firewalld.service??--查看防火墙...
分类:
其他好文 时间:
2014-09-15 13:02:39
阅读次数:
387