摘要:
1:创建www用户userdel wwwgroupdel wwwgroupadd -g 200 wwwuseradd -g 200 -u 200 www2:创建文件夹建立NFS连接mkdir /home/www/websitemount -t nfs 10.96.81.203:/home/www/w...
阅读全文
posted @ 2014-08-21 15:58
飞儿传媒
阅读(352)
推荐(0)
摘要:
crontab -e* * * * * /root/start.sh*/20 * * * * /usr/sbin/ntpdate 0.centos.pool.ntp.org >>/root/ntp.logvi /root/start.sh#!/bin/bash#判断进程是否存在,如果不存在就启动它P...
阅读全文
posted @ 2014-08-20 11:10
飞儿传媒
阅读(241)
推荐(0)
摘要:
首先注册帐号、登录、创建项目创建好之后看到有歌HTTP和SSH选择,我选择SSH。地址是git@github.com:firadio/filecount.git然后在shell里输入git clonegit@github.com:firadio/filecount.git .之后就可以把文件git ...
阅读全文
posted @ 2014-08-15 18:18
飞儿传媒
阅读(215)
推荐(0)
摘要:
vi /etc/ntp.confserver 120.119.28.1server 220.135.58.124server 129.6.15.28server 129.6.15.29# Use Ubuntu's ntp server as a fallback.#server ntp.ubuntu...
阅读全文
posted @ 2014-08-14 11:16
飞儿传媒
阅读(344)
推荐(0)
摘要:
1:yum install cmake make ncurses-devel gcc-c++ bison2:cmake -DCMAKE_INSTALL_PREFIX=/usr/local/mysql3:yum install wget make gcc gcc-c++ bison autoconf ...
阅读全文
posted @ 2014-08-08 14:47
飞儿传媒
阅读(234)
推荐(0)
摘要:
查看指定服务的状态ls -al /etc/rc?.d/*rc.local将rc.local删除服务update-rc.d -f rc.local remove将rc.local加入服务并设置开机顺序99,关机不执行update-rc.d rc.local start 99 2 3 4 5 .查看现有...
阅读全文
posted @ 2014-08-06 10:52
飞儿传媒
阅读(376)
推荐(0)
摘要:
原文地址:http://ubuntuforums.org/showthread.php?t=2214042 Ubuntu14.04安装samba服务器后每次使用sudo命令都会出现no talloc stackframe at ../source3/param/loadparm.c:4864, le...
阅读全文
posted @ 2014-08-05 03:20
飞儿传媒
阅读(1436)
推荐(0)
摘要:
sudo apt-get install nfs-kernel-servervi /etc/exports/home/asheng/vmdk-2 10.96.81.231/32(rw)exportfs -r
阅读全文
posted @ 2014-07-31 22:05
飞儿传媒
阅读(319)
推荐(0)
摘要:
-----------------------------------------------------------------------CrystalDiskMark 3.0.3 x64 (C) 2007-2013 hiyohiyo Crystal Dew World : http://cry...
阅读全文
posted @ 2014-07-29 11:14
飞儿传媒
阅读(413)
推荐(0)
摘要:
sudo apt-get install libxml2-dev libssl-dev libjpeg-dev libpng12-dev libbz2-dev libcurl4-openssl-dev libfreetype6-dev libmcrypt-devln -s /usr/lib/x86_...
阅读全文
posted @ 2014-07-27 14:05
飞儿传媒
阅读(270)
推荐(0)