OVH Servers with Debian 4.0
Register

We are the best invite forum on the internet! Here you will find free invites, free seedboxes, free bonuses, and much more. Our members know the true meaning of sharing and have created a truly global bittorent community! Our site has the most up to date information on all private trackers and our members will guide you and introduce you to this truly secretive and enlightened club. Ready to get started? Register now!


Results 1 to 2 of 2
  1. #1

    Join Date
    Jul 2008
    Location
    Portugal
    Posts
    172

    Default Configure/Install OVH Servers with Debian 4.0

    This tutorial, is only for servers with Debian 4.0.

    Programs needed:
    » Putty -> h**p://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
    » VNC -> h**p://www.tightvnc.com/download.html


    How to:
    After receiving the server information, go to Putty and set the server ip at "Host Name (or IP Address)" field (see the picture below).



    After that, click on "Open" button. It will appears something like the picture below.



    Now, you need to set the information (username and password), that appears at the email from OVH.
    Tip: To paste on Putty, click with mouse (right button) on the green square.

    » Change Password.
    #passwd
    New password:
    Verify:


    » Delete SSH key authentication:
    #ls .ssh
    authorized_keys2
    #rm .ssh/authorized_keys2


    » Nano - Text Editor:
    #nano


    Here, you only need to know how to save and exit from Nano. To save, press Ctrl+O and to exit, press Ctrl+X. For now, exit from Nano (Ctrl+X).

    » Sistem Update:
    #apt-get update
    #apt-get upgrade


    You need to say "Yes" when asked if we want to do the update. Only need to write "Y" and press Enter.

    For those who want to install Flash on server:
    #nano /etc/apt/sources.list

    Place the following at the end:
    deb h**p://www.backports.org/debian/ etch-backports main contrib non-free

    Note: Change "**" for "tt".

    Press Ctrl+O, Enter and Ctrl+X.
    Now:
    #wget h**p://backports.org/debian/archive.key
    #apt-key add archive.key

    Note: Change "**" for "tt".

    Update:
    #apt-get update


    » Software intalation:
    #apt-get install vncserver wine xterm fluxbox vsftpd firefox vnstat
    #update-menus
    #apt-get -t etch-backports install fluxbox


    » Create user:
    #useradd -m your_nick
    #passwd your_nick

    New password:
    Verify:



    Now click on the top of Putty, right-click and select "Duplicate Session". This time we enter the new user we just created, and can close the Putty session to another. (To exit, write "Exit" and press Enter.)
    Now we have a new symbol "$" instead "#". It means we are within the user account and not the root account.


    » Configure VNC:

    Let's start by configuring the fluxbox:
    $mkdir .vnc
    $nano .vnc/xstartup

    We are going to write this new fluxbox window, Ctrl + O , enter and Ctrl + X again.
    Now we make XSTARTUP as an executable:
    $chmod +x .vnc/xstartup

    Will request a new password the first time I started the VNC, which can put the same account used for the user.

    $vncserver :1 -geometry 1280x900 -depth 24

    Can change the resolution to the most appropriate to your PC.
    If the server crash we need to restart the VNC again, so we used the code (attention not to use now, only in case of crash):
    $ vncserver-kill: 1

    We will now open the VNC Viewer:



    Place the IP of the server and will ask for the password you created at the VNC. If you already forgot the pass, may change again in Putty entering the code is:
    $ vncpasswd


    » Install uTorrent and WebUI:
    After opening the VNC we click with the right mouse button and browse xterm (is another terminal like Putty).
    Let's go install uTorrent:
    $ Wget h**p://download.utorrent.com/1.8.2/utorrent.exe

    Note: Change "**" for "tt".

    Then, we click cancel. It is not to Install uTorrent as windows and we write the code:
    $ wine utorrent.exe


    Tips to configure uTorrent:
    - Choose a port for uTorrent
    - Enable encryption (Optioins / preferences / BitTorrent / Encryptation Protocol -> forced)
    - Disable DHT, Local Peer Discovery, Peer Exchange.
    - No Randomize ports, disable UPnP port mapping & NAT-PMP port mapping
    - Enable WebU Interface




    Choose a nickname and a password.
    - At Advanced Options, set gui.delete_to_trash to FALSE
    - Unselect the option "Minimize to tray" and "Close to tray".

    Now to access WebUI only have to open IE or FF and put h**p://your_ip_server:port/gui
    Note: Change "**" for "tt".

    your_ip_server - IP of the server
    port - port that you have chose at uTorrent

    When you try to enter, will ask to put in the login that you have chose on WebUI section.

    » FTP server:
    Open Putty:
    $su

    Place the password to change for the root account (password chosen when creating the account user).
    Then:
    #apt-get install openssl
    #openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /root/vsftpd.pem -out /root/vsftpd.pem
    #nano /etc/vsftpd.conf

    And we will change the following:
    anonymous_enable=NO
    local_enable=YES
    write_enable=YES

    Remove the # (that means comment) that precedes the file you want to edit.

    Copy this to the end:
    ssl_enable=YES
    force_local_logins_ssl=YES
    ssl_tlsv1=YES
    ssl_sslv2=YES
    ssl_sslv3=YES
    rsa_cert_file=/root/vsftpd.pem

    Save and exit.
    now:
    #/etc/init.d/vsftpd start
    #/etc/init.d/vsftpd restart
    #update-rc.d vsftpd defaults
    #exit


    Now you can access the server via FTP to download everything that have on the seedbox to your PC. Only need to download "Filezilla". For example:

    On Host, put: sftp://ks
    xxx.kimsufi.com (change the xxx to the proper, it appears at OVH email)
    Username: "your nick" (created at the begin)
    Password: "you password"
    Port: 22

    » Firefox and Flash:
    $su
    #apt-get -t etch-backports install flashplugin-nonfree
    #exit


    » Configurar Fluxbox:
    Open Putty again:
    $nano ~/.fluxbox/menu

    We will delete everything that is here and we will copy the following code to it:
    [begin] (Fluxbox-1.0.0)
    [encoding] {UTF-8}
    [exec] (firefox) {firefox}
    [exec] (xterm) {xterm}
    [exec] (uTorrent) {wine ~/utorrent.exe}
    [submenu] (fluxbox menu)
    [config] (Configure)
    [submenu] (System Styles) {Choose a style...}
    [stylesdir] (/usr/share/fluxbox/styles)
    [end]
    [submenu] (User Styles) {Choose a style...}
    [stylesdir] (~/.fluxbox/styles)
    [end]
    [workspaces] (Workspace List)
    [submenu] (Tools)
    [exec] (Screenshot - JPG) {import screenshot.jpg && display -resize 50% screenshot.jpg}
    [exec] (Screenshot - PNG) {import screenshot.png && display -resize 50% screenshot.png}
    [exec] (Run) {fbrun }
    [exec] (Regen Menu) {../util/fluxbox-generate_menu }
    [end]
    [submenu] (Window Managers)
    [restart] (mwm) {mwm}
    [restart] (kde) {startkde}
    [end]
    [commanddialog] (Fluxbox Command)
    [reconfig] (Reload config)
    [restart] (Restart)
    [exec] (About) {(fluxbox -v; fluxbox -info | sed 1d) 2> /dev/null | xmessage -file - -center}
    [separator]
    [exit] (Exit)
    [end]
    [endencoding]
    [end]
    Save and exit again.

    The end...

    I hope that can help someone.....
    Last edited by Scorpion; May 22nd, 2009 at 12:48 PM.


  2. To remove ads become VIP. Inquire about advertising here.
  3. #2

    Join Date
    Mar 2009
    Posts
    174

    Default

    Great great tutorial..Thanks!

    I had to make some changes for Debian-Lenny:

    When setting up the apt packages, changed:
    Place the following at the end:
    deb h**p://www.backports.org/debian/ etch-backports main contrib non-free
    To:
    deb h**p://www.backports.org/debian/ lenny-backports main contrib non-free

    All my instances that called back to backports.org where updated to "lenny-backports"

    When setting up the Software section, changed:
    » Software intalation:
    #apt-get install vncserver wine xterm fluxbox vsftpd firefox vnstat
    #update-menus
    #apt-get -t etch-backports install fluxbox
    To:
    #apt-get install vnc4server wine xterm fluxbox vsftpd iceweasel vnstat
    #update-menus
    #apt-get -t lenny-backports install fluxbox

    This was because, vncserver had been replaced by vnc4server and Firefox is now IceWeasel on Debian Lenny..

    Then, when configuring FluxBox, I had to create the ./fluxbox directory since it didn't exist on my server for some reason, so:
    » Configurar Fluxbox:
    Open Putty again:
    $nano ~/.fluxbox/menu
    Turned into:
    $mkdir ~/.fluxbox
    $nano ~/.fluxbox/menu


    I then copied, pasted the menu items into the menu file and ctrl-O(save) and ctrl-X (close) out of it.

    THEN I had to reboot my server because fluxbox was throwing the "cannot connect to xserver" error.

    Once I rebooted, relogged in via putty,
    Restarted vnc4server and relogged into the seedbox via RealVNC
    My FluxBox'd seedbox was there, nice and clean and beautiful!

    Stay tuned for TorrentFlux install and results..
    Last edited by Evolutionary; June 6th, 2009 at 01:10 PM.


    You can always hit the THANKS button at the bottom of posts or the http://www.torrent-invites.com/style...reputation.gif at the bottom left if you've been helped by someone.



Similar Threads

  1. Replies: 16
    Last Post: August 14th, 2010, 10:28 AM
  2. Advice Request: Max Active Seed Load on OVH Server
    By Tardish in forum Seedbox Discussions
    Replies: 3
    Last Post: July 16th, 2010, 07:30 AM
  3. Free 100mbps OVH server for a year - NL residents only
    By boxfive in forum Seedbox Advertising
    Replies: 20
    Last Post: April 24th, 2009, 11:55 AM
  4. Want share a dedicated OVH server with someone...
    By Learn2Read in forum Seedbox Advertising
    Replies: 0
    Last Post: April 20th, 2009, 03:35 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •