Archive for the 'applications/software' Category

How To Install VMware Server On OpenSUSE Linux 10.3

bold writing are command that you need to enter

red letting are command that you need to issue as root

  1. click on Computer > More Applications > YaST

  2. Put in root password for YaST

  3. Scroll down until you see Software Management and single click on it

  4. Check for the following software. If you don’t have it installed, install it

    1. kernel-source

    2. gcc

    3. gcc-c++

    4. make (This is most likely already installed, but just to double check)

  5. Continue reading ‘How To Install VMware Server On OpenSUSE Linux 10.3′

Install Ruby On Rails and getting started

Getting Started With Ruby On Rails

Installing Ruby on Rails (RoR) on windows, OSX and Linux. Generally there are 3 installations: OSX, Windows and Linux, and Linux install is the most easy one.

Windows:

Go to http://www.rubyonrails.org/, and download the package containing gems (windows installer).

Install the package.

Update the gem system via:

gem update –system

Update installed gems via:

gem update

When this is done install the relevant gems. I would suggest the following as a minimum:
*rails (for the framework)
Please note, that rails 2.02 is the newest version, you can install an older version via

gem install v1.2.6 rails

*mysql (for database assess)
*mongrel (webserver better when webrick)

When asked for the version you want to use, choose the newst version, that has win32 in the option.

OSX 10.4 and 10.5

Go to http://www.macports.org/ and download the correct version of the file (tiger/leopard).

Read through the installation guide: http://www.macports.org/install.php

Quick guide:
Install the correct xcode for your system.
Install the macports program (this can take a little while)
When done, do:

sudo port install ruby
sudo port install rb-gems (enabling gems under ruby)
sudo gem install rails (framework)
sudo port install rb-mysql (mysql for use under RoR)
sudo gem install mongrel (webserver)
sudo port install subversion (for easy install for remote plugins)

Linux (Ubuntu like / Debian based)

sudo apt-get update && sudo apt-get upgrade (getting newst list, and updateing software before continuing).
sudo apt-get install ruby subversion mysql libmysql-ruby1.8

sudo gem install rails
sudo gem install mongrel

And you should be set to go.

IDE for use with RoR:
Textmate (OSX), has very poor subversion integration, but good RoR integration
Not free
Eclipse (good integration, via plugins)
http://www.eclipse.org/ download plugins via Aptana website, for RoR support.
Free

Aptana (good integration via plugins) http://www.aptana.com/
complete IDE, eclipse based. Free
IDEA (good integration via plugins)
Complete IDE suite, with great integration of subversion, mysql and even jira for bugtracking.
Professional, but expensive.

Remeber to point your IDE to where your RoR / rails is installed for best integration:
Windows most often: c:\ruby\bin
OSX: /opt/local/
Linux: /usr/bin/ruby

Errors:

Linux:

sudo gem update –system

Which introduced this error:

/usr/bin/gem:23: uninitialized constant Gem::GemRunner(NameError)

whenever I tried to run rubygems. On the rails forum, I found a fix for it!. Simply add the line to the file /usr/bin/gem (may be different on a mac):

require 'rubygems/gem_runner'

after

require 'rubygems'

Source: http://www.nickpeters.net/2007/12/31/fix-for-uninitialized-constant-gemgemrunner-nameerror/

This error when installing gems:

extconf.rb:1:in `require’: no such file to load—mkmf (LoadError)

from extconf.rb:1.

Do:

sudo apt-get install ruby1.8-dev

Install and Configure TrueCrypt With GUI On Ubuntu 7.10

Version 1.0
Author: Oliver Meyer <o [dot] meyer [at] projektfarm [dot] de>
Last edited 12/18/2007

This document describes how to set up TrueCrypt with GUI on Ubuntu 7.10. TrueCrypt is a free open-source encryption software for desktop usage.

This howto is a practical guide without any warranty - it doesn’t cover the theoretical backgrounds. There are many ways to set up such a system - this is the way I chose.

Continue reading ‘Install and Configure TrueCrypt With GUI On Ubuntu 7.10′

Intrusion Detection: Snort, Base, MySQL, and Apache2 On Ubuntu 7.10 (Gutsy Gibbon)

This tutorial is based on another howto written by DevilMan, however I didn’t like the idea of manually compiling every package or the use of a GUI to get the software installed. This howto will work on a Gutsy Server or Gutsy desktop. With that said some of this howto is a direct copy from the original.

In this tutorial I will describe how to install and configure Snort (an intrusion detection system (IDS)) from source, BASE (Basic Analysis and Security Engine), MySQL, and Apache2 on Ubuntu 7.10 (Gutsy Gibbon). Snort will assist you in monitoring your network and alert you about possible threats. Snort will output its log files to a MySQL database which BASE will use to display a graphical interface in a web browser.

Continue reading ‘Intrusion Detection: Snort, Base, MySQL, and Apache2 On Ubuntu 7.10 (Gutsy Gibbon)’

How to Secure Linux laptops for maximum security

Laptop and notebooks are being stolen at an ever-increasing rate. In 2004, Safeware Insurance which sells computer insurance, estimated 600,000 laptop and notebooks a year were being stolen. In 2006 an estimated 750,000 were being swiped, according to Absolute Software a company that makes computer tracking products — and does not support Linux. LoJack For Laptops, another computer tracing company — which also does not support Linux — says FBI statistics show 2 million laptop and notebook computers were stolen in the US in a recent year. While the figures may not agree in detail, they all show that laptop and notebook theft is a major problem — and if you’re not careful, your Linux laptop might be next.

While you can find dozens of products to secure Windows laptops, security products for Linux laptops are scarcer — but they do exist. We found a range of products and fixes ranging from security patches for the operating system to encryption to the equivalent of computer bicycle locks which can help keep your Linux laptop or notebook safe.

Continue reading ‘How to Secure Linux laptops for maximum security’

Install and Set Up Subversion And Trac As Virtual Hosts On An Ubuntu Linux Server

This howto outlines the process by which one can set up the Subversion version control system, and have it work in tandem with Trac, the project manager for software development projects, on a server running Ubuntu (or possibly Debian). It is brought to you by Openject Consulting.

Setting up Subversion

For detailed information on this, including alternate setups, have a look at Version Control with Subversion.

Continue reading ‘Install and Set Up Subversion And Trac As Virtual Hosts On An Ubuntu Linux Server’

Nice and Useful OpenOffice.org extensions

Apparently, the only thing that stopped developers from creating useful OpenOffice.org extensions was the lack of a place to publish them. With the launch of the OpenOffice.org Extension Repository, the number of extensions listed there has shot up, and there are no signs of a slowdown. Although quantity doesn’t always mean quality, the repository already offers a few nifty extensions that can expand the functionality of OpenOffice.org and make your work more efficient.

Bookmarks Menu

 On the face of it, the Bookmarks Menu just adds bookmarks to documents, but dig deeper and you’ll discover that this extension can do much more. Once you’ve installed the Bookmarks Menu, it appears only in the Tools -> Add-Ons menu. To add the Bookmarks menu to the main toolbar, choose the Bookmark Menu item and press OK. By default, the menu contains two items: Bookmark This Document and Edit Bookmarks. The former allows you to quickly bookmark the currently opened document, so you don’t have to navigate to the desired document every time you want to open it. Of course, you can use the Recent Documents feature to do that, but it has some limitations: it can hold only up to 10 entries and you can’t sort the entries. More importantly, the Bookmarks Menu can bookmark not only documents but also macros and shell commands, and you can do this in just a few clicks.

Continue reading ‘Nice and Useful OpenOffice.org extensions’