All posts in Linux

OpenExplorer Eclipse Plugin 1.5.0

Thanks to jdkcn, Open Explorer now supports multiple file managers (not only nautilus) in Linux, it will detect your system file manager and use that by default i. I also added a preferences page for this, so you can customize it if the default doesn’t make you happy.

To upgrade, simply replace the plugin jar file, you can always download the latest versionii from here.

[Footnotes]
  1. dolphin (KDE), nautilus (Gnome), thunar (xfce), pcmanfm (lxde), rox, xdg-open, etc []
  2. 1.5.0.v201108051513 []

OpenExplorer Eclipse Plugin 1.4.0

Alright, this time I will let all the screenshots speak, as they’re inherently international.

So, what’s new?

anything else? Yeah!


Continue reading →

OpenExplorer Eclipse Plugin 1.3.0

Essentially, this is just a bug-fixing and maintaining release. In this release, we addressed an issue on linux platform (with nautilus installed, currently seems all bugs are reported from ubuntu), similar to this one.

I’ve thoroughly tested it in Eclipse Galileo (3.5), Helios (3.6), Indigo (3.7) on Mac OS X 10.6.8, Linux (Ubuntu 11.04) and Windows XP. While I try my best to maintain the plugin compatibility with the latest Eclipse version and latest OS release, it does may have some backward compatible issue. If you encounter any problems, please consider upgrading your eclipse and OS to the latest version and try again. If this doesn’t solve the problem, please do not hesitate to report defects here or simply leave comments below.

This project is hosting on github and the latest release can be downloaded here:
https://github.com/samsonw/OpenExplorer/downloads

To upgrade the plugin, just replace the jar package in your $ECLIPSE_HOME/plugins or $ECLIPSE_HOME/dropins directory.

Last but not least, thanks for all the support and feedback so far. I hope you enjoy it.

ArchLinux, RVM, Ruby, Rails, Nginx, Passenger and You

没看错,就是ArchLinux,怎么,又回来了?其实我一直未曾离开…… i

好了不矫情了,let’s do business.

[Overview]
本文介绍如何在archlinux上快速搭建rails开发环境,其中有很多可能包括我个人的preferences,各位完全可以根据自行需要取舍。

[ArchLinux]
参照Arch自己的 Official Install Guide ii 安装,其实根本不用参照,整个安装wizard做的已经非常非常user friendly了,我觉得。

[RVM]
RVM 的安装依赖 git 和 curl:

$ sudo pacman -S git curl

装之:

$ bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head )

注意没有sudo,符合homebrew的philosophy,尽量不要root,何况我们还是作为development环境,rvm官网好像现在已经没有倾向性了,不过我印象中以前也是倾向于装在user的home目录。
Continue reading →

[Footnotes]
  1. 我有一个arch的liveusb,各种机子上一直保存着至少2+个arch的vm,虽然后来由于太占空间被转移到了移动硬盘,可就是一直舍不得删 []
  2. 最近老是official, official的… 你懂的 []

Redmine on Archlinux

[Overview]
This entry will describe a basic installation and configuration of redmine, a flexible and cross-platform project management web application, on an archlinux system.

For the official installation guide, please refer this wiki page.

[Preparation]
1. Download the latest stable release of redmine (0.8.4) from rubyforge:

$ wget http://rubyforge.org/frs/download.php/56909/redmine-0.8.4.tar.gz

2. Install ruby and ruby on rails
(Notes: rails is optional since the redmine official release we download above already include the appropriate rails version (2.1.2) in its vendor directory)

3. Make sure rubygems and rake meet the version requirement of redmine:

gem -v >= 1.3.1
rake --version >= 0.8.3

Continue reading →

Install Ruby on Rails on Archlinux

[Overview]
Here we will install ruby on rails framework on our Archlinux box. For more detail information, please refer this wiki page.

[Install ruby and rubygems]
First we need to install ruby and its package system rubygems:

$ sudo pacman -S ruby rubygems

[Install rails]
Next install rails via rubygems:

$ sudo gem install rails

gem will help us manage all the dependencies and download them automatically.

(Notes: if you execute the above command without being root (e.g. without sudo), gem will install rails in the home directory of the current user. Usually the directory is named after “.gem”, you probably need to manually add rails and rake bin directory to your PATH before you could use them, that may not be what you exactly want.)
Continue reading →

Install Ubuntu on VirtualBox (Part 3)

Continue from the previous 2 parts:
Install Ubuntu on VirtualBox (Part 1)
Install Ubuntu on VirtualBox (Part 2)

All right, we have finished virtualbox installation and successfully created one virtual machine on it.

Now it’s the time to…

[Install Ubuntu]
Just treat the VM like a real physical machine, what will you do to install an OS on a new gained physical machine? Yeah, that’s right, insert a CD or DVD.

Now let’s do exactly the same thing to our virtual machine.

Right click the VM, select “Settings…”, and you will be greeted with a setting dialog looks like below:

install ubuntu 1
Continue reading →

Install Ubuntu on VirtualBox (Part 2)

Continue from the previous part: Install Ubuntu on VirtualBox (Part 1).

We have already downloaded all the needed softwares and finish the virtualbox installation, so far so good~

Now launch the newly installed virtualbox, let’s …

[Create a virtual machine]
Remember we mentioned that the OS needs to be installed on a physical machine in our last post? Yeah, right now we are gonna to prepare a virtual physical machine, using virtualbox.

The fresh installed virtualbox looks like below:

create virtual machine 1
Continue reading →

Install Ubuntu on VirtualBox (Part 1)

[Dedication]
To my friend louchx:), welcome to the Unix/Linux world!

[Overview]
Ubuntu is one of the most popular linux distribution nowadays. It mainly focus on usability, accessibility and internationalization, to reach as many people as possible. Refer ubuntu home page and this wiki page for more detail information about ubuntu.

Usually we will need a physical machine to install an OS like ubuntu, but since that’s our first time to install linux, let’s choose another more secure way. We will use a software virtualizer to virtualize a physical machine for us.

VirtualBox is a general-purpose full virtualizer for x86 hardware. According to its official home page, it is now the only professional-quality virtualization solution that is also Open Source Software.
Another choice is VMware, but since it’s not free, that’s not my recommendation here.

So… here we will install ubuntu on virtualbox based on windows hosts.
Continue reading →

Bugzilla on ArchLinux

Need a web server and a database engine to run bugzilla, here I choose apache and mysql.

Install apache:

$ pacman -S apache

Refer this wiki page for detailed information about apache installation and configuration.

Install mysql:

$ pacman -S mysql

The above LAMP wiki page also mentions something about mysql installation and configuration, for standalone installation, please refer this wiki page.

Then install bugzilla using:

$ pacman -S bugzilla

It requires a bunch of perl modules to be installed too, but some required modules still need to be installed manually (a little weird, why not include all required perl modules into dependencies?)

Make a module check first:

$ cd /srv/http/bugzilla
$ ./checksetup.pl --check-modules

Continue reading →