一些技巧

2009-05-13 04:51:54来源:未知 阅读 ()

新老客户大回馈,云服务器低至5折

用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
看看
http://www.cpan.org/modules/02packages.details.txt.gz
Downloading
http://www.cpan.org/authors/id/T/TI/TIMB/DBI-1.48.tar.gz
Downloading
http://www.cpan.org/authors/id/R/RU/RUDY/DBD-mysql-2.9008.tar.gz
#make install FORCE_PKG_REGISTER="yes"(强迫安装)
tar jxvf sqwebmail-5.0.1.tar.bz2(解压tar.bz2文件)
mount -arw 恢复系统密码


远程FTP备份
windows
remotebak
[email=JB88F-WT2Q3-DPXTT-Y8GHG-7YYQY-tjyzhychb@#3]JB88F-WT2Q3-DPXTT-Y8GHG-7YYQY-tjyzhychb@#3[/email]
#
./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

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/18380/showart_184440.html

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:修改mysql的root密码

下一篇:16.7 我在哪里能找到免费的FreeBSD用户?