Auto update an debian Server with Aptitude

How to keep software up-to-date automatically on Ubuntu Server using Aptitude Usual disclaimer This article is provided as it and no responsibility will be taken for things going wrong. Tested on Ubuntu 8.10 server. Using Aptitude If you’ve ever tried ou…

Read More...

升级 Debian

由 5.0 (lenny) 升级至测试版本 (squeeze) 变身成系统使用者 (root) 的身份: $ su passwd: # 将 /etc/apt/sources.list 中的 stable 或 lenny 转成 squeeze: cd /etc/apt cp sources.list sources.list.bak sed…

Read More...

debian 6 install webmin

运行 apt-get -f install /etc/apt/sources.list deb http://ftp.fr.debian.org/debian/ squeeze maindeb http://ftp.fr.debian.org/debian/ squeeze-updates maindeb http://security.…

Read More...

winscp 自定义命令

zip 压缩 zip -9 -r !&.zip !& unzip解压缩 unzip -d “!?解压到目录(&E):?解压缩到文件夹的名字;不需要 . 和 / !” !&

Read More...

Html 转易

如果不用用单引号的话可以用转义字符<?php echo”<a href=”www.gznhgm.cn“>这是一个链接</a>”?>

Read More...

zip 压缩

如何在Debian下创建zip文件?zip软件包可创建zip格式的压缩文件。使用如下命令安装: #aptitude install zip 使用方法zip [-derRF…][zipfile [file1 file2 …]] 基本命令格式是 zip options article inpattern inpatte…

Read More...

mldonkey 乱码

首先检查是否装了locales apt-get install locales 然后 编辑/etc/init.d/mldonkey-server 在一堆“#”后的第一行加入 export LANG=zh_CN.UTF-8

Read More...

Mysql start virtualmin debian

设置MYSQL 首先拷贝mysql.server到/etc/init.d目录下命名为mysql # cp /自己的安装目录/mysql/share/mysql/mysql.server /etc/init.d/mysql 然后进入/etc/rc2.d目录,这是debian默认的启动级别。建立连接指向/etc/init.d/mysql # …

Read More...