CentOS 4.7 + VPS + Cpanel + Redmine + Subversion + Auto Repo Creation

•March 20, 2009 • Leave a Comment

I have been trying to get all of this working on our web box and this is what I have so far.

1.  Ruby and Ruby-Gems were already installed.

2.  Install Rails, mongrel and mongrel_cluster.

gem install rails -v=2.1.2
gem install mongrel
gem install mongrel_cluster

3.  Install Redmine

4. Set up the MySQL database.

Copy config/database.yml.example to config/database.yml and edit this file in order to configure your database settings for “production” environment.

5. Install the Redmine database.

rake db:migrate RAILS_ENV="production"
rake redmine:load_default_data RAILS_ENV="production"

6. Start the Mongrel Cluster

mongrel_rails cluster::configure -e production -p 3000 -N 2 -c /home/<AccountName>/redmine
mongrel_rails cluster::start –clean

7. Install Apache2 and configure

8. Set up automatic repository creation.

MEDIAPORTAL – free MediaCenter HTPC Software

•April 24, 2008 • 2 Comments

I have been trying out a great piece of software called MediaPortal. Here is their homepage: MEDIAPORTAL – free MediaCenter HTPC Software – Home .

They have released new versions recently. This is what I have done with it:

- Downloaded installer to my server. Installed TVServer only on that box.

- Downloaded installer on my HTPC. Installed client only on that box.

______________________________________________________________________

Initial set up was pretty easy for the most part. My Hauppauge PVR-150 was recognized and all of my channels were found when scanned. I then changed the names of all the stations to the station call letters.

http://www.imdb.com/sections/tv/

I used WebEPG for retrieving my program guide data. I used the IMDB Grabber and edited it accordingly. This is a pain so make sure you put a copy in a safe place after you get it correct. Also after you run WebEPG.exe it will great a file in the WebEPG folder called WebEPG.xml (I think). Back this up as well.

http://wiki.team-mediaportal.com/MediaPortalSetup_WebEPG

_____________________________________________________________________

have installed the following 16:9 skins:

Xface : http://www.team-mediaportal.com/files/Download/Skins/16:9/XfaceSkinVersion1.5/

Core : http://www.team-mediaportal.com/files/Download/Skins/16:9/Core/

Core Reloaded : http://www.team-mediaportal.com/files/Download/Skins/16:9/CoreReloaded/

Pure VisionHD : http://www.team-mediaportal.com/files/Download/Skins/16:9/PureVisionHD1.2/

_____________________________________________________________________

I have installed the following plugins:

CybrDisplay External Status Plugin : http://www.team-mediaportal.com/files/Download/Plugins/Others/CybrDisplayExternalStatusPlugin/

Web Browser Plugin : http://www.team-mediaportal.com/component/option,com_remository/Itemid,35/func,fileinfo/id,144/

My Emulators for MediaPortal

•April 3, 2008 • Leave a Comment

myEmulators Forum post

http://forum.team-mediaportal.com/my-emulators-247/my-emulators-12771/

___________________________________________

Link to Emulators reworked for “ESC” as the exit button.

http://forum.team-mediaportal.com/my-emulators-247/my-emulators-12771/index28.html#post201663

Point : Go here to get reworked emulators with “ESC” as the exit key.

http://www.cpviewer.emuchrist.org/downloads.htm

and this site has them as well

http://localarcade.com/screenshotarchive/downloads_emus.htm

______________________________________________

Profile Suggestion

http://forum.team-mediaportal.com/my-emulators-247/my-emulators-12771/index19.html#post154849

Point : Use a profile system like GameEx

_______________________________________________

Mame Setup Suggestion

http://forum.team-mediaportal.com/my-emulators-247/my-emulators-12771/index16.html#post142509

Point : Use all the Mame files to show the info for each game like MameUI32 and GameEx do.

_______________________________________________

Another Mame suggestion

http://forum.team-mediaportal.com/my-emulators-247/my-emulators-12771/index5.html#post96165

Point : Use Mame files to get info and add video support

_______________________________________________

This link makes me think about what is happening to my settings and how to fix ePSX

http://forum.team-mediaportal.com/my-emulators-247/my-emulators-12771/index5.html#post96224

Point : It appears that when you launch an emulator from inside myEmulators that the emulator sees it as being launched from a different point and thus it’s config files are out of whack.

_______________________________________________________

Emulator review site and Project 64 config answer

http://forum.team-mediaportal.com/my-emulators-247/my-emulators-12771/index29.html#post205501

Point : 2) uncheck “use quotes in ROM path”

or

2) You need to clear the rom directory path in the registry

[HKEY_CURRENT_USER\Software\N64 Emulation\Project64 Version 1.6]

“Rom Directory”=”"

_______________________________________________________

Mame Fix

http://forum.team-mediaportal.com/my-emulators-247/my-emulators-12771/index36.html#post230425

Point: Use a batch file to launch Mame and maybe others so you can pass whatever you want to it. myEmulators now supports doing this.

________________________________________________________

Moving IE Favorites in XP and Vista

•April 3, 2008 • Leave a Comment

http://blogs.msdn.com/ie/archive/2007/03/01/ie7-in-vista-folder-redirection-for-favorites-on-the-same-machine.aspx

Customising Window Behaviour in KDE

