Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - dizzie

Pages: [1] 2
How To's / HOWTO Setup a file/media/torrent- server
« on: March 10, 2016, 04:02:13 PM »

How to setup that old ancient/obsolete computer of yours, into a powerful and fully fledged
fileserver, media server, torrent downloader in less than 20min (ish)

1. Check the hardware, to actually see if the hardware still works (a live cd will do)
2. Install VSIDO or Debian, or whatever really, NO! Not Wintendo please :)

I'll go along using my own hardware/experience in this guide

Inxi spam below

Code: [Select]
Machine:   Mobo: ASRock model: C70M1 Bios: American Megatrends v: P1.30 date: 05/16/2014
CPU:       Dual core AMD C-70 APU with Radeon HD Graphics (-MCP-) cache: 1024 KB
           clock speeds: max: 1000 MHz 1: 1000 MHz 2: 800 MHz
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 2320.5GB (84.9% used)
ID-1: /dev/sda model: ST31000528AS size: 1000.2GB
ID-2: /dev/sdb model: ST1000DM003 size: 1000.2GB
ID-3: /dev/sdc model: ST9320325AS size: 320.1GB
This mainboard is so low power, so it's not even funny. On full load (CPU 100%) it uses 7 watt :)

Use what drives you have, and since it's mainly a fileserver, i used JBOD/LVM to create one single partition:

/dev/mapper/nas-share  2.1T  1.8T  184G  91% /

Secure? Not much. Reliable? Pretty much

7:03AM  up 307 days, 15:45,  1 user,  load average: 0.00, 0.01, 0.05
Ok, enough showing off, let's get cracking!

1. Install, reboot, apt-get update, etc etc (you know the drill?)

2. NFS
   1. # apt-get install nfs-kernel-server nfs-common rpcbind
   2. Create a dir to share (/share is a good option)
   3. Edit /etc/exports:
Code: [Select]
/share          *(rw,sync,no_subtree_check)   4. Save the file (^X)
   5. type as root "exportfs -a"
      Check on your desktop if it is working: "showmount -e <ip of server>"
      *** If not, rpcbind can be a bit of a b***, so a reboot might be needed (was in my case)
   6. fstab time!
      Edit your fstab on your desktop : This is what mine looks like (change to match yours)
Code: [Select]       /mnt/share      nfs4        rsize=8192,wsize=8192,timeo=14,_netdev      0   0   7. Save/exit
   8. type as root (mount -a) to test if it works (df -h)
   9 If it does, great :)

3. Samba
   1. # apt-get install samba samba-client
   2. I use the same share as with NFS, why? Cause I can, and cause it works for me :)
   Do something like this in your smb.conf in /etc
Code: [Select]
path = /share
browseable = yes
available = yes
public = yes
writable = yes
force user = <user>
create mask = 0644
directory mask = 0755
   3. Save and exit
   4. # smbpassword -a <user>
   5. restart samba
   6. check on Wintendo machine if the share shows up (it should!)

4. Plexmedia server
   1. # echo "deb wheezy main" >> /etc/apt/sources.list
   2. # curl | sudo apt-key add -
   3. # apt-get update
   4. # apt-get install plexmediaserver
   5. Plex can then be found at http://<ip>:32400/web
   ** Refer to plex doc for setting it up ( )
5. Torrent downloader
   1. I use the deluge webinterface
   2. Install deluge-web
   3. Run 'deluge-web' in a screen (I am lazy! Bite me lol)
   4. Open http://<ip>:8112/
      password is : deluge

6. What else? Really up to you, an ftp server maybe (I prefer ssh/sshfs/sftp)

!!NB: This is a rough and simple guide/howto, If you need a more through and through guide, i'll be happy to help with that. Just wanted to share what i've been using for almost a year by now.

And the obligatory screen-shot-or-it-didn't-happen below :)

This is about a 1ft tall ITX case, and 99% silent. Can only hear it if I sorta stick my head all the way down there. :)

Artwork & Screenshots / July 2015 Screenshot Thread
« on: July 01, 2015, 08:09:05 AM »

I've Got a Life / Yo!
« on: March 27, 2015, 08:16:46 PM »
Some of you may have noticed, some of you have not, anyway. -That i've been absent that is :)

I've been undergoing some minor eye-surgery 3 weeks ago. Hence I haven't been seen anywhere, where typing and reading was/is required. Still have issues reading, so i'll make it fast and simple (TWWSS!).
I can read but not for long, not even with fontsize 72 (Just kidding!) Mom send me a pile of audiobooks to keep me sane (Well, trying anyway!) Anyway, I miss the banter here and there, and will do my best to be back as soon as possible!

