Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SF98 Debian Netinstall Guide
- [url=http://pastebin.com/i2aRKib5]Printer-Friendly & Nicer Looking Version[/url]
- 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 [url=http://omploader.org/vY3FlNA]TuxBuster 2012[/url]! 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 [url=http://www.debian.org/CD/netinst/][OFFICIAL][/url] [url=http://cdimage.debian.org/cdimage/daily-builds/][UNOFFICIAL][/url]
- 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.
- [url]http://www.debian.org/mirror/list[/url]
- 3. [OFFICIAL ONLY] Copy required (debian squeeze of respective architecture) wireless packages to stick and put them in a folder named "packages"
- - [url=http://packages.debian.org/squeeze/wpasupplicant]wpasupplicant[/url]
- - [url=http://packages.debian.org/squeeze/wireless-tools]wireless-tools[/url]
- - [url=http://packages.debian.org/squeeze/libdbus-1-3]libdbus-1-3[/url]
- - [url=http://packages.debian.org/squeeze/libiw30]libiw30[/url]
- - [url=http://packages.debian.org/squeeze/libnl1]libnl1[/url]
- - [url=http://packages.debian.org/squeeze/libpcsclite1]libpcsclite1[/url]
- 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
- [code]
- auto wlan0
- iface wlan0 inet dhcp
- wpa-ssid mynetworkname
- wpa-psk secretpassphrase
- [/code]
- ================================================
- 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".
- [b]Do not setup network config, package manager, sources or install any software.[/b]
- -It will be done post-install
- 2. Install wifi deb packages & wireless drivers
- [code]
- mount /dev/sdb1 /mnt
- cd /mnt/packages
- dpkg -i *.deb
- cp interfaces /etc/network
- chmod 0600 /etc/network/interfaces
- umount /dev/sdb1
- [/code]
- 3. Modprobe your wireless module or restart the pc
- 4. Fire up the wifi and continue to Post-Install
- [code] ifup wlan0 [/code]
- --------------------------------------------------
- 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
- [code]
- 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
- [/code]
- 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
- [code]
- apt-get purge xserver-xorg-input-synaptics
- apt-get install --no-install-recommends xserver-xorg-input-multitouch
- [/code]
- 4. Install keyrings and Update the source list
- [code]
- apt-get update
- apt-get install --no-install-recommends debian-multimedia-keyring aptosid-archive-keyring
- apt-get update
- [/code]
- 5. Download the following files
- -Login as regular user and do this
- -Edit files as necessary
- [code]
- wget -Nc http://dl.dropbox.com/u/14800/.xinitrc
- wget -Nc http://dl.dropbox.com/u/14800/.Xresources
- [/code]
- 6. Login as root, install xorg, then download and run smxi
- [code]
- apt-get install --no-install recommends unzip xorg
- cd /usr/local/bin && wget -Nc smxi.org/smxi.zip && unzip smxi.zip && smxi
- [/code]
- -set siduction kernels or aptosid kernels as default kernel
- -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)
- [code]
- 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
- [/code]
- Replace mc default theme for something more pleasant.
- [url=http://ajnasz.hu/blog/20080101/midnight-commander-coloring]Ajnasz mc themes[/url]
- Irssi Configuration
- Refer to [url=http://irssi.org/documentation/startup]Irssi documentation[/url]
- rtorrent configuration
- nano ~/.rtorrent.rc and tailor SF98's [url=http://pastebin.com/Egbsf7EE]pastebin[/url] according to your needs. Make the specified directories as needed.
- Use [url=http://bitlbee.org/main.php/servers.html]Bitlbee public server[/url] 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
- [code]
- if lo
- iface lo inet loopback
- save, exit, restart pc
- [/code]
- 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 - [url=http://omploader.org/vY3FxZA][Clean][/url] [url=http://omploader.org/vY3FxaA][Dirty][/url]
- dmenu is highly recommended if not installed already.
- [code]
- 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
- [/code]
- Refer to [url=https://wiki.archlinux.org/index.php/Spectrwm]Arch - Spectrwm[/url] for basic help
- Refer to [url=http://crunchbanglinux.org/forums/topic/11199/getting-started-with-scrotwm/]#! - Scrotwm/Spectrwm Q&A[/url] for more detailed help.
- ----------------------------------
- 5.02.B Openbox [CUS-02-B]
- ----------------------------------
- Preview SF98 Version - [url=http://omploader.org/vYm9oYg][Clean][/url] [url=http://omploader.org/vYm9oYQ][Dirty][/url]
- [code]
- 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
- [/code]
- Openbox config tools
- [code] apt-get install obconf obmenu[/code]
- ================================================
- 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
- [code]:proxy privoxy http://localhost:8118[/code]
- 2.B. Select privoxy from proxy list once added
- Restart luakit to start using privoxy upon boot.
- [url=http://crunchbanglinux.org/forums/topic/11206/luakit/]Crunchbang luakit thread[/url]
- ================================================
- 5.04 Music Galore [CUS-04]
- ================================================
- MOC
- [code]apt-get install moc[/code]
- Refer to #!'s [url=http://crunchbanglinux.org/forums/topic/7596/moc-configs-themes/]MOC Configs & Themes[/url]
- MPD
- [code]apt-get install mpd mpdscribble ncmpcpp[/code]
- Refer to [url=http://crunchbanglinux.org/forums/topic/17386/the-ultimate-mpd-guide/]ivanovnegro's ultimate MPD Guide[/url]
- Refer to [url=https://wiki.archlinux.org/index.php/Music_Player_Daemon]Arch Wiki - MPD - mpdscribble section[/url] for scrobble setup
- Pianobar
- [code]
- apt-get install pianobar
- [/code]
- Refer to [url=http://hunnur.com/blog/2011/02/scrobble-to-last-fm-with-pianobar/]Hunner's Guide for scrobbling[/url]
- ================================================
- 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!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement