Samstag, 24. Juli 2010

2010 eddition: ubuntu server 10.04 on a DELL OPTLIPLEX G620

Well ,my T22 is dying after 4 years. So I got a new old DELL and the what I will do is
  • install  ubuntu 10.04 server edition
  • LAMP and SAMBA Packages
and then hook up my webcam, transmission including moblock (shall i give a try to the TOR and proxify as well ?) and  a mail server... then lets start
  • dowloaded and installed ubuntu-10.04-server-i386.iso 
  • installe LAMP, OpenSSH, SAMBA fileserver and MailServer
  • no root pwd on mysql
Postinstallation

done

using this time 192.168.1.221


  • SAMBA 
Follow this guide:http://www.unixmen.com/linux-tutorials/566-install-samba-server-in-ubuntu-karmic but used the existing user for
sudo smbpasswd  -a   "myuser"
 
Adding 
follow symlinks = yes
wide links = yes
unix extensions = no
to have access as well to mounted external harddrives
  • Transmission torrent
Following this guide http://www.techdrivein.com/2010/06/install-new-improved-transmission-20-in.html  
used this settings $ sudo nano /var/lib/transmission-daemon/info/settings.json
{
    "alt-speed-down": 50,
    "alt-speed-enabled": false,
    "alt-speed-time-begin": 540,
    "alt-speed-time-day": 127,
    "alt-speed-time-enabled": false,
    "alt-speed-time-end": 1020,
    "alt-speed-up": 50,
    "bind-address-ipv4": "0.0.0.0",
    "bind-address-ipv6": "::",
    "blocklist-enabled": false,
    "cache-size-mb": 2,
    "dht-enabled": true,
    "download-dir": "/home/daevu/download",
    "download-limit": 1000,
    "download-limit-enabled": 0,
    "encryption": 2,
    "idle-seeding-limit": 30,
    "idle-seeding-limit-enabled": false,
    "incomplete-dir": "/home/daevu/Downloads",
    "incomplete-dir-enabled": false,
    "lazy-bitfield-enabled": true,
    "lpd-enabled": false,
    "max-peers-global": 200,
    "message-level": 2,
    "open-file-limit": 32,
    "peer-limit-global": 240,
    "peer-limit-per-torrent": 60,
    "peer-port": 53958,
    "peer-port-random-high": 64000,
    "peer-port-random-low": 42000,
    "peer-port-random-on-start": true,
    "peer-socket-tos": 0,
    "pex-enabled": true,
    "port-forwarding-enabled": false,
    "preallocation": 1,
    "proxy": "",
    "proxy-auth-enabled": false,
    "proxy-auth-password": "",
    "proxy-auth-username": "",
    "proxy-enabled": false,
    "proxy-port": 80,
    "proxy-type": 0,
    "ratio-limit": 0.2500,
    "ratio-limit-enabled": true,
    "rename-partial-files": true,
    "rpc-authentication-required": true,
    "rpc-bind-address": "0.0.0.0",
    "rpc-enabled": true,
    "rpc-password": "{81ed8acf066233eabf1621d75adc85f0a3faa20b8021nMli",
    "rpc-port": 9091,
    "rpc-username": "daevu",
    "rpc-whitelist": "127.0.0.1,192.168.*.*",
    "rpc-whitelist-enabled": true,
    "script-torrent-done-enabled": false,
    "script-torrent-done-filename": "",
    "speed-limit-down": 100,
    "speed-limit-down-enabled": false,
    "speed-limit-up": 5,
    "speed-limit-up-enabled": true,
    "start-added-torrents": true,
    "trash-original-torrent-files": false,
    "umask": 18,
    "upload-limit": 100,
    "upload-limit-enabled": 0,
    "upload-slots-per-torrent": 14,
    "watch-dir": "/home/daevu/torrents/",
    "watch-dir-enabled": true
}
 





  •  JdDownloader: first install vncserver:
  • apt-get install -y vnc4server xinetd
    run vnc4passwd (enter desired pwd
    to run vncserver on startup: add this lieno to /etc/rc.local just before exit =
    • su "myusername" -c 'vnc4server :1 -geometry 1024x768 '
  • Install JAVA (since transmission works not with OpenJDK) 
    sudo add-apt-repository “deb http://archive.canonical.com/ lucid partner”
    sudo apt-get update 
    sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk sun-java6-plugin 
  • Download transmission over VNC
    $wget -c http://212.117.163.148/jd.sh
    After download let's make it executable and run it :
    $chmod +x jd.sh
    $./jd.sh


  • INSTALL WLAN Chipset (ZyDas1211) (Follow  http://wiki.ubuntuusers.de/WLAN/wpa_supplicant
     
    • To get MAC Address:
      •  ifconfig -a
    • to initially start it
      • sudo ifconfig wlan0 up
  • Edit /etc/initd.interfaces so it will start from boot  (comment out eth0)
##WLAN
auto wlan0
iface wlan0 inet static
address "your desired IP"
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.1
wpa-ssid "mynetwork"
wpa-psk "mypassphrase"
wpa-proto RSN
wpa-key_mgmt WPA-PSK
wpa-pairwise CCMP
wpa-group TKIP
         
         

TO DO
  • move torrent after finish: http://1000umbrellas.com/2010/04/28/how-to-automatically-move-and-remove-transmission-daemon-downloads does not work
  • TOR & privoxy
  • BAckup Pics and docs on the machine




    Dienstag, 13. Juli 2010

    transmission torretn client 2.0 on karmic

    according to http://www.techdrivein.com/2010/06/install-new-improved-transmission-20-in.html