- Cheers!

I've Got a Life / Kittens!
« on: November 18, 2014, 03:26:35 PM »

VSIDO Discussions / To all who really (not) like Gnome...
« on: November 12, 2014, 05:01:25 PM »
I got a network msg on freenode the other day, pointed me to this blog link

I then got curious, and went here:

17 years Gnome, you were all fun and nice, until the death of Gnome 2.32! Not really sure if I should laugh, or cry about Groupon "stealing" the name Gnome for their tablet shit....

How To's / How to: compile + set up minidlna
« on: March 30, 2014, 01:03:23 AM »

Hi!, I figured more than just me wanted a costless dlna device, and since I already have a dedicated box serving nfs and cifs, I figured
why not....

Ok first, you need to have all the development stuff installed, if not "$ vsido-welcome"

1. Download minidlna from sourceforge :
2. Unpack the best way you know (I use; tar -xzf minidlna-1.1.2.tar.gz)
3. As root (how I do stuff like this, is as root) # ./configure (missing stuff will be there, so look below ↓↓)
4. apt-get install libavutil-dev libavcodec-dev libavformat-dev libjpeg62-dev libsqlite3-dev libexif-dev libid3tag0-dev  libogg-dev libvorbis-dev libflac-dev
5. Do "./configure" again, just to check if they are really there hehe
6. make
7. make install
8. cp minidlna.conf /etc/minidlna.conf
9. nano /etc/minidlna.conf
10. Look for the bit saying "media_dir". I use "media_dir=A,/srv/Music" etc.
11. When done, do; minidlnad -f /etc/minidlna.conf -R
12. Enjoy your free and costless dlna server/device ;-)

Having a TON of A V and P files, takes AGES to setup, so be patient there skipper, we'll get there :)

When the cpu fan settles down, the harddrive led goes out, it's pretty much done, so go ahead and grab your dlna device (I have an xbox)

IF you can see your stuff; Well done! IF not; You're missing something at 4-10

And now the "screenshots, or it didn't happen"

1. My "box"

For the inner geek: AMD FX-6100@3.6Ghz, 4Gb DDR3/1333, 2.5tb filespace, running nfs, cifs, minidlna(duh), and http/ftp

2. Picture browsing

3. Music browsing/playing

4. Movies browsing/playing

If this howto helped you: Great :) If you think I suck at writing howtos: Not so great :(


VSIDO Discussions / I need some help/advice
« on: March 12, 2014, 11:59:05 PM »
My old (sorry ancient, ok.. so it's was antique!) server, bit the bullet and died with a loud bang today (a burned out PSU smells!)

I can't live without a central server (fileserver mostly) so i've been looking, but meh... what where?

I was thinking about going lowpowered, as low as you can go right. So was thinking one of the sexy boards with a embedded cpu (AMD E-240 or the likes)

If anyone of you have first hand experience with a embedded board, please speak up.

Thank you in advance!

VSIDO News & Announcements / Liquorix 3.13.6
« on: March 12, 2014, 11:48:14 PM »
Grab it while it's hot and sexy :-)

I've Got a Life / So it begins...
« on: March 02, 2014, 04:29:58 PM »
Some of you know about it, some of you don't, well after reading this you all will :D

And then I have some health issues that i'd like to address first (You can skip reading that if it is too boring reading about me falling apart) :D

I went for the package deal, so right now i'm dealing with high blood pressure, cholesterol, swollen feet, loosing eyesight, and then i'm just fat :D 
 - So yeah, first I went on an extreme diet together with some dehydration pills = feet are back to normal, and I am loosing weight (but pissing myself to death, hehe I cant go anywhere for more than 30min and I have to pee!), in fact... I've lost about 20lbs in 3 weeks.
- Totally dropping my old eating habbits, plus getting newer and healthier ones along the way = no fat (i use oil now) no sauce, no butter, no red meat, more fish, more greens, pasta is evil, brown rice (if you know what that is?)
- Those "i'm hungry, let's grab some crisps (sorry potatochips) and a coke" is now replaced with a glass of water, and a fistful of carrots
- I still miss bacon and cheese, but hey.... Now I appreciate fish and chicken just as much :)

I'm extremely hungry at the moment, but knowing it's only a "phase" keeps me doing it. OH yeah... Even knocked off milk to my coffee :D

When I started all this, I had headaches, was tired a lot, and was VERY moody. But that has passed :)

- And to top it all, I need new glasses, 'cause I can't see shit :D Old vs new glasses +2.25 -> +3.00 (No wonder I had issues seing crap from afar hehe)