•March 4, 2008 • Leave a Comment

VMware PCLinuxOS MiniMe 2008

•February 14, 2008 • Leave a Comment

- I had to use IDE instead of Sata to get it to install in VMware Workstation.

- rpm -ivh V*.rpm to install the vmware-tools

- I ran the vmnet stuff at the end like they said to get the network up then rebooted

- Had to run alsaconf to get sound working after vmware-tools install

- Changed repo in Synaptic and installed some software

Editing /etc/sudoers

•January 31, 2008 • Leave a Comment

su
enter pass
visudo /etc/sudoers

Add this line below the root one like so:
root ALL=(ALL) ALL

chasingpink ALL=(ALL) ALL

to do that hit:
i

this will let you insert characters before the cursor

then add the line then hit “Esc” to exit edit mode.

to save and exit hit:
:wq

if you mess up to leave without saving and start over hit:
:q!

Nx Client and Server on Susee 10.3

•January 15, 2008 • Leave a Comment

Download: http://www.nomachine.com/download-package.php?Prod_Id=1

Documentation on installation: http://www.nomachine.com/installation.php

Documentaion on configuration: http://www.nomachine.com/documentation/admin-guide.php

- Download the client, server and node.

linux:/home/yo/Desktop # rpm -i nxclient-3.1.0-2.i386.rpm
linux:/home/yo/Desktop # rpm -i nxnode-3.1.0-3.i386.rpm
error: Failed dependencies:
lsof is needed by nxnode-3.1.0-3.i386

So I opened Yast and installed “lsof”

Then

linux:/home/yo/Desktop # rpm -i nxclient-3.1.0-2.i386.rpm

Now time to configure:

Generate Keys – the info is from link above.

  • Use the nxserver utility to actually generate the new keys
    as reported below:

/usr/NX/scripts/setup/nxserver –keygen

How to distribute the new SSH keys

  • Change the ownership and permissions on the following files:

chown nx:root /usr/NX/home/nx/.ssh/authorized_keys
          chmod 0644 /usr/NX/home/nx/.ssh/authorized_keys2
          chown nx:root /usr/NX/home/nx/.ssh/default.id_dsa.pub
          chmod 0644 /usr/NX/home/nx/.ssh/default.id_dsa.pub

  • A part of the key that must be distributed to clients is placed in:

    /usr/NX/share/keys

    Distribute the private key from the newly generated couple of keys located in the file:

    /usr/NX/share/keys/default.id_dsa.key

    to all clients that have to be granted acccess to the specific NX server host.

  • Once the new key has been distributed to clients place it under the subdirectory ’share/keys’ of the NX Client installation tree reserved to this purpose. The ’share/keys’ subdirectory can be found in the NX Client installation tree according to the following standards: On MacOS/X, Linux and Solaris it corresponds to:

    /usr/NX/share/keys

    While on Windows (using the default installation settings), it corresponds to:

    C:\Program Files\NX Client for Windows\share\keys

    When the key has been placed in the above location, please use the key management facilities provided by the NX Client GUI:from the ‘General’ tab of the session configuration window, click on the ‘Key’ button and choose Import to import the new key by navigating to the appropriate directory above and Save to save your changes.

    Additional Notes:

    The NX Client GUI facility allow you to import the new private key for the
    session you are configuring. If you don’t explicitly import any new key,
    the default private key distributed together with the NX Client, i.e.
    /usr/NX/share/keys/server.id_dsa.key will be used.

  •  Rename the default private key to preserve it.
  •  Rename the new private key from:

/usr/NX/share/keys/default.id_dsa.key

to:

/usr/NX/share/keys/server.id_dsa.key

In this way, the new key will be used as the default key for all NX
sessions (except those sessions that have been previously configured
to use a specific key).

Branding/Skinning question – Page 2 – cPanel Forums

•January 14, 2008 • Leave a Comment

If you point your browser to ip:2082/frontend/x3/resellers/branding/elementadd.html (where IP is your IP address), you can add icons to the interface.
To remove an element, go to: ip:2082/frontend/x3/resellers/branding/elementdelete.html
To create a new section, simply reference a section that does not exist by default in the X3 interface. If you wish to add something to a section that does exist, section names are rather self-explanatory if you explore the CSS of these various sections with a CSS inspection tool such as Firebug.
Note, you will need to do this within a reseller’s account. End users do not have this functionality. Typically, you cannot login to the cPanel interface using root login credentials.

Branding/Skinning question – Page 2 – cPanel Forums

Hamachi on Suse 10.3

•December 31, 2007 • 1 Comment

Had to install compat-openssl097g to get hamachi-init to run.

Command Line:

The install should find tuncfg and make just fine because of the previous two steps.

* The README says to start tuncfg by doing
sudo /sbin/tuncfg.
at the command line. For me, it was actually
sudo /usr/sbin/tuncfg.

* The README says run ./hamachi-init at the command line. This was located in /usr/bin for me, so cd there first.

* Then, start Hamachi at the command line by doing
./hamachi start

Login with
./hamachi login

Join a network with
./hamachi join NETWORKNAME

Change your Mac’s nickname with:
./hamachi set-nick NICKNAME

Go online within a network with:
./hamachi go-online NETWORKNAME

Do a hamachi -help for all the available hamachi commands.