Posts in 'Linux Notes' – Page 2

Creating NFS Share on Ubuntu

  1. Install nfs-server

    sudo apt-get install nfs-kernel-server
    
  2. Edit /etc/exports to add share

    /srv/homes       hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check)
    
  3. Export share

    sudo exportfs -a
    

Mount SMB Share on Ubuntu

  1. Install smb client

    sudo apt-get install smbfs smbclient
    
  2. Mount

    sudo mount -t cifs //server/Share /mnt/Share -o iocharset=utf8,file_mode=0777,dir_mode=0777
    

http://ubuntuforums.org/showthread.php?t=280473

Diskless ubuntu upgrades

To upgrade ubuntu off line or to reduce the amount of duplicate data downloaded when upgrading multiple ubuntu machines download the alternate install cd iso, mount it and do the upgrade as if you'd burnt the cd

  1. Download alt cd iso http://ftp.citylink.co.nz/ubuntu-releases/11.04 ...

Amarok

Amarok on ubuntu with mp3 support run

sudo apt-get install amarok libxine1-ffmpeg

http://ubuntuforums.org/showthread.php?t=1521168

If amarok can't play mp3's after an upgrade removing the xine config dir can help

mv ~/.xine xine_bak

http://ubuntuforums.org/showthread.php?t=1439468

Control amarok ...