john pfeiffer
  • Home
  • Categories
  • Tags
  • Archives

Microcore openssh server gcc ruby

linux-microcore-openssh-server-gcc-ruby

ab nano (q to quit reading then i to install, then q again) ab openssh (depends on openssl-0.9.8.tcz and gcc_libs.tcz)

sudo nano /usr/local/etc/sshd_config.example

permit root login (very unsafe but...) control + x to save as /usr/local/etc/sshd_config

/usr/local/etc/init.d/openssh start


ab bash ab coreutils.tcz ? (replace busybox with more gnu like...)


sudo passwd root (set a password so you can use ssh)

sudo nano ~/.bashrc sudo nano /usr/local/etc/bashrc



ab gcc (auto downloads gcc_libs.tcz cloog.tcz mpfr.tcz ) ab cmake
ab make ab binutils

ab gnutls-dev ... ran out of patience ab compiletc (meta extension to load gcc + common apps)


nano test.c

include

int main(int argc, char* argv[]) { printf("hi\n"); return 0; }

gcc -o test.exe test.c -Wall -ansi

./test.exe (displays hi)



ab wget

http://www.ruby-lang.org/en/downloads/ tar -xzvf ...tgz

./configure make && make install

UNFORTUNATELY GOT LOTS OF ERRORS, NOT SURE WHY...


OR JUST SKIP TO

ab ruby-dev ab ruby

ruby -v (display current version of ruby)

wget http://production.cf.rubygems.org/rubygems/rubygems-1.7.1.tgz tar -xzvf rubygems-1.7.1.tgz cd rubygems-1.7.1 sudo ruby setup.rb

.... = RubyGems installed the following executables: /usr/local/bin/gem

gem -v (display current version of gem)


UNFORTUNATELY NOT WORKING: sudo gem install chef

FURTHER STEPS? sqlite3-devs.tce. http://rubygems.org/pages/download



You have to ensure that the change to '/etc/shadow' "survives" the next re-boot by adding it to the backup "white-list" (e.g. via echo 'etc/shadow' >> /opt/.filetool.lst, and then executing a backup (e.g. via filetool.sh -b).


  • « tomcat security
  • Openfiler iscsi nas »

Published

Apr 4, 2011

Category

linux

~215 words

Tags

  • gcc 9
  • installs 41
  • microcore 4
  • openssh 2
  • ruby 10
  • server 66