摘要: centos 设置删除、覆盖提示 相信好多用linux的同学都用过cp这个命令来覆盖文件,但是新建的普通用户不会有任何提示,这时候心里就咯噔一下,赶紧看看新文件的是不是传上去了。如果加上提示,是不是就好多了呢。 在用户的根目录修改文件 vim .bashrc User specific aliase 阅读全文
posted @ 2017-01-11 19:06 boy215 阅读(221) 评论(0) 推荐(0) 编辑
摘要: yum方式安装 yum install samba 修改配置文件 vim /etc/samba/smb.conf [global] comment = global workgroup = QFpay server string = Samba Server Version %v log level 阅读全文
posted @ 2017-01-11 18:52 boy215 阅读(134) 评论(0) 推荐(0) 编辑
摘要: CentOS 6下Cacti搭建文档 安装依赖关系 yum y install mysql devel httpd php php pdo php snmp php mysql lm_sensors net snmp net snmp utils net snmp libs rrdtool rrdt 阅读全文
posted @ 2017-01-11 18:50 boy215 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 前期准备:安装好Mysql+apache+PHP,测试apache能够解析index.php文件后就可以。 用户名 xiaohe 密码 123456 mysql安装好后: adduser wiki 给系统加wiki用户 passwd wiki 修改wiki用户密码 给wiki建立数据库: mysql 阅读全文
posted @ 2017-01-11 18:49 boy215 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 下载安装python yum install python setuptools 从官网下载supervisor包 https://pypi.python.org/pypi/supervisor 解压 tar zxf supervisor 3.1.3.tar.gz cd supervisor 编译 阅读全文
posted @ 2017-01-11 18:48 boy215 阅读(864) 评论(0) 推荐(0) 编辑
摘要: 安装python(最低2.6v) (1)、python2.7安装 wget https://www.python.org/ftp/python/2.7.8/Python 2.7.8.tgz tar xvzf Python 2.7.8.tgz cd Python 2.7.8 ./configure p 阅读全文
posted @ 2017-01-11 18:46 boy215 阅读(313) 评论(0) 推荐(0) 编辑