Codename Sunny
NAS . nexenta . TechI really had to wait a long time to get finally the first little part of my NAS-System. I recently received my ordered VIA mini-itx Mainboard. You can read more about this Hardware on the via homepage. Unfortunately i have currently no DDR2 RAM available. So i could only assemble it to an atx-case. Yes,
my very first (ehm… useful ?!?!) ruby script.
NAS . nexenta . rubySo concerning my first try of a web based zfs managment interface i will restart the project with some new conditions: 1. i will switch from the former language PHP to the – like everywhere told – dev-friendly language ruby. 2. i will first concentrate on just the basic functions. 3. i have to use
very first test with ruby camping :-)
nexenta . ruby . TechI tried The Camping Short, Short Example for the ruby camping framework. #!ruby #!/usr/local/bin/ruby -rubygems require ‘camping’ Camping.goes :HomePage module HomePage::Controllers # The root slash shows the `index’ view. class Index < R ‘/’ def get render :index end end # Any other page name gets sent to the view # of the same name.
Installing ruby camping
nexenta . ruby . TechJust a short one: After succeeding in installing ruby gems, i finally was able to install the ruby micro-framework camping. So ruby should just be used as a small administration web interface. In my eyes a rails aproach seems to be like breaking a fly on the wheel. Just easy as this: root@sunny:~# gem
Install Gems (Ruby with zlib) on Nexenta (GnuSolaris) 1.01
nexenta . ruby . TechNext in the row is the installation of the ruby gems package. So it should be easy… just following the instructions. So….. root@sunny:~# wget http://rubyforge.org/frs/download.php/38647/rubygems-1.2.0.zip root@sunny:~# unzip rubygems-1.2.0.zip root@sunny:~# cd rubygems-1.2.0 root@sunny:~# ruby setup.rb config ./lib/rubygems/spec_fetcher.rb:1:in `require’: no such file to load — zlib (LoadError) from ./lib/rubygems/spec_fetcher.rb:1 from ./lib/rubygems/source_index.rb:10:in `require’ from ./lib/rubygems/source_index.rb:10 from ./lib/rubygems.rb:767:in `require’
Install Ruby on Nexenta (GnuSolaris) 1.01
nexenta . ruby . TechIf you want to build your own small ruby script for administrating you Nexenta-Box, you normally just have to do a: root@sunny:~# apt-get install ruby Unfortunetally this Package seems to be broken: root@sunny:~# ruby -v ld.so.1: ruby1.8: fatal: libruby1.8.so.1: open failed: No such file or directory The needed lib libruby1.8.so.1 is not on its desired
ZFS Web-Based Management
NAS . nexenta . PHP . TechDuring a crash of my virtual machine, i lost some of the update of my ZFS Web Interface. One of the few screenshots: I have a Backup of most of the system libs. But because i have not much time to continue the program at the moment, i put it here for free download. phpzft