phpftpwho 查看 proftpd 登录用户信息

Posted 11 months, 1 week ago at 11:32 am. 0 comments

前提是有 apache,proftpd(Professional FTP daemon)和php(ubuntu LAMP 默认就有),若没有先安装。

sudo apt-get install apache2
sudo apt-get install proftpd
sudo apt-get install php5

这里下载 phpftpwho,解压后拷贝到 /var/www 目录中。用http://xxx.xxx.xxx.xxx/phpftpwho/ 访问即可。

Popularity: 21% [?]

Tags: , , , ,

ubuntu 直接用 nautilus 做ftp工具

Posted 11 months, 1 week ago at 11:32 am. 0 comments

filezilla linux 版本总是有这样那样的问题,所以以前总是用 ftp 命令行,但那样慢啊。今天想当然地在 nautilus 中直接 ftp://blog.guoshuang.com,原来 nautilus 就可以ftp。只是修改后只能另存,然后再拖回去覆盖原文件。


Popularity: 14% [?]

Tags: , ,

建立 ubuntu cn flickr group

Posted 11 months, 1 week ago at 11:32 am. 0 comments

ubuntu cn flickr group

大家有什么 ubuntu 好玩的图片,也可以发到组中来。

Popularity: 11% [?]

Tags: ,

ubuntu 软件安装包备份

Posted 11 months, 1 week ago at 11:32 am. 0 comments

原文来自 Backup installed packages on ubuntu,蛮有趣的,大约内容如下:

所有通过 synaptic(新立得)、apt-get、aptitude(shell 模式的新立得)安装的软件,都会在

/var/cache/apt/archives

留下 .deb 安装包。备份这些文件就可以很方便的重装或者新装ubuntu。另外,作者还介绍了一个图形化的刻盘工具—APTonCD

APTonCD is a tool with a graphical interface which allows you to create one or more CDs or DVDs (you choose the type of media) with all of the packages you’ve downloaded via APT-GET or APTITUDE, creating a removable repository that you can use on other computers.One thing you need to remember this will create backup all the packages installed using apt-get,synaptic because these package arcives are stored in /var/cache/apt/archives

APTonCD will also allow you to automatically create media with all of your .deb packages located in one especific repository, so that you can install them into your computers without the need for an internet conection.

Popularity: 32% [?]

Tags: , , , , , ,

finger 查看用户信息

Posted 11 months, 1 week ago at 11:32 am. 0 comments

finger 查看用户的本地或者远程登录信息

finger
显示当前登录时间,tty等

finger user1
显示 user1 用户信息

finger -l
当前用户信息

显示 user 在 host 主机登录信息

finger u@host
显示所有在 host 主机登录的用户信息

用户可以在 ~/.plan 和 ~/.project 目录放入自己的计划和项目文件,然后用 finger 查看。
远程主机必须运行 fingerd,才能使用 finger user@host 功能。(fingerd 太老了,ubuntu 中安装时,路径不对。而且服务器运行 fingerd 也不安全)

Popularity: 10% [?]

Tags: ,

ubuntu 的升级能把人呕死

Posted 11 months, 1 week ago at 11:32 am. 0 comments

