SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-02-10 18:26:47

sunfizz98
Carbonated Orange Juice
From: su terminal
Registered: 2011-05-12
Posts: 1,876
Website

SF98 Debian NetInstall Guide (WiFi Friendly)

SF98 Debian Netinstall Guide

Printer-Friendly & Nicer Looking Version

Table of Contents
=================
0.00        Version History                [HIS-00]
1.00        Disclaimer                [DIS-00]
2.00        Requirements                [REQ-00]
3.00        Preparation                [PRE-00]
4.00        Installation                [INS-00]
4.01        BareBones Installation            [INS-01]
  4.01.A        Official Netinstall        [INS-01-A]
  4.01.B        Unofficial Netinstall        [INS-01-B]
5.00        Post-Install                [PST-00]
6.00        Customization                [CUS-00]
6.01        Wifi Clients                [CUS-01]
6.02        Window Manager                [CUS-02]
  6.02.A        SpectrWM                [CUS-02-A]
  6.02.B        Openbox                [CUS-02-B]
6.03        Web Browser                [CUS-03]
  6.03.A        Luakit                [CUS-03-A]
5.04        Music Galore                [CUS-04]
6.00        Credits                    [CDT-00]

================================================
0.00    Version History         [HIS-00]
================================================
02.07.2012 - Made the Guide [Barebones Installation]
02.08.2012 - Added Customization, wifi, window managers, web browser, and music galore section.
02.09.2012 - Added Search Tags and Table of Contents
02.10.2012 - Tagged Barebone installation as "Official Deb NetInstall".  Added screenshot links.
02.12.2012 - Added Official, Non-official Netinstall sections and Post-Install Section.
02.13.2012 - Updated Install section with explicit details of what steps to skip. Minor fixes noted.
02.17.2012 - Removed Nitrogen from the list. Feh is very easy to set backgrounds and lighter too!
04.22.2012 - Updated Scrotwm to Spectrwm, "--no-install-recommends" to apt-get commands
04.22.2012 - Added alsa-utils to app list. Purged siduction repos from list to simplify installation.
================================================
1.00    Disclaimer            [DIS-00]
================================================
I have found the cure to distro-hop syndrome.  With the power of prinnies, I shall name my creation TuxBuster 2012!  Now you can make one yourself for free with minimal work! In just one hour or so, you can have a fully functional arse-kicking machine. Foes will cower and peers will commend your prowess when they see you mash text commands and accomplish tasks like a boss. It's a force to be reckoned with.

Although not for Newbies, I still recommend this guide for all walks of life.  I tailored this guide to accomodate absolute beginners and the experienced alike, but not with the excessive handholding.  All that I ask is to use the forums and the internet to its fullest capacity for answers and personal/profesional growth.  Depending on the user, there may or may not be a steep learning curve.

The main goal is to create a minimal system from the ground up to avoid unknown bloat.

1. Root privileges will be used for installing applications and editing important files.
2. This guide will use wireless internet exclusively.
3. .xinitrc and startx will be used exclusively for booting into a window manager (WM)
4. Guide runs on 98% command-line-interface (CLI) applications, thus keeping distro-sizes to the absolute minimum.
5. Read the respective application manual for additional information about how to use the app. (i.e. man [application_name])
6. Unoffical Debian netinstall image has wireless drivers, wpa packages, and the latest debian kernel baked into the iso.  Highly recommended!
7. Please use Sid/unstable for your sources. It is more stable than you would expect.
8. Use Expert Install (non-graphical) for netinstall.

================================================
2.00    Requirements            [REQ-00]
================================================
Linux capable PC
Internet Connection
Patience
Debian Netinstall image on CD/USB [OFFICIAL]  [UNOFFICIAL]
Wifi Packages [OFFICIAL ONLY]

================================================
3.00    Preparation            [PRE-00]
================================================
1. Burn netinst image to stick

2. Write down your favorite debian repo and other preferred repo sources on a sheet of paper.
http://www.debian.org/mirror/list

