Submitted by Mobedu on 2009, March 31, 5:22 PM
# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL) ALL
# Uncomment to allow members of group sudo to not need a password
# (Note that later entries override this, so you might need to move
# it further down)
# %sudo ALL=NOPASSWD: ALL
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
» 阅读全文
Tags: freebsd, ubuntu, sudo配置
Ubuntu | 评论:0
| 阅读:633
Submitted by Mobedu on 2009, March 24, 5:27 PM
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'的解决
解决办法:
$ sudo chown mysql:mysql /var/run/mysqld
$ sudo /etc/init.d/mysql restart
» 阅读全文
Tags: mysql, 启动错误, 错误, mysqld, mysqld.sock
Ubuntu | 评论:0
| 阅读:616
Submitted by Mobedu on 2009, March 22, 1:06 AM
Ubuntu | 评论:0
| 阅读:340
Submitted by Mobedu on 2009, March 3, 1:29 AM
花了一个下午的事件整理了一下ubuntu8.04server中安装的软件的中文说明{我主要是用来精简系统} 精简的进度很不理想.如果有朋友搞过.请留言活着加我Gmali ripsy110@gmail.com
» 阅读全文
Tags: 软件说明, ubuntu-server, ubuntu8.04
Ubuntu | 评论:2
| 阅读:1190
Submitted by Mobedu on 2009, March 2, 6:40 PM
终于搞定了查询ubuntu下所有deb的依赖关系了
apt-cache depends $(dpkg-query -W -f='${Package} ')
根据unix shell 编程里面找到的 这个方法叫命令替换.
当使用$(command)的时候 括号里面的所有字符只用于构成命令.
» 阅读全文
Tags: dpkg-query, apt-cache, depends, 依赖关系, ubuntu
Ubuntu | 评论:0
| 阅读:1015
Submitted by Mobedu on 2009, February 25, 6:05 PM
列出ubuntu下所安装软件列表
dpkg-query -W --showformat='${Package} ${Version}\n' > filename
» 阅读全文
Tags: 新命令, dpkg-query, dpkg, ubuntu软件
Ubuntu | 评论:0
| 阅读:902
Submitted by Mobedu on 2009, February 1, 6:34 PM
懒的不行了.直接给网址好了:
http://wiki.ubuntu.org.cn/Apt-get使用指南
» 阅读全文
Tags: ubuntu, apt-get, 使用方法
Ubuntu | 评论:0
| 阅读:1046
Submitted by Mobedu on 2008, December 25, 3:52 AM
我是英文菜鸟,用ub的时候好多命令都需要man *arg 但是man出来的都是e文的,看起来很费力.现在有办法转成中文了.
$ sudo apt-get install manpages-zh 安装完成后
$ cd /etc
$ sudo vi manpath.config
替换所有/usr/share/man 为 /usr/share/man/zh_CN
» 阅读全文
Tags: man, help, 帮助, ubuntu
Ubuntu | 评论:0
| 阅读:1327