Please login or register.

Login with username, password and session length
Advanced search  


The new forum is online, hope you enjoy it!

Pages: [1]   Go Down

Author Topic: Xebian Reminders (how to make an xbox nas)  (Read 22147 times)


  • Administrator
  • Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 494
    • View Profile
Xebian Reminders (how to make an xbox nas)
« on: 02 August 2008, 15:29 »

Installation of Xebian:

Boot from Xebian Livecd.

Logging in via SSH (with putty)
User : root
Pws : xebian

Install Xebian on HDD by typing 'XBOXLinuxInstall' and following the instructios

Mount all partitions:

cd /mnt
mkdir C E F G X Y Z
vi /etc/fstab

add the following lines:
/dev/hda50   /mnt/E      fatx   defaults,user,umask=000      0   0
/dev/hda51   /mnt/C      fatx   defaults,user,umask=000      0   0
/dev/hda52   /mnt/X      fatx   defaults,user,umask=000      0   0
/dev/hda53   /mnt/Y      fatx   defaults,user,umask=000      0   0
/dev/hda54   /mnt/Z      fatx   defaults,user,umask=000      0   0
/dev/hda55   /mnt/F      fatx   defaults,user,umask=000      0   0
/dev/hda56   /mnt/G      fatx   defaults,user,umask=000      0   0

To mount the partitions type:
mount -a

To verify the success type:
less /etc/mtab

Installation of Webmin:

vi /etc/apt/sources.list

add the following line :
deb http://download.webmin.com/download/repository sarge contrib

apt-get update
apt-get install webmin

point the browser to https://ipaddress:10000

Installation of vnc server:

apt-get install tightvncserver
tightvncserver -depth 24

Installation of rtorrent:

apt-get install rtorrent


Preparing Your System

Remove existing libtorrent and rtorrent if you have installed from repos

sudo apt-get remove rtorrent libtorrent7

Install Dependencies

sudo apt-get install build-essential libsigc++-2.0-dev pkg-config comerr-dev libcurl3-openssl-dev libidn11-dev libkadm55 libkrb5-dev libssl-dev zlib1g-dev libncurses5 libncurses5-dev

Install rtorrent and libtorrent

First you need to download libtorrent latest Version from here in /usr/local/ directory.

wget http://libtorrent.rakshasa.no/downloads/libtorrent-0.11.1.tar.gz
sudo gzip -d sudo tar xvf libtorrent-0.11.1.tar.gz
sudo tar xvf libtorrent-0.11.1.tar
cd libtorrent-0.11.1
sudo ./configure
sudo make
sudo make install

First you need to download rtorrent latest Version from here http://libtorrent.rakshasa.no/ in /usr/local/ directory.

wget http://libtorrent.rakshasa.no/downloads/rtorrent-0.7.1.tar.gz
gzip -d sudo tar xvf rtorrent-0.7.1.tar.gz
sudo tar xvf rtorrent-0.7.1.tar
cd rtorrent-0.7.1
sudo ./configure
sudo make
sudo make install

rtorrent: error while loading shared libraries: libtorrent.so.10: cannot open shared object file: No such file or directory

# To solve this problem from the terminal typed:

sudo nano /etc/ld.so.conf

# Then pasted the following text:

include /usr/local/lib

# Then I saved the file I edited. I fired up the terminal and typed:

sudo ldconfig

Thats it your new versions of rtorrent and libtorrent is installed

Remove rtorrent and libtorrent

If you want to remove rtorrent and libtorrent use the following command go to /usr/local/ directory

rm -rf rtorrent-0.7.1.tar.gz rtorrent-0.7.1 libtorrent-0.11.1.tar.gz libtorrent-0.11.1

Add system startup for samba:

update-rc.d samba defaults

Update Xebian (to be fixed):

After logging in via SSH, firstly change /etc/apt/sources.list to look like the following (using "vi /etc/apt/sources.list", :wq, enter to save), basically all you need to do is add the final two lines:

deb http://ftp.at.debian.org/debian stable main contrib non-free

deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free

deb http://security.debian.org stable/updates main contrib non-free
deb-src http://security.debian.org stable/updates main contrib non-free

deb http://alexfisher.me.uk/debian sarge main
deb http://debian-multimedia.fx-services.com/ sarge main

The other links should be *left* using the *stable* repos. Now, update Xebian using the following command, which includes installing the joe text editor as it a) is what I did (and it worked) and b) ensures your updates are working as they should:

apt-get update
apt-get install joe
apt-get update
apt-get upgrade

The joe installation will print out a readme file, just type :q (colon, Q) to exit it, ignore the errors about log file permissions, then choose Y to install glibc now and Y to restart services.

After the upgrade hit :q again to exit the readmes, then chose No for the portmap stuff, N to keep the current /etc/issue and /etc/issue.net. Once upgraded you'll be dumped at a normal command prompt and just type "shutdown -r now" to reboot, then start up again from the dashboard.
« Last Edit: 04 August 2008, 19:36 by Simone »


  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 1
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome Chrome
    • View Profile
    • phrazle
Re: Xebian Reminders (how to make an xbox nas)
« Reply #1 on: 07 March 2023, 01:58 »

When the update is complete, you will be returned to the standard command prompt where you may easily reboot by typing "shutdown -r now" and then resuming from the dashboard.
Pages: [1]   Go Up

Page created in 0.144 seconds with 20 queries.