+-------------------------------------------------------------------+ | Notes taken by jchatigny during installation of OOR prerequisites | +-------------------------------------------------------------------+ +----------------+ | Install tomcat | +----------------+ > sudo apt-get install tomcat6 Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-2.6.31-14 linux-headers-2.6.31-14-generic Use 'apt-get autoremove' to remove them. The following extra packages will be installed: jsvc libcommons-collections-java libcommons-daemon-java libcommons-dbcp-java libcommons-pool-java libecj-java libservlet2.5-java libtomcat6-java tomcat6-common Suggested packages: classpath-doc ecj ant libecj-java-gcj tomcat6-docs tomcat6-admin tomcat6-examples The following NEW packages will be installed: jsvc libcommons-collections-java libcommons-daemon-java libcommons-dbcp-java libcommons-pool-java libecj-java libservlet2.5-java libtomcat6-java tomcat6 tomcat6-common 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded. Need to get 5,073kB of archives. After this operation, 9,662kB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://us.archive.ubuntu.com karmic/main libcommons-daemon-java 1.0.2~svn20061127-9ubuntu2 [38.8kB] Get:2 http://us.archive.ubuntu.com karmic/main jsvc 1.0.2~svn20061127-9ubuntu2 [24.1kB] Get:3 http://us.archive.ubuntu.com karmic/main libcommons-collections-java 2.1.1-8ubuntu1 [325kB] Get:4 http://us.archive.ubuntu.com karmic/main libcommons-pool-java 1.4-0ubuntu1 [177kB] Get:5 http://us.archive.ubuntu.com karmic/main libcommons-dbcp-java 1.2.2-1ubuntu1 [119kB] Get:6 http://us.archive.ubuntu.com karmic/main libecj-java 3.5.1-0ubuntu1 [1,233kB] Get:7 http://us.archive.ubuntu.com karmic/main libservlet2.5-java 6.0.20-2ubuntu2 [183kB] Get:8 http://us.archive.ubuntu.com karmic/main libtomcat6-java 6.0.20-2ubuntu2 [2,912kB] Get:9 http://us.archive.ubuntu.com karmic/main tomcat6-common 6.0.20-2ubuntu2 [36.2kB] Get:10 http://us.archive.ubuntu.com karmic/main tomcat6 6.0.20-2ubuntu2 [25.6kB] Fetched 5,073kB in 4s (1,022kB/s) debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline Selecting previously deselected package libcommons-daemon-java. (Reading database ... 141301 files and directories currently installed.) Unpacking libcommons-daemon-java (from .../libcommons-daemon-java_1.0.2~svn20061127-9ubuntu2_all.deb) ... Selecting previously deselected package jsvc. Unpacking jsvc (from .../jsvc_1.0.2~svn20061127-9ubuntu2_i386.deb) ... Selecting previously deselected package libcommons-collections-java. Unpacking libcommons-collections-java (from .../libcommons-collections-java_2.1.1-8ubuntu1_all.deb) ... Selecting previously deselected package libcommons-pool-java. Unpacking libcommons-pool-java (from .../libcommons-pool-java_1.4-0ubuntu1_all.deb) ... Selecting previously deselected package libcommons-dbcp-java. Unpacking libcommons-dbcp-java (from .../libcommons-dbcp-java_1.2.2-1ubuntu1_all.deb) ... Selecting previously deselected package libecj-java. Unpacking libecj-java (from .../libecj-java_3.5.1-0ubuntu1_all.deb) ... Selecting previously deselected package libservlet2.5-java. Unpacking libservlet2.5-java (from .../libservlet2.5-java_6.0.20-2ubuntu2_all.deb) ... Selecting previously deselected package libtomcat6-java. Unpacking libtomcat6-java (from .../libtomcat6-java_6.0.20-2ubuntu2_all.deb) ... Selecting previously deselected package tomcat6-common. Unpacking tomcat6-common (from .../tomcat6-common_6.0.20-2ubuntu2_all.deb) ... Selecting previously deselected package tomcat6. Unpacking tomcat6 (from .../tomcat6_6.0.20-2ubuntu2_all.deb) ... Processing triggers for doc-base ... Processing 3 added doc-base file(s)... Registering documents with scrollkeeper... Processing triggers for man-db ... Processing triggers for ureadahead ... Setting up libcommons-daemon-java (1.0.2~svn20061127-9ubuntu2) ... Setting up jsvc (1.0.2~svn20061127-9ubuntu2) ... Setting up libcommons-collections-java (2.1.1-8ubuntu1) ... Setting up libcommons-pool-java (1.4-0ubuntu1) ... Setting up libcommons-dbcp-java (1.2.2-1ubuntu1) ... Setting up libecj-java (3.5.1-0ubuntu1) ... Setting up libservlet2.5-java (6.0.20-2ubuntu2) ... Setting up libtomcat6-java (6.0.20-2ubuntu2) ... Setting up tomcat6-common (6.0.20-2ubuntu2) ... Setting up tomcat6 (6.0.20-2ubuntu2) ... Adding system user `tomcat6' (UID 114) ... Adding new group `tomcat6' (GID 121) ... Adding new user `tomcat6' (UID 114) with group `tomcat6' ... Not creating home directory `/usr/share/tomcat6'. * Starting Tomcat servlet engine tomcat6 ...fail! invoke-rc.d: initscript tomcat6, action "start" failed. +---------------------------------------------------------------+ | I believe the above 'failure to start' message can be ignored | +---------------------------------------------------------------+ > ps auxww | grep catal root 5446 0.0 0.0 2024 364 ? Ss 17:23 0:00 /usr/bin/jsvc -user tomcat6 -cp /usr/share/java/commons-daemon.jar:/usr/share/tomcat6/bin/bootstrap.jar -outfile SYSLOG -errfile SYSLOG -pidfile /var/run/tomcat6.pid -Djava.awt.headless=true -Xmx128M -Djava.endorsed.dirs=/usr/share/tomcat6/endorsed -Dcatalina.base=/var/lib/tomcat6 -Dcatalina.home=/usr/share/tomcat6 -Djava.io.tmpdir=/tmp/tomcat6-temp -Djava.security.manager -Djava.security.policy=/var/lib/tomcat6/work/catalina.policy -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties org.apache.catalina.startup.Bootstrap root 5447 0.0 0.0 2024 476 ? S 17:23 0:00 /usr/bin/jsvc -user tomcat6 -cp /usr/share/java/commons-daemon.jar:/usr/share/tomcat6/bin/bootstrap.jar -outfile SYSLOG -errfile SYSLOG -pidfile /var/run/tomcat6.pid -Djava.awt.headless=true -Xmx128M -Djava.endorsed.dirs=/usr/share/tomcat6/endorsed -Dcatalina.base=/var/lib/tomcat6 -Dcatalina.home=/usr/share/tomcat6 -Djava.io.tmpdir=/tmp/tomcat6-temp -Djava.security.manager -Djava.security.policy=/var/lib/tomcat6/work/catalina.policy -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties org.apache.catalina.startup.Bootstrap tomcat6 5448 0.7 0.8 280420 27728 ? Sl 17:23 0:01 /usr/bin/jsvc -user tomcat6 -cp /usr/share/java/commons-daemon.jar:/usr/share/tomcat6/bin/bootstrap.jar -outfile SYSLOG -errfile SYSLOG -pidfile /var/run/tomcat6.pid -Djava.awt.headless=true -Xmx128M -Djava.endorsed.dirs=/usr/share/tomcat6/endorsed -Dcatalina.base=/var/lib/tomcat6 -Dcatalina.home=/usr/share/tomcat6 -Djava.io.tmpdir=/tmp/tomcat6-temp -Djava.security.manager -Djava.security.policy=/var/lib/tomcat6/work/catalina.policy -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties org.apache.catalina.startup.Bootstrap oor 5468 0.0 0.0 3036 788 pts/1 S+ 17:27 0:00 grep catal +--------------------------------------------------------------------------------+ | Browsing to http://oor.dsl.bbn.com:8080 shows Tomcat's default 'success' page | +--------------------------------------------------------------------------------+ +------------------------------------------------------------------------------------------+ | Also installed the tomcat6-user package so that we can easily create 'private' instances | +------------------------------------------------------------------------------------------+ > sudo apt-get install tomcat6-user Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-2.6.31-14 linux-headers-2.6.31-14-generic Use 'apt-get autoremove' to remove them. The following NEW packages will be installed: tomcat6-user 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 21.2kB of archives. After this operation, 156kB of additional disk space will be used. Get:1 http://us.archive.ubuntu.com karmic/main tomcat6-user 6.0.20-2ubuntu2 [21.2kB] Fetched 21.2kB in 0s (44.2kB/s) debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline Selecting previously deselected package tomcat6-user. (Reading database ... 141629 files and directories currently installed.) Unpacking tomcat6-user (from .../tomcat6-user_6.0.20-2ubuntu2_all.deb) ... Processing triggers for man-db ... Setting up tomcat6-user (6.0.20-2ubuntu2) ... +--------------------------------------------------------------------+ | Created a private instance in ~/project/tomcat to run on port 8086 | +--------------------------------------------------------------------+ > cd ~/project > tomcat6-instance-create tomcat in ~/project/conf/server.xml -> changed port 8080 to 8086 > cd ~/project/tomcat/bin > ./startup.sh Using CATALINA_BASE: /export/home/oor/tomcat Using CATALINA_HOME: /usr/share/tomcat6 Using CATALINA_TMPDIR: /export/home/oor/tomcat/temp Using JRE_HOME: /usr/lib/jvm/java-6-sun +-------------+ | Install ant | +-------------+ > sudo apt-get install ant Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-2.6.31-14 linux-headers-2.6.31-14-generic Use 'apt-get autoremove' to remove them. The following extra packages will be installed: ant-gcj ant-optional ant-optional-gcj gcj-4.4-base gcj-4.4-jre-lib libgcj-bc libgcj-common libgcj10 libjaxp1.3-java libxerces2-java Suggested packages: ant-doc libbsf-java liboro-java libxalan2-java junit liblog4j1.2-java libregexp-java jython antlr libbcel-java libcommons-logging-java libjdepend-java libgnumail-java libxml-commons-resolver1.1-java libcommons-net-java libjsch-java javacc libgcj10-dbg libgcj10-awt libjaxp1.3-java-gcj libxerces2-java-doc libxerces2-java-gcj The following NEW packages will be installed: ant ant-gcj ant-optional ant-optional-gcj gcj-4.4-base gcj-4.4-jre-lib libgcj-bc libgcj-common libgcj10 libjaxp1.3-java libxerces2-java 0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded. Need to get 27.5MB of archives. After this operation, 62.8MB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://us.archive.ubuntu.com karmic/main libjaxp1.3-java 1.3.04-5ubuntu2 [348kB] Get:2 http://us.archive.ubuntu.com karmic/main libxerces2-java 2.9.1-4ubuntu1 [1,113kB] Get:3 http://us.archive.ubuntu.com karmic/main ant 1.7.1-4 [1,298kB] Get:4 http://us.archive.ubuntu.com karmic/main libgcj-common 1:4.4.1-1ubuntu2 [123kB] Get:5 http://us.archive.ubuntu.com karmic/main gcj-4.4-base 4.4.1-5ubuntu2 [109kB] Get:6 http://us.archive.ubuntu.com karmic/main libgcj10 4.4.1-5ubuntu2 [11.5MB] Get:7 http://us.archive.ubuntu.com karmic/main libgcj-bc 4.4.1-1ubuntu2 [1,148B] Get:8 http://us.archive.ubuntu.com karmic/main ant-gcj 1.7.1-4 [1,218kB] Get:9 http://us.archive.ubuntu.com karmic/main ant-optional 1.7.1-4 [648kB] Get:10 http://us.archive.ubuntu.com karmic/main ant-optional-gcj 1.7.1-4 [669kB] Get:11 http://us.archive.ubuntu.com karmic/main gcj-4.4-jre-lib 4.4.1-5ubuntu2 [10.5MB] Fetched 27.5MB in 23s (1,145kB/s) debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline Selecting previously deselected package libjaxp1.3-java. (Reading database ... 141644 files and directories currently installed.) Unpacking libjaxp1.3-java (from .../libjaxp1.3-java_1.3.04-5ubuntu2_i386.deb) ... Selecting previously deselected package libxerces2-java. Unpacking libxerces2-java (from .../libxerces2-java_2.9.1-4ubuntu1_all.deb) ... Selecting previously deselected package ant. Unpacking ant (from .../archives/ant_1.7.1-4_all.deb) ... Selecting previously deselected package libgcj-common. Unpacking libgcj-common (from .../libgcj-common_1%3a4.4.1-1ubuntu2_all.deb) ... Selecting previously deselected package gcj-4.4-base. Unpacking gcj-4.4-base (from .../gcj-4.4-base_4.4.1-5ubuntu2_i386.deb) ... Selecting previously deselected package libgcj10. Unpacking libgcj10 (from .../libgcj10_4.4.1-5ubuntu2_i386.deb) ... Selecting previously deselected package libgcj-bc. Unpacking libgcj-bc (from .../libgcj-bc_4.4.1-1ubuntu2_i386.deb) ... Selecting previously deselected package ant-gcj. Unpacking ant-gcj (from .../ant-gcj_1.7.1-4_i386.deb) ... Selecting previously deselected package ant-optional. Unpacking ant-optional (from .../ant-optional_1.7.1-4_all.deb) ... Selecting previously deselected package ant-optional-gcj. Unpacking ant-optional-gcj (from .../ant-optional-gcj_1.7.1-4_i386.deb) ... Selecting previously deselected package gcj-4.4-jre-lib. Unpacking gcj-4.4-jre-lib (from .../gcj-4.4-jre-lib_4.4.1-5ubuntu2_all.deb) ... Processing triggers for man-db ... Setting up libjaxp1.3-java (1.3.04-5ubuntu2) ... Setting up libxerces2-java (2.9.1-4ubuntu1) ... Setting up ant (1.7.1-4) ... Setting up libgcj-common (1:4.4.1-1ubuntu2) ... Setting up gcj-4.4-base (4.4.1-5ubuntu2) ... Setting up libgcj10 (4.4.1-5ubuntu2) ... Setting up libgcj-bc (4.4.1-1ubuntu2) ... Setting up ant-gcj (1.7.1-4) ... Setting up ant-optional (1.7.1-4) ... Setting up ant-optional-gcj (1.7.1-4) ... Setting up gcj-4.4-jre-lib (4.4.1-5ubuntu2) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place > which ant -> /usr/bin/ant +--------------------------------------+ | Install the tomcat6-examples package | +--------------------------------------+ > sudo apt-get install tomcat6-examples Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-2.6.31-14 linux-headers-2.6.31-14-generic Use 'apt-get autoremove' to remove them. The following NEW packages will be installed: tomcat6-examples 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 419kB of archives. After this operation, 1,905kB of additional disk space will be used. Get:1 http://us.archive.ubuntu.com karmic/main tomcat6-examples 6.0.20-2ubuntu2 [419kB] Fetched 419kB in 0s (421kB/s) debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline Selecting previously deselected package tomcat6-examples. (Reading database ... 142032 files and directories currently installed.) Unpacking tomcat6-examples (from .../tomcat6-examples_6.0.20-2ubuntu2_all.deb) ... Setting up tomcat6-examples (6.0.20-2ubuntu2) ... +----------------------------------------------------------------+ | Create a trivial webapp in ~/project/trivial-webapp | | | | Deploy to the shared tomcat instance using ant | | - had to chmod a+rw for the shared webapps directory | | - Browsing to http://oor.dsl.bbn.com:8080/trivial/hello works | | | | Deploy to our private tomcat instance using ant | | - Browsing to http://oor.dsl.bbn.com:8086/trivial/hello works | +----------------------------------------------------------------+ +---------------+ | Install MySQL | +---------------+ > sudo apt-get install mysql-server Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-2.6.31-14 linux-headers-2.6.31-14-generic Use 'apt-get autoremove' to remove them. The following extra packages will be installed: libdbd-mysql-perl libdbi-perl libhtml-template-perl libnet-daemon-perl libplrpc-perl mysql-client-5.1 mysql-server-5.1 mysql-server-core-5.1 Suggested packages: dbishell libipc-sharedcache-perl tinyca mailx The following NEW packages will be installed: libdbd-mysql-perl libdbi-perl libhtml-template-perl libnet-daemon-perl libplrpc-perl mysql-client-5.1 mysql-server mysql-server-5.1 mysql-server-core-5.1 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. Need to get 20.4MB of archives. After this operation, 48.8MB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://us.archive.ubuntu.com karmic/main libnet-daemon-perl 0.43-1 [46.9kB] Get:2 http://us.archive.ubuntu.com karmic/main libplrpc-perl 0.2020-2 [36.0kB] Get:3 http://us.archive.ubuntu.com karmic/main libdbi-perl 1.609-1 [800kB] Get:4 http://us.archive.ubuntu.com karmic/main libdbd-mysql-perl 4.011-1ubuntu1 [136kB] Get:5 http://us.archive.ubuntu.com karmic/main mysql-client-5.1 5.1.37-1ubuntu5 [8,201kB] Get:6 http://us.archive.ubuntu.com karmic/main mysql-server-core-5.1 5.1.37-1ubuntu5 [3,838kB] Get:7 http://us.archive.ubuntu.com karmic/main mysql-server-5.1 5.1.37-1ubuntu5 [7,186kB] Get:8 http://us.archive.ubuntu.com karmic/main libhtml-template-perl 2.9-1 [65.8kB] Get:9 http://us.archive.ubuntu.com karmic/main mysql-server 5.1.37-1ubuntu5 [63.9kB] Fetched 20.4MB in 17s (1,135kB/s) debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline Preconfiguring packages ... Configuring mysql-server-5.1 ---------------------------- Important note for NIS/YP users Using MySQL under NIS/YP requires a mysql user account to be added on the local system with: adduser --system --group --home /var/lib/mysql mysql You should also check the permissions and ownership of the /var/lib/mysql directory: /var/lib/mysql: drwxr-xr-x mysql mysql While not mandatory, it is highly recommended that you set a password for the MySQL administrative "root" user. If this field is left blank, the password will not be changed. New password for the MySQL "root" user: Repeat password for the MySQL "root" user: Selecting previously deselected package libnet-daemon-perl. (Reading database ... 142376 files and directories currently installed.) Unpacking libnet-daemon-perl (from .../libnet-daemon-perl_0.43-1_all.deb) ... Selecting previously deselected package libplrpc-perl. Unpacking libplrpc-perl (from .../libplrpc-perl_0.2020-2_all.deb) ... Selecting previously deselected package libdbi-perl. Unpacking libdbi-perl (from .../libdbi-perl_1.609-1_i386.deb) ... Selecting previously deselected package libdbd-mysql-perl. Unpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_4.011-1ubuntu1_i386.deb) ... Selecting previously deselected package mysql-client-5.1. Unpacking mysql-client-5.1 (from .../mysql-client-5.1_5.1.37-1ubuntu5_i386.deb) ... Selecting previously deselected package mysql-server-core-5.1. Unpacking mysql-server-core-5.1 (from .../mysql-server-core-5.1_5.1.37-1ubuntu5_i386.deb) ... Selecting previously deselected package mysql-server-5.1. Unpacking mysql-server-5.1 (from .../mysql-server-5.1_5.1.37-1ubuntu5_i386.deb) ... debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline Selecting previously deselected package libhtml-template-perl. Unpacking libhtml-template-perl (from .../libhtml-template-perl_2.9-1_all.deb) ... Selecting previously deselected package mysql-server. Unpacking mysql-server (from .../mysql-server_5.1.37-1ubuntu5_all.deb) ... Processing triggers for man-db ... Processing triggers for ureadahead ... ureadahead will be reprofiled on next reboot Setting up libnet-daemon-perl (0.43-1) ... Setting up libplrpc-perl (0.2020-2) ... Setting up libdbi-perl (1.609-1) ... Setting up libdbd-mysql-perl (4.011-1ubuntu1) ... Setting up mysql-client-5.1 (5.1.37-1ubuntu5) ... Setting up mysql-server-core-5.1 (5.1.37-1ubuntu5) ... Setting up mysql-server-5.1 (5.1.37-1ubuntu5) ... debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline * Stopping MySQL database server mysqld ...done. 100107 21:30:00 [Note] Plugin 'FEDERATED' is disabled. 100107 21:30:00 InnoDB: Started; log sequence number 0 44233 100107 21:30:00 InnoDB: Starting shutdown... 100107 21:30:02 InnoDB: Shutdown completed; log sequence number 0 44233 100107 21:30:02 [Warning] Forcing shutdown of 1 plugins * Starting MySQL database server mysqld ...done. * Checking for corrupt, not cleanly closed and upgrade needing tables. Setting up libhtml-template-perl (2.9-1) ... Setting up mysql-server (5.1.37-1ubuntu5) ... +-----------------------------------+ | Test using mysql interactive mode | +-----------------------------------+ > which mysql -> /usr/bin/mysql > mysql --user=root --password=******** Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 41 Server version: 5.1.37-1ubuntu5 (Ubuntu) Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> exit +--------------+ | Install ruby | +--------------+ > sudo apt-get install ruby Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-2.6.31-14 linux-headers-2.6.31-14-generic Use 'apt-get autoremove' to remove them. The following extra packages will be installed: libruby1.8 ruby1.8 Suggested packages: ruby1.8-examples rdoc1.8 ri1.8 The following NEW packages will be installed: libruby1.8 ruby ruby1.8 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 1,495kB of archives. After this operation, 6,316kB of additional disk space will be used. Do you want to continue [Y/n]? y y Get:1 http://us.archive.ubuntu.com karmic-updates/main libruby1.8 1.8.7.174-1ubuntu1 [1,450kB] Get:2 http://us.archive.ubuntu.com karmic-updates/main ruby1.8 1.8.7.174-1ubuntu1 [24.1kB] Get:3 http://us.archive.ubuntu.com karmic/main ruby 4.2 [20.7kB] Fetched 1,495kB in 2s (743kB/s) debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline Selecting previously deselected package libruby1.8. (Reading database ... 142804 files and directories currently installed.) Unpacking libruby1.8 (from .../libruby1.8_1.8.7.174-1ubuntu1_i386.deb) ... Selecting previously deselected package ruby1.8. Unpacking ruby1.8 (from .../ruby1.8_1.8.7.174-1ubuntu1_i386.deb) ... Selecting previously deselected package ruby. Unpacking ruby (from .../apt/archives/ruby_4.2_all.deb) ... Processing triggers for man-db ... Setting up libruby1.8 (1.8.7.174-1ubuntu1) ... Setting up ruby1.8 (1.8.7.174-1ubuntu1) ... Setting up ruby (4.2) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place +------------------+ | Install rubygems | +------------------+ > sudo apt-get install rubygems Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-2.6.31-14 linux-headers-2.6.31-14-generic Use 'apt-get autoremove' to remove them. The following extra packages will be installed: irb1.8 libreadline-ruby1.8 libreadline5 rdoc1.8 rubygems1.8 Suggested packages: graphviz ruby1.8-dev build-essential rubygems-doc The following NEW packages will be installed: irb1.8 libreadline-ruby1.8 libreadline5 rdoc1.8 rubygems rubygems1.8 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Need to get 550kB of archives. After this operation, 2,519kB of additional disk space will be used. Do you want to continue [Y/n]? y y Get:1 http://us.archive.ubuntu.com karmic/main libreadline5 5.2-6 [140kB] Get:2 http://us.archive.ubuntu.com karmic-updates/main libreadline-ruby1.8 1.8.7.174-1ubuntu1 [10.4kB] Get:3 http://us.archive.ubuntu.com karmic-updates/main irb1.8 1.8.7.174-1ubuntu1 [79.4kB] Get:4 http://us.archive.ubuntu.com karmic-updates/main rdoc1.8 1.8.7.174-1ubuntu1 [125kB] Get:5 http://us.archive.ubuntu.com karmic/universe rubygems1.8 1.3.5-1ubuntu2 [192kB] Get:6 http://us.archive.ubuntu.com karmic/universe rubygems 1.3.5-1ubuntu2 [2,684B] Fetched 550kB in 1s (518kB/s) debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline Selecting previously deselected package libreadline5. (Reading database ... 143404 files and directories currently installed.) Unpacking libreadline5 (from .../libreadline5_5.2-6_i386.deb) ... Selecting previously deselected package libreadline-ruby1.8. Unpacking libreadline-ruby1.8 (from .../libreadline-ruby1.8_1.8.7.174-1ubuntu1_i386.deb) ... Selecting previously deselected package irb1.8. Unpacking irb1.8 (from .../irb1.8_1.8.7.174-1ubuntu1_all.deb) ... Selecting previously deselected package rdoc1.8. Unpacking rdoc1.8 (from .../rdoc1.8_1.8.7.174-1ubuntu1_all.deb) ... Selecting previously deselected package rubygems1.8. Unpacking rubygems1.8 (from .../rubygems1.8_1.3.5-1ubuntu2_all.deb) ... Selecting previously deselected package rubygems. Unpacking rubygems (from .../rubygems_1.3.5-1ubuntu2_all.deb) ... Processing triggers for man-db ... Setting up libreadline5 (5.2-6) ... Setting up libreadline-ruby1.8 (1.8.7.174-1ubuntu1) ... Setting up irb1.8 (1.8.7.174-1ubuntu1) ... Setting up rdoc1.8 (1.8.7.174-1ubuntu1) ... Setting up rubygems1.8 (1.3.5-1ubuntu2) ... Setting up rubygems (1.3.5-1ubuntu2) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place +---------------+ | Install rails | +---------------+ > sudo apt-get install rails Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-2.6.31-14 linux-headers-2.6.31-14-generic Use 'apt-get autoremove' to remove them. The following extra packages will be installed: irb javascript-common libbreakpoint-ruby1.8 libbuilder-ruby libbuilder-ruby1.8 libcmdparse2-ruby1.8 libdaemons-ruby1.8 liberb-ruby libjs-prototype liblog4r-ruby1.8 libmmap-ruby1.8 libmocha-ruby libmocha-ruby1.8 libncurses-ruby1.8 libopenssl-ruby1.8 libredcloth-ruby libredcloth-ruby1.8 libruby libruby1.8-extras libsqlite3-ruby libsqlite3-ruby1.8 libxml-simple-ruby rake rdoc wwwconfig-common Suggested packages: apache2 httpd libapache2-mod-ruby libapache2-mod-fcgid libfcgi-ruby libfcgi-ruby1.8 postgresql-client apache apache-ssl The following NEW packages will be installed: irb javascript-common libbreakpoint-ruby1.8 libbuilder-ruby libbuilder-ruby1.8 libcmdparse2-ruby1.8 libdaemons-ruby1.8 liberb-ruby libjs-prototype liblog4r-ruby1.8 libmmap-ruby1.8 libmocha-ruby libmocha-ruby1.8 libncurses-ruby1.8 libopenssl-ruby1.8 libredcloth-ruby libredcloth-ruby1.8 libruby libruby1.8-extras libsqlite3-ruby libsqlite3-ruby1.8 libxml-simple-ruby rails rake rdoc wwwconfig-common 0 upgraded, 26 newly installed, 0 to remove and 0 not upgraded. Need to get 4,395kB of archives. After this operation, 36.7MB of additional disk space will be used. Do you want to continue [Y/n]? y y Get:1 http://us.archive.ubuntu.com karmic/universe irb 4.2 [5,138B] Get:2 http://us.archive.ubuntu.com karmic/universe wwwconfig-common 0.2.1 [22.8kB] Get:3 http://us.archive.ubuntu.com karmic/universe javascript-common 6 [3,766B] Get:4 http://us.archive.ubuntu.com karmic/universe libbreakpoint-ruby1.8 0.5.1-2 [15.6kB] Get:5 http://us.archive.ubuntu.com karmic/universe libbuilder-ruby1.8 2.1.2-1 [15.3kB] Get:6 http://us.archive.ubuntu.com karmic/universe libbuilder-ruby 2.1.2-1 [6,112B] Get:7 http://us.archive.ubuntu.com karmic/universe libcmdparse2-ruby1.8 2.0.2-2 [11.8kB] Get:8 http://us.archive.ubuntu.com karmic/universe libdaemons-ruby1.8 1.0.10-2 [19.2kB] Get:9 http://us.archive.ubuntu.com karmic/main libruby 4.2 [5,280B] Get:10 http://us.archive.ubuntu.com karmic/universe liberb-ruby 4.2 [2,334B] Get:11 http://us.archive.ubuntu.com karmic/universe libjs-prototype 1.6.0.3-1 [33.4kB] Get:12 http://us.archive.ubuntu.com karmic/universe liblog4r-ruby1.8 1.0.5-8 [154kB] Get:13 http://us.archive.ubuntu.com karmic/universe libmmap-ruby1.8 0.2.6-3 [18.9kB] Get:14 http://us.archive.ubuntu.com karmic/universe libmocha-ruby1.8 0.9.5-1 [23.1kB] Get:15 http://us.archive.ubuntu.com karmic/universe libmocha-ruby 0.9.5-1 [52.4kB] Get:16 http://us.archive.ubuntu.com karmic/universe libncurses-ruby1.8 1.2.4-1 [72.4kB] Get:17 http://us.archive.ubuntu.com karmic-updates/main libopenssl-ruby1.8 1.8.7.174-1ubuntu1 [122kB] Get:18 http://us.archive.ubuntu.com karmic/universe libredcloth-ruby1.8 4.1.9-2 [159kB] Get:19 http://us.archive.ubuntu.com karmic/universe libredcloth-ruby 4.1.9-2 [6,516B] Get:20 http://us.archive.ubuntu.com karmic/universe libruby1.8-extras 0.5 [2,500B] Get:21 http://us.archive.ubuntu.com karmic/universe libsqlite3-ruby1.8 1.2.4-2 [51.3kB] Get:22 http://us.archive.ubuntu.com karmic/universe libsqlite3-ruby 1.2.4-2 [4,042B] Get:23 http://us.archive.ubuntu.com karmic/universe libxml-simple-ruby 1.0.12-1 [11.2kB] Get:24 http://us.archive.ubuntu.com karmic/universe rake 0.8.4-1 [141kB] Get:25 http://us.archive.ubuntu.com karmic/main rdoc 4.2 [5,326B] Get:26 http://us.archive.ubuntu.com karmic/universe rails 2.2.3-1 [3,431kB] Fetched 4,395kB in 4s (958kB/s) debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline Selecting previously deselected package irb. (Reading database ... 143661 files and directories currently installed.) Unpacking irb (from .../apt/archives/irb_4.2_all.deb) ... Selecting previously deselected package wwwconfig-common. Unpacking wwwconfig-common (from .../wwwconfig-common_0.2.1_all.deb) ... Selecting previously deselected package javascript-common. Unpacking javascript-common (from .../javascript-common_6_all.deb) ... Selecting previously deselected package libbreakpoint-ruby1.8. Unpacking libbreakpoint-ruby1.8 (from .../libbreakpoint-ruby1.8_0.5.1-2_all.deb) ... Selecting previously deselected package libbuilder-ruby1.8. Unpacking libbuilder-ruby1.8 (from .../libbuilder-ruby1.8_2.1.2-1_i386.deb) ... Selecting previously deselected package libbuilder-ruby. Unpacking libbuilder-ruby (from .../libbuilder-ruby_2.1.2-1_all.deb) ... Selecting previously deselected package libcmdparse2-ruby1.8. Unpacking libcmdparse2-ruby1.8 (from .../libcmdparse2-ruby1.8_2.0.2-2_all.deb) ... Selecting previously deselected package libdaemons-ruby1.8. Unpacking libdaemons-ruby1.8 (from .../libdaemons-ruby1.8_1.0.10-2_all.deb) ... Selecting previously deselected package libruby. Unpacking libruby (from .../archives/libruby_4.2_all.deb) ... Selecting previously deselected package liberb-ruby. Unpacking liberb-ruby (from .../liberb-ruby_4.2_all.deb) ... Selecting previously deselected package libjs-prototype. Unpacking libjs-prototype (from .../libjs-prototype_1.6.0.3-1_all.deb) ... Selecting previously deselected package liblog4r-ruby1.8. Unpacking liblog4r-ruby1.8 (from .../liblog4r-ruby1.8_1.0.5-8_all.deb) ... Selecting previously deselected package libmmap-ruby1.8. Unpacking libmmap-ruby1.8 (from .../libmmap-ruby1.8_0.2.6-3_i386.deb) ... Selecting previously deselected package libmocha-ruby1.8. Unpacking libmocha-ruby1.8 (from .../libmocha-ruby1.8_0.9.5-1_all.deb) ... Selecting previously deselected package libmocha-ruby. Unpacking libmocha-ruby (from .../libmocha-ruby_0.9.5-1_all.deb) ... Selecting previously deselected package libncurses-ruby1.8. Unpacking libncurses-ruby1.8 (from .../libncurses-ruby1.8_1.2.4-1_i386.deb) ... Selecting previously deselected package libopenssl-ruby1.8. Unpacking libopenssl-ruby1.8 (from .../libopenssl-ruby1.8_1.8.7.174-1ubuntu1_i386.deb) ... Selecting previously deselected package libredcloth-ruby1.8. Unpacking libredcloth-ruby1.8 (from .../libredcloth-ruby1.8_4.1.9-2_i386.deb) ... Selecting previously deselected package libredcloth-ruby. Unpacking libredcloth-ruby (from .../libredcloth-ruby_4.1.9-2_all.deb) ... Selecting previously deselected package libruby1.8-extras. Unpacking libruby1.8-extras (from .../libruby1.8-extras_0.5_all.deb) ... Selecting previously deselected package libsqlite3-ruby1.8. Unpacking libsqlite3-ruby1.8 (from .../libsqlite3-ruby1.8_1.2.4-2_i386.deb) ... Selecting previously deselected package libsqlite3-ruby. Unpacking libsqlite3-ruby (from .../libsqlite3-ruby_1.2.4-2_all.deb) ... Selecting previously deselected package libxml-simple-ruby. Unpacking libxml-simple-ruby (from .../libxml-simple-ruby_1.0.12-1_all.deb) ... Selecting previously deselected package rake. Unpacking rake (from .../archives/rake_0.8.4-1_all.deb) ... Selecting previously deselected package rdoc. Unpacking rdoc (from .../apt/archives/rdoc_4.2_all.deb) ... Selecting previously deselected package rails. Unpacking rails (from .../archives/rails_2.2.3-1_all.deb) ... Processing triggers for man-db ... Processing triggers for doc-base ... Processing 1 added doc-base file(s)... Registering documents with scrollkeeper... Setting up irb (4.2) ... Setting up wwwconfig-common (0.2.1) ... Setting up javascript-common (6) ... Setting up libbreakpoint-ruby1.8 (0.5.1-2) ... Setting up libbuilder-ruby1.8 (2.1.2-1) ... Setting up libbuilder-ruby (2.1.2-1) ... Setting up libcmdparse2-ruby1.8 (2.0.2-2) ... Setting up libdaemons-ruby1.8 (1.0.10-2) ... Setting up libruby (4.2) ... Setting up liberb-ruby (4.2) ... Setting up libjs-prototype (1.6.0.3-1) ... Setting up liblog4r-ruby1.8 (1.0.5-8) ... Setting up libmmap-ruby1.8 (0.2.6-3) ... Setting up libmocha-ruby1.8 (0.9.5-1) ... Setting up libmocha-ruby (0.9.5-1) ... Setting up libncurses-ruby1.8 (1.2.4-1) ... Setting up libopenssl-ruby1.8 (1.8.7.174-1ubuntu1) ... Setting up libredcloth-ruby1.8 (4.1.9-2) ... Setting up libredcloth-ruby (4.1.9-2) ... Setting up libruby1.8-extras (0.5) ... Setting up libsqlite3-ruby1.8 (1.2.4-2) ... Setting up libsqlite3-ruby (1.2.4-2) ... Setting up libxml-simple-ruby (1.0.12-1) ... Setting up rake (0.8.4-1) ... Setting up rdoc (4.2) ... Setting up rails (2.2.3-1) ... +-------------------+ | Install rails gem | +-------------------+ > gem install rails WARNING: Installing to ~/.gem since /var/lib/gems/1.8 and /var/lib/gems/1.8/bin aren't both writable. WARNING: You don't have /home/oor/.gem/ruby/1.8/bin in your PATH, gem executables will not run. Successfully installed rake-0.8.7 Successfully installed activesupport-2.3.5 Successfully installed activerecord-2.3.5 Successfully installed rack-1.0.1 Successfully installed actionpack-2.3.5 Successfully installed actionmailer-2.3.5 Successfully installed activeresource-2.3.5 Successfully installed rails-2.3.5 8 gems installed Installing ri documentation for rake-0.8.7... Installing ri documentation for activesupport-2.3.5... Installing ri documentation for activerecord-2.3.5... Installing ri documentation for rack-1.0.1... Installing ri documentation for actionpack-2.3.5... Installing ri documentation for actionmailer-2.3.5... Installing ri documentation for activeresource-2.3.5... Installing ri documentation for rails-2.3.5... Installing RDoc documentation for rake-0.8.7... Installing RDoc documentation for activesupport-2.3.5... Installing RDoc documentation for activerecord-2.3.5... Installing RDoc documentation for rack-1.0.1... Installing RDoc documentation for actionpack-2.3.5... Installing RDoc documentation for actionmailer-2.3.5... Installing RDoc documentation for activeresource-2.3.5... Installing RDoc documentation for rails-2.3.5... +-----------------------------------------------------------+ | Added /home/oor/.gem/ruby/1.8/bin to our PATH in /.bashrc | +-----------------------------------------------------------+ +---------------------------------------------------+ | Install MySQL client dev (for header files, etc.) | +---------------------------------------------------+ > sudo apt-get install libmysqlclient16-dev Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-2.6.31-14 linux-headers-2.6.31-14-generic Use 'apt-get autoremove' to remove them. The following extra packages will be installed: libmysqlclient-dev zlib1g-dev The following NEW packages will be installed: libmysqlclient-dev libmysqlclient16-dev zlib1g-dev 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 2,558kB of archives. After this operation, 6,922kB of additional disk space will be used. Do you want to continue [Y/n]? y y Get:1 http://us.archive.ubuntu.com karmic/main zlib1g-dev 1:1.2.3.3.dfsg-13ubuntu3 [163kB] Get:2 http://us.archive.ubuntu.com karmic/main libmysqlclient-dev 5.1.37-1ubuntu5 [2,331kB] Get:3 http://us.archive.ubuntu.com karmic/main libmysqlclient16-dev 5.1.37-1ubuntu5 [63.7kB] Fetched 2,558kB in 2s (920kB/s) debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline Selecting previously deselected package zlib1g-dev. (Reading database ... 147824 files and directories currently installed.) Unpacking zlib1g-dev (from .../zlib1g-dev_1%3a1.2.3.3.dfsg-13ubuntu3_i386.deb) ... Selecting previously deselected package libmysqlclient-dev. Unpacking libmysqlclient-dev (from .../libmysqlclient-dev_5.1.37-1ubuntu5_i386.deb) ... Selecting previously deselected package libmysqlclient16-dev. Unpacking libmysqlclient16-dev (from .../libmysqlclient16-dev_5.1.37-1ubuntu5_all.deb) ... Processing triggers for man-db ... Setting up zlib1g-dev (1:1.2.3.3.dfsg-13ubuntu3) ... Setting up libmysqlclient-dev (5.1.37-1ubuntu5) ... Setting up libmysqlclient16-dev (5.1.37-1ubuntu5) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place +------------------+ | Install ruby-dev | +------------------+ > sudo apt-get install ruby-dev Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-2.6.31-14 linux-headers-2.6.31-14-generic Use 'apt-get autoremove' to remove them. The following extra packages will be installed: ruby1.8-dev The following NEW packages will be installed: ruby-dev ruby1.8-dev 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 581kB of archives. After this operation, 1,663kB of additional disk space will be used. Do you want to continue [Y/n]? y y Get:1 http://us.archive.ubuntu.com karmic-updates/main ruby1.8-dev 1.8.7.174-1ubuntu1 [575kB] Get:2 http://us.archive.ubuntu.com karmic/main ruby-dev 4.2 [5,114B] Fetched 581kB in 1s (542kB/s) debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline Selecting previously deselected package ruby1.8-dev. (Reading database ... 147921 files and directories currently installed.) Unpacking ruby1.8-dev (from .../ruby1.8-dev_1.8.7.174-1ubuntu1_i386.deb) ... Selecting previously deselected package ruby-dev. Unpacking ruby-dev (from .../archives/ruby-dev_4.2_all.deb) ... Setting up ruby1.8-dev (1.8.7.174-1ubuntu1) ... Setting up ruby-dev (4.2) ... +-------------------+ | Install mysql gem | +-------------------+ > sudo gem install mysql -- --with-mysql-dir=/usr/share/mysql Building native extensions. This could take a while... Successfully installed mysql-2.8.1 1 gem installed Installing ri documentation for mysql-2.8.1... No definition for next_result No definition for field_name No definition for field_table No definition for field_def No definition for field_type No definition for field_length No definition for field_max_length No definition for field_flags No definition for field_decimals No definition for time_inspect No definition for time_to_s No definition for time_get_year No definition for time_get_month No definition for time_get_day No definition for time_get_hour No definition for time_get_minute No definition for time_get_second No definition for time_get_neg No definition for time_get_second_part No definition for time_set_year No definition for time_set_month No definition for time_set_day No definition for time_set_hour No definition for time_set_minute No definition for time_set_second No definition for time_set_neg No definition for time_set_second_part No definition for time_equal No definition for error_errno No definition for error_sqlstate Installing RDoc documentation for mysql-2.8.1... No definition for next_result No definition for field_name No definition for field_table No definition for field_def No definition for field_type No definition for field_length No definition for field_max_length No definition for field_flags No definition for field_decimals No definition for time_inspect No definition for time_to_s No definition for time_get_year No definition for time_get_month No definition for time_get_day No definition for time_get_hour No definition for time_get_minute No definition for time_get_second No definition for time_get_neg No definition for time_get_second_part No definition for time_set_year No definition for time_set_month No definition for time_set_day No definition for time_set_hour No definition for time_set_minute No definition for time_set_second No definition for time_set_neg No definition for time_set_second_part No definition for time_equal No definition for error_errno No definition for error_sqlstate +-------------------+ | Install memcached | +-------------------+ > sudo apt-get install memcached Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-2.6.31-14 linux-headers-2.6.31-14-generic Use 'apt-get autoremove' to remove them. Suggested packages: libcache-memcached-perl The following NEW packages will be installed: memcached 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 60.5kB of archives. After this operation, 217kB of additional disk space will be used. Get:1 http://us.archive.ubuntu.com karmic/universe memcached 1.2.8-1 [60.5kB] Fetched 60.5kB in 0s (104kB/s) debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline Selecting previously deselected package memcached. (Reading database ... 147953 files and directories currently installed.) Unpacking memcached (from .../memcached_1.2.8-1_i386.deb) ... Processing triggers for ureadahead ... Processing triggers for man-db ... Setting up memcached (1.2.8-1) ... Starting memcached: memcached disabled in /etc/default/memcached. +------------------------+ | Install fastthread gem | +------------------------+ > gem install fastthread WARNING: Installing to ~/.gem since /var/lib/gems/1.8 and /var/lib/gems/1.8/bin aren't both writable. WARNING: You don't have /home/oor/.gem/ruby/1.8/bin in your PATH, gem executables will not run. Building native extensions. This could take a while... Successfully installed fastthread-1.0.7 1 gem installed Installing ri documentation for fastthread-1.0.7... No definition for dummy_dump No definition for dummy_dump No definition for rb_queue_marshal_load No definition for rb_queue_marshal_dump No definition for dummy_dump No definition for dummy_dump No definition for rb_queue_marshal_load No definition for rb_queue_marshal_dump Installing RDoc documentation for fastthread-1.0.7... No definition for dummy_dump No definition for dummy_dump No definition for rb_queue_marshal_load No definition for rb_queue_marshal_dump No definition for dummy_dump No definition for dummy_dump No definition for rb_queue_marshal_load No definition for rb_queue_marshal_dump +-----------------------------+ | Install memchche-client gem | +-----------------------------+ > gem install memcache-client WARNING: Installing to ~/.gem since /var/lib/gems/1.8 and /var/lib/gems/1.8/bin aren't both writable. WARNING: You don't have /home/oor/.gem/ruby/1.8/bin in your PATH, gem executables will not run. Successfully installed memcache-client-1.7.7 1 gem installed Installing ri documentation for memcache-client-1.7.7... Installing RDoc documentation for memcache-client-1.7.7... +-------------------------+ | Install SystemTimer gem | +-------------------------+ > gem install SystemTimer WARNING: Installing to ~/.gem since /var/lib/gems/1.8 and /var/lib/gems/1.8/bin aren't both writable. WARNING: You don't have /home/oor/.gem/ruby/1.8/bin in your PATH, gem executables will not run. Building native extensions. This could take a while... Successfully installed SystemTimer-1.1.3 1 gem installed Installing ri documentation for SystemTimer-1.1.3... Installing RDoc documentation for SystemTimer-1.1.3... +---------------------------------+ | Install libxml2 and libxml2-dev | +---------------------------------+ > sudo apt-get install libxml2 libxml2-dev Reading package lists... Done Building dependency tree Reading state information... Done libxml2 is already the newest version. The following packages were automatically installed and are no longer required: linux-headers-2.6.31-14 linux-headers-2.6.31-14-generic Use 'apt-get autoremove' to remove them. The following NEW packages will be installed: libxml2-dev 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 745kB of archives. After this operation, 2,159kB of additional disk space will be used. Get:1 http://us.archive.ubuntu.com karmic/main libxml2-dev 2.7.5.dfsg-1ubuntu1 [745kB] Fetched 745kB in 1s (591kB/s) debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline Selecting previously deselected package libxml2-dev. (Reading database ... 147972 files and directories currently installed.) Unpacking libxml2-dev (from .../libxml2-dev_2.7.5.dfsg-1ubuntu1_i386.deb) ... Processing triggers for man-db ... Setting up libxml2-dev (2.7.5.dfsg-1ubuntu1) ... +-------------------------+ | Install libxml-ruby gem | +-------------------------+ > gem install libxml-ruby WARNING: Installing to ~/.gem since /var/lib/gems/1.8 and /var/lib/gems/1.8/bin aren't both writable. WARNING: You don't have /home/oor/.gem/ruby/1.8/bin in your PATH, gem executables will not run. Building native extensions. This could take a while... Successfully installed libxml-ruby-1.1.3 1 gem installed Installing ri documentation for libxml-ruby-1.1.3... Enclosing class/module 'mLibXML' for module XML not known Enclosing class/module 'mXML' for class XInclude not known Enclosing class/module 'mXML' for class Attr not known Enclosing class/module 'mXML' for class Document not known Enclosing class/module 'mXML' for class Namespaces not known Enclosing class/module 'cXMLHtmlParser' for module Options not known Enclosing class/module 'cXMLHtmlParser' for class Context not known Enclosing class/module 'mXML' for class Error not known Enclosing class/module 'cXMLParser' for class Context not known Enclosing class/module 'mXML' for class Namespace not known Enclosing class/module 'mXML' for class Reader not known Enclosing class/module 'mXML' for class Dtd not known Enclosing class/module 'mXML' for class InputCallbacks not known Enclosing class/module 'mXPath' for class Object not known Enclosing class/module 'mXML' for class SaxParser not known Enclosing class/module 'mXPath' for class Expression not known Enclosing class/module 'mXML' for class HTMLParser not known Enclosing class/module 'mXML' for module XPath not known Enclosing class/module 'mXML' for module Encoding not known Enclosing class/module 'mXML' for class Schema not known Enclosing class/module 'mXML' for class XPointer not known Enclosing class/module 'mXML' for class RelaxNG not known Enclosing class/module 'mXML' for class Attributes not known Enclosing class/module 'cXMLParser' for module Options not known Enclosing class/module 'mXPath' for class Context not known Enclosing class/module 'mXML' for class AttrDecl not known Enclosing class/module 'mXML' for class Parser not known Enclosing class/module 'mXML' for class Node not known Installing RDoc documentation for libxml-ruby-1.1.3... Enclosing class/module 'mLibXML' for module XML not known Enclosing class/module 'mXML' for class XInclude not known Enclosing class/module 'mXML' for class Attr not known Enclosing class/module 'mXML' for class Document not known Enclosing class/module 'mXML' for class Namespaces not known Enclosing class/module 'cXMLHtmlParser' for module Options not known Enclosing class/module 'cXMLHtmlParser' for class Context not known Enclosing class/module 'mXML' for class Error not known Enclosing class/module 'cXMLParser' for class Context not known Enclosing class/module 'mXML' for class Namespace not known Enclosing class/module 'mXML' for class Reader not known Enclosing class/module 'mXML' for class Dtd not known Enclosing class/module 'mXML' for class InputCallbacks not known Enclosing class/module 'mXPath' for class Object not known Enclosing class/module 'mXML' for class SaxParser not known Enclosing class/module 'mXPath' for class Expression not known Enclosing class/module 'mXML' for class HTMLParser not known Enclosing class/module 'mXML' for module XPath not known Enclosing class/module 'mXML' for module Encoding not known Enclosing class/module 'mXML' for class Schema not known Enclosing class/module 'mXML' for class XPointer not known Enclosing class/module 'mXML' for class RelaxNG not known Enclosing class/module 'mXML' for class Attributes not known Enclosing class/module 'cXMLParser' for module Options not known Enclosing class/module 'mXPath' for class Context not known Enclosing class/module 'mXML' for class AttrDecl not known Enclosing class/module 'mXML' for class Parser not known Enclosing class/module 'mXML' for class Node not known +----------------------------------+ | That completes the prerequisites | +----------------------------------+