Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1853961
  • 博文数量: 237
  • 博客积分: 9995
  • 博客等级: 中将
  • 技术积分: 2890
  • 用 户 组: 普通用户
  • 注册时间: 2006-04-30 10:33
文章分类

全部博文(237)

文章存档

2011年(1)

2007年(59)

2006年(177)

我的朋友

分类: BSD

2006-10-14 10:13:42

用who -l 可以察看日志文件 / var/log/wtmp
 
named_program="/usr/local/sbin/named"
named_flags="-c /etc/namedb/named.conf"
tar czvf - /usr/home/vpopmail > /bak/mail-bak/mail-db/2005-9-17.tgz
tar czvf - /www/virtualhosts > /bak/virtualhosts-bak/virtualhosts-zl/2005-9-17.tgz
 
tar czvf - /usr/home/chb2 > /bak
tar zxvf myTGZfile.tgz -C /usr/local(解压倒指定目录)
/usr/local/share/mysql/mysql.server stop
chown mysql:mysql /var/db/mysql
sockstat -4
把/var/db/mysql 整个删除
然后运行mysql_install_db
看看

Downloading
Downloading
#make install FORCE_PKG_REGISTER="yes"(强迫安装)
tar jxvf sqwebmail-5.0.1.tar.bz2(解压tar.bz2文件)
mount -arw 恢复系统密码
 
 
远程FTP备份
windows
remotebak
#
./configure --help 察看安装帮助
 
sockstat -4l
sockstat -l
 
 
 
 
You can get a good standard workstation install by using the
instant-workstation port/package.  If you have ports installed, you can
install it by doing
        # cd /usr/ports/misc/instant-workstation
        # make install && make clean
as root.  This will install a collection of packages that is convenient to
have on a workstation.

You may also use sysinstall(8) to re-enter the installation and
configuration utility.  Edit /etc/motd to change this login announcement.
You can get a good generic server install by using the
instant-server port/package.  If you have ports installed, you can
install it by doing
        # cd /usr/ports/misc/instant-server
        # make install && make clean
 
du -d1 -h /var  显示本目录内所有子目录大小(K/M)
 
LEO(12004531) 10:23:20
在.xinitrc里exec startkde就会有问题
  好好玩(24497515) 10:23:32
命令行下如何查机器运行了多少天
   LEO(12004531) 10:23:38
应该写上全路径,那样的错误就不会发生.
   LEO(12004531) 10:23:57
exec /usr/local/bin/startkd
阅读(3224) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~