Thursday, November 12, 2009

How to install Wine

To install latest version of wine download corresponding binary package for you Linux distribution from here.
Packages for Ubuntu are available here.
Install deb package:
sudo dpkg -i your_wine_package.deb
Configure by running winecfg command in terminal:
  • In Applications tab, choose Windows XP option.
  • In Drivers tab, click Autodetect button.
  • In Audio tab, check ALSA Driver and uncheck OSS Driver.




  • Then click OK button.

  • After wine is installed we should get latest iTunes from here and get it installed.

    1. Run in terminal:
      wine iTunesSetup.exe
    2. Install iTunes as you do it in Windows or Mac OS X
    3. Run it with command:
      wine ~/.wine/drive_c/Program\ Files/iTunes/iTunes.exe
    References:
    http://www.linuxscrew.com/2007/09/19/install-itunes-72-in-ubuntu-and-other-linux-distros/

    Wednesday, November 11, 2009

    Install JBoss in Ubuntu

    Create a user which the JBoss AS will run as. We create a separate user with a home directory, but no ability to log in and no password.
    useradd -d /usr/local/jboss -s /bin/sh jboss

    References:
    http://chiralsoftware.com/linux-system-administration/jboss-server-deployment.seam

    Install Eclipse in Ubuntu

    Extract the eclipse tar file and move it to /opt

    tar xzf my_eclipse_file_name.tar.gz
    sudo mv eclipse /opt/eclipse
    cd /opt sudo chown -R root:root eclipse
    sudo chmod -R +r eclipse
    sudo chmod +x `sudo find eclipse -type d`