- Oh and lastly, I quit smoking too  ???

But other than that, i'm great, and i'm back to annoy all of you, maybe even more than before :)

-Cheers  :D

Scripts / Anyone still rocking Midnight Commander ?
« on: November 14, 2013, 06:58:46 AM »
And not liking the blue default much?

If yes, and yes, head over to ~/.config/mc/ini and look for [colors] and replace with this :

Code: [Select]

Yes, it IS one BIG one-liner, just copy and paste

(screenshot: left mc dir view, right mc edit view)

VSIDO Discussions / (Best) console apps
« on: October 12, 2013, 07:36:57 PM »
In my opinion anyway :D And what I use mostly if not daily   8)

- vim (text editor)
- mocp/mpd+ncmpcpp
- mplayer (video player)
- calcurse (calender)
- mutt (mail)
- gpg (pretty good privacy)
- links/w3m (www browser)
- gpm (so you can click links in w3m)
- kismet (wlan sniffer/etc)
- snownews (rss reader)
- lftp (ftp client)
- mc/ranger (filemanager)
- weechat/irssi (irc client)
- CenterIM (msn messenger/yahoo client)
- fim/feh (image viewer)
- ImageMagick (gimp for the console- kinda )
- htop/ttyload/conky
- rsync
- abcde (cd ripping)
- screen/tmux
- ceni

(admin note: this is NOT a place to flame/troll, you WILL be punished if you do)

VSIDO Discussions / IRC, we need you, you need us
« on: October 09, 2013, 02:41:55 AM »

First, a famous quote from wikipedia, because I find it suitable, and i'm lazy :)

Internet Relay Chat (IRC) is a protocol for live interactive Internet text messaging (chat) or synchronous conferencing. It is mainly designed for group communication in discussion forums, called channels, but also allows one-to-one communication via private message as well as chat and data transfer, including file sharing.

IRC was created in 1988. Client software is available for every major operating system that supports Internet access. As of April 2011, the top 100 IRC networks served more than half a million users at a time, with hundreds of thousands of channels operating on a total of roughly 1,500 servers out of roughly 3,200 servers worldwide.

So yeah... Come join the geeksquad on IRC, where all the action and fun happens. And trust me on this. Sometimes you'll even get help faster there. Sure we all check this forum more than 5 times a day, more if we want help. But on IRC there are more than 4 people to help you

So how do you break out your IRC virginity ? :)

1. Install a IRC client (might already have xchat installed, a nice and robust gtk client, well used,  by many. VastOne, and Jed are among two I know of using it) - There are many alternatives. irssi and weechat are two good alternatives (personally I use weechat)

2. Connect to IRC (we have our home on freenode in #VSIDO) To do so, point your irc client of choice to the server, when connected. type this : /join #VSIDO, and you are in! (xchat users have freenode in the serverlist already, so just click it and hit connect, the rest of use have to it more manually. weechat users do /connect Irssi users do /server The join command is the same (/join #VSIDO)

3. In the channel there are a few special users, one is ChanServ the freenode service bot, and then there is my bot Jovo, that keeps logs of the channel among other useful stuff. She (yes its a she, get over it) also have a very useful Google command for the lazy ones, who don't want to use their web browser :)

There isn't much strict about what you can and cant do in #VSIDO, just be civil and we're cool :)

Few people are moderators in the channel. We'll hide there, but will step forward if someone steps out to be an ass, which rarely happens (thankfully, we are grown ups in #VSIDO!)

Other than that, come join us, come have fun :-)

How To's / How to (quick and dirty) convert 100+ mkvs to mp4s
« on: October 08, 2013, 12:11:51 AM »
I for one dislike the mkv format very much (the fact that neither my tv or xbox can read/play mvks, made me google)

Code: [Select]
$ sudo apt-get install libav-tools

When done, cd to whereever your mkvs are. Fx.

Code: [Select]
$ cd /stuff/movies


Code: [Select]
$ avconv -i input.mkv -codec copy output.mp4

But this is going to take ages if you have many mkv's so...

I asked for help on IRC, and a friend came up with this neat bash magic :

Code: [Select]
$ for file in `ls | grep "\.mkv$"`; do avconv -i "$file" -codec copy "${file%.*}.mp4"; done

When done, do :

Code: [Select]
$ rm *.mkv

You are welcome  8)

VSIDO News & Announcements / Liquorix 3.11-3
« on: October 03, 2013, 09:44:23 PM »

Artwork & Screenshots / October 2013 Screenshots
« on: October 01, 2013, 11:13:24 AM »

Pages: [1] 2