Archive for the 'how to' 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′

    Click here for your favorite eBay items Half.com...buy & sell books music movies games

Howto: Create a Linux Box for Your Mom (50+ Resources)

Here is a great article from virtualhosting.com discussing some good resources for “getting your mom on linux”. Great idea!

By Jessica Hupp

For most computer literate children, a request from mom to get her set up on “this web thing” is met with panic and a feeling of drudgery. Are you about to expose your sweet mother to spam, phishing, viruses, or worse? Or perhaps more frightening, sign your life away as a 24/7 tech support center? Perhaps, but there’s a better way. By setting your mom up on a Linux machine, you can give her a safe, lean computing experience that will let her do all of the things she wants to do without giving you a nervous breakdown. Here, we’ve compiled over 50 of the best resources to help you get your mom on Linux without a whole lot of trouble.

Systems & Environments

With these systems and environments, you can get your mom set up with low maintenance and friendly interfaces.

  1. SimplyMEPIS: SimplyMEPIS is low-maintenance and great for Linux beginners.
  2. Linspire: Linspire is the “World’s Easiest Desktop Linux,” with a familiar look and feel for Windows users.
  3. Mandriva: Mandriva Linux was specifically designed to offer ease of use for new users.
  4. Ubuntu: One of the most popular Linux distributions, Ubuntu is stable and easy to use.
  5. KDE: The K Desktop Environment is easy to use, and offers basic desktop functions.
  6. Ximian Desktop: Ximian offers a simple layout, with large icons that are great for elderly users.
  7. Lycoris: This distribution looks a lot like windows, and offers great ease of use.
  8. SuSE: With SuSE, you’ll got lots of popular open source software like OpenOffice, Kaffeine, and more.
  9. GNOME: In this desktop environment, you’ll find an extremely usable GUI.

Continue reading ‘Howto: Create a Linux Box for Your Mom (50+ Resources)’

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)’

Click here for your favorite eBay items Half.com...buy & sell books music movies games

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’

Configure OpenLDAP + Samba Domain Controller On Ubuntu 7.10

Preface

This document is a step by step guide for configuring Ubuntu 7.10 as a Samba Domain Controller with an LDAP backend (OpenLDAP). The point is to configure a server that can be comparable, from a central authentication point of view, to a Windows Server 2003 Domain Controller. The end result will be a server with an LDAP directory for storing user, group, and computer accounts. A Windows XP Professional SP2 workstation will be able to join the domain once properly configured. Please note that you do not have a fully comparable Windows domain controller at this time. Do not kid yourself, this guide only gets you a server with LDAP authentication. Of course this can be expanded to include slave servers to spread out authentication over multiple networks. Please also note that it took me approximately two and a half weeks to compile this information and get it working. The same functionality can be had in Windows in less than four hours (and this includes operating system installation). In my humble opinion the open source community will need to work on this side of Linux in order for it to be a true alternative to Windows.

Continue reading ‘Configure OpenLDAP + Samba Domain Controller On Ubuntu 7.10′