3. [OFFICIAL ONLY] Copy required (debian squeeze of respective architecture) wireless packages to stick and put them in a folder named "packages"
- wpasupplicant
- wireless-tools
- libdbus-1-3
- libiw30
- libnl1
- libpcsclite1
4. [OFFICIAL ONLY] Find and download respective wireless driver/module from the debian website to the same folder addressed above
5. [OFFICIAL ONLY]Make text file named "interfaces" and copy to same folder addressed above

auto wlan0
iface wlan0 inet dhcp
    wpa-ssid mynetworkname
    wpa-psk secretpassphrase

================================================
4.00    Installation            [INS-00]
================================================
4.01    Barebones Installation        [INS-01]
--------------------------------------------------
4.01.A    Official Debian Netinstall    [INS-01-A]
--------------------------------------------------
1. Install Debian Netinstall [Expert Install - Non-Graphical]
1.A. Skip Network discovery and setup
1.B. Setup your partitions within installer
1.C. Install Base Install
1.D. Install Grub if you don't have one, or don't know how to update current grub.
1.E. Go directly to "Finish Installation".
Do not setup network config, package manager, sources or install any software.
-It will be done post-install

2. Install wifi deb packages & wireless drivers

mount /dev/sdb1 /mnt
cd /mnt/packages
dpkg -i *.deb
cp interfaces /etc/network
chmod 0600 /etc/network/interfaces
umount /dev/sdb1

3. Modprobe your wireless module or restart the pc

4. Fire up the wifi and continue to Post-Install

 ifup wlan0 

--------------------------------------------------
4.01.B    Unofficial Debian Netinstall    [INS-01-B]
--------------------------------------------------
1. Install Debian Netinstall [Expert Install - Non-graphical]
1.A. Go through all the steps until you get to the next step.
1.B. Install Base install
1.C. Install Grub if you don't have one, or don't know how to update your current grub
1.D. Go directly to "Finish Install"
-Do not setup package manager, sources or install any software
-It will be done post-install

2. Restart PC and continue to Post-Install

================================================
5.00    Post-Install            [PST-00]
================================================
1. Login as root.

2. Edit your sources

nano /etc/apt/sources.list
deb ftp://ftp.us.debian.org/debian/ sid main contrib non-free
deb http://www.debian-multimedia.org sid main non-free
deb http://oscar.aptosid.com/debian/ sid main fix.main

Tailor your sources to desired platform (i.e. stable, testing, unstable)

3. [OPTIONAL] Install appropriate multitouch trackpad driver
This is for those who have a multitouch pad and experienced craptacular experience with the synaptics trackpad driver

apt-get purge xserver-xorg-input-synaptics
apt-get install --no-install-recommends xserver-xorg-input-multitouch

4. Install keyrings and Update the source list

apt-get update
apt-get install --no-install-recommends debian-multimedia-keyring aptosid-archive-keyring
apt-get update

5. Download the following files
-Login as regular user and do this
-Edit files as necessary

wget -Nc http://dl.dropbox.com/u/14800/.xinitrc
wget -Nc http://dl.dropbox.com/u/14800/.Xresources

6. Login as root, install xorg, then download and run smxi

apt-get install --no-install recommends unzip xorg
cd /usr/local/bin && wget -Nc smxi.org/smxi.zip && unzip smxi.zip && smxi

-install gfx drivers via sgfxi

================================================
5.00    Customization            [CUS-00]
================================================
Category            |    App Name(s)
========================================
Diagnostics        -    conky htop
Screenshot        -    scrot
Chat Client        -    irssi
File Managers        -    mc ranger
Parition Manager    -    parted
Media Player        -    mplayer2
PDF viewer        -    zathura
Image Viewer        -    feh
Wallpaper Manager    -    feh
Web Browser        -    luakit
Dropbox            -    nautilus-dropbox
LCD eye-care        -    redshift
Terminal        -    rxvt-unicode
App Launcher        -    dmenu
Bash Completion        -    bash-completion
Suspend Function    -    upower consolekit
Audio            -    alsa-base alsa-utils
Display Driver        -    xorg
Adblock Daemon        -    privoxy
Flash-Plugin        -    flashplugin-nonfree
Easy Mount USB        -    pmount
Torrent Client        -    rtorrent

