Posts Tagged ‘OpenSolaris’

anonymous ftp on OpenSolaris

Friday, January 1st, 2010

It’s no secret that I’m a OpenSolaris fan, but it’s not without reason. Today I came across another reason why it’s the best in the server world. I needed to setup an anonymous ftp server on one of my virtual machines and discovered it only takes two easy steps:

1) enable the ftp service

svcadm enable ftp

Or via the GUI: system -> administration -> services -> ftp server

2) configure the anonymous ftp

ftpconfig [ftp directory]

That’s it you’re up and running.  :)

One last note: the ftpconfig script creates a user called “ftp”. To disable anonymous ftp’ing in the future run

users-admin

and delete the “ftp” user

—————–
now playing: Lily Allen – The Fear

Jruby on OpenSolaris

Monday, November 30th, 2009

I’m moving from slackware to OpenSolaris for a project I’m currently working on and did the following to get JRuby working on OpenSolaris:

  1. unpack the JRuby distribution file from jruby.org into the /usr directory. I chose to put the files in /usr/jruby so that future versions can also be unpacked here without the need to change the version number. AKA /usr/jruby instead of /usr/jruby-1.4.0
  2. edit .profile in your home directory. I chose to use the method: nano ~/.profile
  3. at the end of the line that starts “export PATH” add :/usr/jruby/bin (note: the “:” is important)
  4. save the file
  5. log out of your account and log back in.
  6. test the config by running jruby -v (should print out the version number)

—————-
now playing: Lady Sovereign – The Battle