Friday, November 26, 2010

Eclipse stopping automatic build before launch

http://dev.eclipse.org/newslists/news.eclipse.tools.cdt/msg14394.html

Preferences > Run/Debug > Launch > untick "Build before launch"

Recursive Find in Windows Command Prompt

dir . /s /b | find "text"

Monday, November 8, 2010

Freesshd for using SCP to a Windows Machine

To install Freesshd, run the install using admin privileges, else you will repeatedly get less-privilege-related errors.

In your windows firewall, check that Freesshd service is allowed.

Open Freesshd and check that login is allowed for the user you want to use ssh with.

Saturday, November 6, 2010

Hudson on Ubuntu

http://wiki.hudson-ci.org/display/HUDSON/Installing+Hudson+on+Ubuntu

Worked fine for me, except that Hudson has a dependency on Java. For installing Java I followed:

http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/

Monday, November 1, 2010

Turning off annoying beep on Suse Linux

This does not work.
First thing was to turn off the annoying beep. Followed the instructions at http://www.cyberciti.biz/faq/how-to-linux-disable-or-turn-off-beep-sound-for-terminal/ 

Open you ~/.inputrc file (i.e. /home/you/.inputrc file
$ cd
$ vi .inputrc
Append following line:

set bell-style none
Save and close the file.
After this I needed to reboot for the beep to go off (most likely logoff and then login would be sufficient). 

Mediawiki Migration to Ubuntu

Install Mysql-server, php5, apache2 on Ubuntu.

From:

http://sujithemmanuel.blogspot.com/2007/04/how-to-migrate-mediawiki.html

MediaWiki Migration
Old Server: mysqldump -u root -p wikidb > wikidb.sql
tar -cvf wiki.tar wiki ;this is the wiki folder on document root
New Server, login into mysql and run: create database wikidb
(Note that both mysql versions should be same.)
grant create, select, insert, update, delete, lock tables on wikidb.* to wiki@localhost identified by 'YourPassword' ;

MediaWiki Upgrade copy all the new files to wiki folder and then
run php update.php from maintenance folder after updating AdminSettings.php

If you're using SMTP, run "pear install MAIL Net_SMTP"
Place mediawiki content under /var/www. Start apache2 server.