Archive for the ‘ Ubuntu ’ Category


在Ubuntu上使用80端口

在Stackoverflow上问的问题,直接贴个地址,方便自己查找:
http://stackoverflow.com/questions/2444591/opening-port-80-with-java-application-on-ubuntu

简而言之,用iptables进行redirect,命令长的样子:
iptables -t nat -A PREROUTING -i eth0 -p tcp –dport http -j REDIRECT –to-ports 8080

推荐Amarok

一款看上去很不错的听歌软件,目前稳定版只能在Linux下使用,有非官方的WIN和MAC版本,不过因为后者上面相关播放器太多,所以忽略。

界面很漂亮,播放效果也不错,特别是自动链接的一些东西很不错。

下载为:sudo apt-get install amarok。当然也可以使用Ubuntu的下载工具下载。

问题:如果你在安装之后,无法播放歌曲,尝试安装如下文件;
sudo apt-get install phonon-backend-xine libxine1-ffmpeg。问题应该可以迎刃而解,我使用的是Ubuntu Karmic
,amarok的版本是2.2.0

终于可以在Ubuntu上使用正宗的Chrome了

说GOOGLE这么大的声势,却对UNIX市场始终进度不够,虽然发布了Chrome发布了这么久,UNIX的BETA版现在才出现。不过至少有了官方货,不需要在去使用盗版的Chromium了。在这还是要好好赞赏一下Chromium,除了颜色之外,功能个方面做的都是相当到位阿!

好了,装好了,但是我没发现有多大的区别。等使用两天再来汇报.

[zz]在Ubuntu下使用Eclipse的svn客户端报unable to load default svn client

这个不仅仅在8.04和Eclipse3.4下管用,在最新版本同样适用。

If you are running Ubuntu 8.04 and you install Eclipse 3.4 with subclipse 1.4, you will probably get the “unable to load default svn client” error when trying to add a repository.

Here it is how I solved this problem. I assume that you have the ’subversion’ and ‘libsvn-java’ packages already installed (if not, please do install them, and then follow the instructions).

1) Go to System –> Administration –> Software Sources
and under the “Updates” tab, check the hardy-backports updates. Close the window and update the package lists.
2) Run the update manager and update all packages (subversion will be updated from version 1.4 to version 1.5)
3) Edit the eclipse.ini file (it is located into the directory where you installed eclipse) by adding the following two lines, immediately after the “-vmargs” line

Code:
-Djava.library.path=/usr/share/java/
-Djava.library.path=/usr/lib/jni/

This should do the job, next time you start eclipse, it should correctly add your existing repository.

Please post comments if you have any trouble.

Cheers!

在Ubuntu上用Chrome

最近越来越鄙视FireFox同学了,在Windows上已经基本上抛弃了FF,在Ubuntu上也想如此一番,GOOGLE了一下,一个简单的教程如何在Ubuntu上安装Chrome。

sudo gedit /etc/apt/sources.list

加上以下两句:

deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu karmic main
deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu karmic main

然后:这句话是对我目前的版本9.10 Karmic有效

deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu karmic main
deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu karmic main

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xfbef0d696de1c72ba5a835fe5a9bf3bb4e5e17b5

sudo apt-get update

sudo apt-get install chromium-browser

这样就好了。

  • English Version

    • Cannot read Chinese? Please take a look at my English site, hope you can find more you need there!
  • 感谢支持

  • twitter

    facebook

    linkedin

    • You are currently browsing the archives for the Ubuntu category.

  • Categories