每每想起鹿鼎记中,韦小宝见到武林秘籍目录书堆的感受,动不动就几十上百兆的升级包需要下载,三天两头的,没完没了。这个amd 64 的ubuntu才用了几周,几乎没有什么电影、音乐或者图片、资料什么的,就已经 6.2G了…安装完的时候不到1G,剩下的都是升级升级再升级的结果,真不知道这些东西都藏在哪里?:(

在单位还好一点,速度能到几k几十k的,家里ADSL还不把人急死…多希望个把月才升级的稳定版本啊…

还有个问题也很讨厌,因为软件包管理器在升级的时候会被锁住,所以在升级的漫长时间内不能安装任何软件(包),只能等。而且异常中断的话会出现 partial update的问题,可能导致更长时间的升级修复

相关资料:

ubuntu 系统清理

Popularity: 10% [?]

Tags: ,

ubuntu 视频

Posted 11 months, 1 week ago at 11:32 am. 0 comments

有人试着同时打开 ubuntu 程序菜单的所有程序(40个以上),证明 ubuntu 是如此的稳定和高效。
Video of Ubuntu Edgy Eft’s (knot 2) stability/performance

30 种 beryl 效果演示
30 Beryl effects on Linux Ubuntu Edgy Eft (pt.1)

Popularity: 13% [?]

Tags: , , ,

feisty 安装 NTFS 分区写入支持

Posted 11 months, 1 week ago at 11:32 am. 0 comments

读 ntfs 分区本来就没问题。要加入NTFS分区写入支持,在 feisty 中很容易。直接安装 ntfs-config 即可

sudo apt-get install ntfs-config

打开 系统工具 - NTFS 写入支持配置程序,勾选 启用内(外)部设备写支持即可。以后就可以写 NTFS 分区了。

Widows NTFS Partitions Read/write support made easy in Ubuntu Feisty

相关日志:

windows 查看 linux 分区工具
windows 访问ubuntu 目录 SMB

Popularity: 37% [?]

Tags: , , , , , , , ,

ubuntu 下的音乐播放器

Posted 11 months, 1 week ago at 11:32 am. 0 comments

Beep Media Player
简单的播放器

Banshee
音乐管理和播放
Import, organize, play, and share your music using Banshee’s simple, powerful interface.
Rip CDs, play and sync your iPod, create playlists, and burn audio and MP3 CDs. Most portable music devices are supported.

Rhythmbox
带 Album 管理的播放器

Listen

据说是最好的音乐播放器。

A nice music player and manager for GNOME

With Listen you can:

- Play your favorite songs
- Manage your library
- Make playlists
- Automatically or manually download album covers
- Automatically synchronize album covers with iPod
- Easily burn an audio CD
- Directly get informations from wikipedia when you play a song
- See the lyrics of a song
- Have statistics about your favorite songs, albums or artists
- Listen to web radio
- Submit your songs to Audioscrobbler
- Quick access to last.fm related file

XMMS
老牌播放器,现在显得有点过时了。

quod libet

amarok
KDE下的播放器。功能强大。我喜欢它的 win+b 下一首歌快捷键,以及显在在系统托盘功能。

Muine Music Player
简洁、舒适的播放器

mplayer
强大的播放器,甚至可以在tty终端中播放。就是图形界面差了些。

kaffeine
KDE 音乐播放器。

Juk
KDE 播放器

Quod Libet
Quod Libet is a GTK+-based audio player written in Python. It’s designed around the idea that you know how to organize your music better than we do. It lets you make playlists based on regular expressions (don’t worry, regular searches work too). It lets you display and edit any tags you want in the file. And it lets you do this for all the file formats it supports — Ogg Vorbis, FLAC, MP3, Musepack, and MOD.

exaile

Exaile
is a music player aiming to be similar to KDE’s Amarok, but for GTK+ and written in Python.

Decibel Audio Player

Decibel Audio Player is a GTK+ open-source (GPL license) audio player designed for GNU/Linux, which aims at being very straightforward to use by mean of a very clean and user friendly interface. It is especially targeted at Gnome and will follow as closely as possible the Gnome HIG.

相关日志:

linux mp3 中文乱码问题
ubuntu 媒体
Guide to Best Linux [Ubuntu (GNOME)] Applications
ubuntu 下中文字幕问题
ubuntu 下让 totem 播放 rmvb
ubuntu feisty amd64 播放 rmvb 问题

Popularity: 70% [?]

Tags: , , , , , , , , , , , , ,

linux 命令行英->中翻译

Posted 11 months, 1 week ago at 11:32 am. 0 comments

如果没有 w3m(文本浏览器) 的话,先安装

sudo apt-get install w3m

然后建立自己的脚本

sudo gedit /usr/local/bin/dict

内容如下:

#!/bin/bash
w3m http://www.ipark.cn/page/dic.asp?w=$1

保存退出。修改 dict 权限

sudo chmod 755 /usr/local/bin/dict

以后执行
dict fire 就可以查询 fire 的中文翻译。

此方法参考 Multilingual dictionary via command line in Ubuntu 得出。注意:因为ipark.cn是gb2312而不是utf-8所以不能中译英(因为乱码),请自行改为支持 utf-8的翻译站点。

google translate url

http://translate.google.com/translate_t?text=fire&hl=en&langpair=en|zh-CN&tbb=1&ie=UTF-8
http://translate.google.com/translate_t?text=%E8%AF%B4&hl=en&langpair=zh|en&tbb=1&ie=UTF-8

Popularity: 14% [?]

Tags: , , , ,

ad 468x60