For lazy people (includes all of the above apps)

apt-get install --no-install-recommends alsa-base alsa-utils bash-completion conky consolekit dmenu feh flashplugin-nonfree htop irssi luakit mc mplayer2 nautilus-dropbox parted pmount privoxy redshift rtorrent rxvt-unicode scrot upower xorg zathura

Replace mc default theme for something more pleasant.
Ajnasz mc themes

Irssi Configuration
Refer to Irssi documentation

rtorrent configuration
nano ~/.rtorrent.rc and tailor SF98's pastebin according to your needs.  Make the specified directories as needed.

Use Bitlbee public server with irssi for ultimate versatility. No additional installation necessary.
Supports XMPP/Jabber, Gtalk, MSN, Yahoo, AIM/ICQ, Twitter. Same kind of steps as noted in Irssi documentation.

================================================
5.01    Wifi Clients            [CUS-01]
================================================
1. [OFFICIAL ONLY] If using ceni or any wifi client, please modify the /etc/network/interfaces as root

if lo
iface lo inet loopback

save, exit, restart pc

Recommended wifi client = ceni

================================================
5.02    Window Managers            [CUS-02]
================================================
Edit the following files accordingly.

5.02.A    Spectrwm        [CUS-02-A]
----------------------------------
Preview SF98 version - [Clean] [Dirty]
dmenu is highly recommended if not installed already.

apt-get install spectrwm
wget -Nc http://dl.dropbox.com/u/14800/spectrwm/.spectrwm.conf
wget -Nc http://dl.dropbox.com/u/14800/spectrwm/.conkyrc

Refer to Arch - Spectrwm for basic help
Refer to #! - Scrotwm/Spectrwm Q&A for more detailed help.

----------------------------------
5.02.B    Openbox        [CUS-02-B]
----------------------------------
Preview SF98 Version - [Clean] [Dirty]

apt-get install openbox tint2
mkdir /home/username/.config/openbox
cd /home/username/.config/openbox 
wget -Nc http://dl.dropbox.com/u/14800/openbox/menu.xml
wget -Nc http://dl.dropbox.com/u/14800/openbox/rc.xml
mkdir /home/username/.config/tint2
cd /home/username/.config/tint2
wget -Nc http://dl.dropbox.com/u/14800/openbox/tint2rc

Openbox config tools

 apt-get install obconf obmenu

================================================
5.03    Web Browser            [CUS-03]
================================================
5.03.A    Luakit        [CUS-03-A]
----------------------------------
1.    Enable Noscript
1.A     Edit the following luakit files
/etc/xdg/luakit/rc.lua
uncomment "require 'noscript'"
Save & exit

/etc/xdg/luakit/globals.lua
In "domain_props" remove anything that pertains to enable_plugins and enable_scripts
Not doing so will render the noscript.lua broken
Save & exit

/usr/local/share/luakit/lib/noscript.lua
enable_scripts = false
enable_plugins = false

1.B Usage of noscript within luakit
,ts = enable/disable scripts
,tp = enable/disable plugins
,tr = remove rules

2. Use Privoxy within luakit for ad-free browsing
2.A. Add Privoxy to proxy list

:proxy privoxy http://localhost:8118

2.B. Select privoxy from proxy list once added
Restart luakit to start using privoxy upon boot.

Crunchbang luakit thread

================================================
5.04    Music Galore            [CUS-04]
================================================
MOC

apt-get install moc

Refer to #!'s MOC Configs & Themes

MPD

apt-get install mpd mpdscribble ncmpcpp

Refer to ivanovnegro's ultimate MPD Guide
Refer to Arch Wiki - MPD - mpdscribble section for scrobble setup

Pianobar

apt-get install pianobar

Refer to Hunner's Guide for scrobbling

================================================
6.00    Credits                [CDT-00]
================================================
Crunchbang Peeps
hhh        - Big thank you for making an excellent netinst guide for those who only have wifi access.
ivanovnegro    - Awesome MPD guide
machinebacon    - Thanks for the unofficial debian-firmware iso
vastone    - For Quality checking this guide

Forgot a mention or have a suggestion? Make a post!

Last edited by sunfizz98 (2012-04-22 19:21:38)

Offline

Help fund CrunchBang, donate to the project!

#2 2012-02-10 18:32:19

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,634
Website

Re: SF98 Debian NetInstall Guide (WiFi Friendly)

Nice work Vizz smile Will try it some day and let you know. Thanks wink

Offline

#3 2012-02-10 23:50:34

ivanovnegro
Ivan #000000
From: unstable madness
Registered: 2011-06-02
Posts: 5,427

Re: SF98 Debian NetInstall Guide (WiFi Friendly)

That's the ultimate SF guide, I will call it the Debian SF98 edition, awesome!

It is one of the best guides ever. That is the beauty of Debian you show here, forget the Arch fanbois. big_smile
Man, I have to try that one day. wink

Offline

#4 2012-02-11 10:01:48

rhowaldt
#!*$%:)
Registered: 2011-03-09
Posts: 4,396

Re: SF98 Debian NetInstall Guide (WiFi Friendly)

wow, awesome work on the guide man. really nice. it is only a matter of time for VastOne to jump in here and we can all celebrate that it got its own place in the Quick Reference smile

Offline

#5 2012-02-11 15:48:09

sunfizz98
Carbonated Orange Juice
From: su terminal
Registered: 2011-05-12
Posts: 1,876
Website

Re: SF98 Debian NetInstall Guide (WiFi Friendly)

I believe Vastone already added the guide to the quick reference thread.  Stay tuned, cause I still have more to add to the guide thanks to a tip from a certain someone. wink

Offline

#6 2012-02-11 16:02:13

chromium
#! CrunchBanger
Registered: 2009-08-05
Posts: 111

Re: SF98 Debian NetInstall Guide (WiFi Friendly)

Thank you sunfizz98, I'll try it next weekend. big_smile

Offline

#7 2012-02-11 20:10:57

a_movingtarget
#! Member
From: the wasteland
Registered: 2011-10-25
Posts: 81

Re: SF98 Debian NetInstall Guide (WiFi Friendly)

I'm on it right now.  Thanks!

EDIT: done and all went well, with just a couple of surprises!  Thanks a lot, sunfizz98!  You wrote an excellent guide for a really neat setup.  I'm going to mess around with scrotwm and luakit for a while now.  Oh, and importantly, I feel that I've learned a little bit more today! big_smile

Last edited by a_movingtarget (2012-02-12 03:14:33)


**AKA tiresias on IRC**      shantih   shantih   shantih     
      Contribute however you can!

Offline

#8 2012-02-11 21:19:07

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,163
Website

Re: SF98 Debian NetInstall Guide (WiFi Friendly)

@ fizzie.. Great guide.. Added to the Quick Reference thread.

I cleared out a partition to use this as a guide.

I know what SF98 represents, but every time I see it I think of another 98 distribution that brings back painful memories. big_smile


VSIDO | Words That Build Or Destroy

We do not run from challenges, they become new innovations within VSIDO!

Offline

#9 2012-02-12 23:23:47

sunfizz98
Carbonated Orange Juice
From: su terminal
Registered: 2011-05-12
Posts: 1,876
Website

Re: SF98 Debian NetInstall Guide (WiFi Friendly)

Updated the guide to include unofficial builds that eliminate a lot of steps (dealing with wifi) and makes life easier.

Cheers!

Offline

#10 2012-04-22 17:59:00

sunfizz98
Carbonated Orange Juice
From: su terminal
Registered: 2011-05-12
Posts: 1,876
Website

Re: SF98 Debian NetInstall Guide (WiFi Friendly)

*UPDATE* Took out some cruft and updated the guide to be more current.  Stay tuned to my next guide about having a semi-automated deb sid netinstall (codename pending). I will leave this guide as is and refer to it as "Manual SF98 Debian Netinstall Guide"

Last edited by sunfizz98 (2012-04-22 17:59:20)

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo