Advertisement
sunfizz98

SF98 Deb Netinst. Guide (WiFi Friendly)

Feb 10th, 2012
498
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.81 KB | None | 0 0
  1. SF98 Debian Netinstall Guide
  2.  
  3. [url=http://pastebin.com/i2aRKib5]Printer-Friendly & Nicer Looking Version[/url]
  4.  
  5. Table of Contents
  6. =================
  7. 0.00 Version History [HIS-00]
  8. 1.00 Disclaimer [DIS-00]
  9. 2.00 Requirements [REQ-00]
  10. 3.00 Preparation [PRE-00]
  11. 4.00 Installation [INS-00]
  12. 4.01 BareBones Installation [INS-01]
  13. 4.01.A Official Netinstall [INS-01-A]
  14. 4.01.B Unofficial Netinstall [INS-01-B]
  15. 5.00 Post-Install [PST-00]
  16. 6.00 Customization [CUS-00]
  17. 6.01 Wifi Clients [CUS-01]
  18. 6.02 Window Manager [CUS-02]
  19. 6.02.A SpectrWM [CUS-02-A]
  20. 6.02.B Openbox [CUS-02-B]
  21. 6.03 Web Browser [CUS-03]
  22. 6.03.A Luakit [CUS-03-A]
  23. 5.04 Music Galore [CUS-04]
  24. 6.00 Credits [CDT-00]
  25.  
  26. ================================================
  27. 0.00 Version History [HIS-00]
  28. ================================================
  29. 02.07.2012 - Made the Guide [Barebones Installation]
  30. 02.08.2012 - Added Customization, wifi, window managers, web browser, and music galore section.
  31. 02.09.2012 - Added Search Tags and Table of Contents
  32. 02.10.2012 - Tagged Barebone installation as "Official Deb NetInstall". Added screenshot links.
  33. 02.12.2012 - Added Official, Non-official Netinstall sections and Post-Install Section.
  34. 02.13.2012 - Updated Install section with explicit details of what steps to skip. Minor fixes noted.
  35. 02.17.2012 - Removed Nitrogen from the list. Feh is very easy to set backgrounds and lighter too!
  36. 04.22.2012 - Updated Scrotwm to Spectrwm, "--no-install-recommends" to apt-get commands
  37. 04.22.2012 - Added alsa-utils to app list. Purged siduction repos from list to simplify installation.
  38. ================================================
  39. 1.00 Disclaimer [DIS-00]
  40. ================================================
  41. 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.
  42.  
  43. 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.
  44.  
  45. The main goal is to create a minimal system from the ground up to avoid unknown bloat.
  46.  
  47. 1. Root privileges will be used for installing applications and editing important files.
  48. 2. This guide will use wireless internet exclusively.
  49. 3. .xinitrc and startx will be used exclusively for booting into a window manager (WM)
  50. 4. Guide runs on 98% command-line-interface (CLI) applications, thus keeping distro-sizes to the absolute minimum.
  51. 5. Read the respective application manual for additional information about how to use the app. (i.e. man [application_name])
  52. 6. Unoffical Debian netinstall image has wireless drivers, wpa packages, and the latest debian kernel baked into the iso. Highly recommended!
  53. 7. Please use Sid/unstable for your sources. It is more stable than you would expect.
  54. 8. Use Expert Install (non-graphical) for netinstall.
  55.  
  56. ================================================
  57. 2.00 Requirements [REQ-00]
  58. ================================================
  59. Linux capable PC
  60. Internet Connection
  61. Patience
  62. 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]
  63. Wifi Packages [OFFICIAL ONLY]
  64.  
  65. ================================================
  66. 3.00 Preparation [PRE-00]
  67. ================================================
  68. 1. Burn netinst image to stick
  69.  
  70. 2. Write down your favorite debian repo and other preferred repo sources on a sheet of paper.
  71. [url]http://www.debian.org/mirror/list[/url]
  72.  
  73. 3. [OFFICIAL ONLY] Copy required (debian squeeze of respective architecture) wireless packages to stick and put them in a folder named "packages"
  74. - [url=http://packages.debian.org/squeeze/wpasupplicant]wpasupplicant[/url]
  75. - [url=http://packages.debian.org/squeeze/wireless-tools]wireless-tools[/url]
  76. - [url=http://packages.debian.org/squeeze/libdbus-1-3]libdbus-1-3[/url]
  77. - [url=http://packages.debian.org/squeeze/libiw30]libiw30[/url]
  78. - [url=http://packages.debian.org/squeeze/libnl1]libnl1[/url]
  79. - [url=http://packages.debian.org/squeeze/libpcsclite1]libpcsclite1[/url]
  80. 4. [OFFICIAL ONLY] Find and download respective wireless driver/module from the debian website to the same folder addressed above
  81. 5. [OFFICIAL ONLY]Make text file named "interfaces" and copy to same folder addressed above
  82. [code]
  83. auto wlan0
  84. iface wlan0 inet dhcp
  85. wpa-ssid mynetworkname
  86. wpa-psk secretpassphrase
  87. [/code]
  88.  
  89. ================================================
  90. 4.00 Installation [INS-00]
  91. ================================================
  92. 4.01 Barebones Installation [INS-01]
  93. --------------------------------------------------
  94. 4.01.A Official Debian Netinstall [INS-01-A]
  95. --------------------------------------------------
  96. 1. Install Debian Netinstall [Expert Install - Non-Graphical]
  97. 1.A. Skip Network discovery and setup
  98. 1.B. Setup your partitions within installer
  99. 1.C. Install Base Install
  100. 1.D. Install Grub if you don't have one, or don't know how to update current grub.
  101. 1.E. Go directly to "Finish Installation".
  102. [b]Do not setup network config, package manager, sources or install any software.[/b]
  103. -It will be done post-install
  104.  
  105. 2. Install wifi deb packages & wireless drivers
  106. [code]
  107. mount /dev/sdb1 /mnt
  108. cd /mnt/packages
  109. dpkg -i *.deb
  110. cp interfaces /etc/network
  111. chmod 0600 /etc/network/interfaces
  112. umount /dev/sdb1
  113. [/code]
  114.  
  115. 3. Modprobe your wireless module or restart the pc
  116.  
  117. 4. Fire up the wifi and continue to Post-Install
  118. [code] ifup wlan0 [/code]
  119.  
  120. --------------------------------------------------
  121. 4.01.B Unofficial Debian Netinstall [INS-01-B]
  122. --------------------------------------------------
  123. 1. Install Debian Netinstall [Expert Install - Non-graphical]
  124. 1.A. Go through all the steps until you get to the next step.
  125. 1.B. Install Base install
  126. 1.C. Install Grub if you don't have one, or don't know how to update your current grub
  127. 1.D. Go directly to "Finish Install"
  128. -Do not setup package manager, sources or install any software
  129. -It will be done post-install
  130.  
  131. 2. Restart PC and continue to Post-Install
  132.  
  133. ================================================
  134. 5.00 Post-Install [PST-00]
  135. ================================================
  136. 1. Login as root.
  137.  
  138. 2. Edit your sources
  139. [code]
  140. nano /etc/apt/sources.list
  141. deb ftp://ftp.us.debian.org/debian/ sid main contrib non-free
  142. deb http://www.debian-multimedia.org sid main non-free
  143. deb http://oscar.aptosid.com/debian/ sid main fix.main
  144. [/code]
  145. Tailor your sources to desired platform (i.e. stable, testing, unstable)
  146.  
  147. 3. [OPTIONAL] Install appropriate multitouch trackpad driver
  148. This is for those who have a multitouch pad and experienced craptacular experience with the synaptics trackpad driver
  149. [code]
  150. apt-get purge xserver-xorg-input-synaptics
  151. apt-get install --no-install-recommends xserver-xorg-input-multitouch
  152. [/code]
  153.  
  154. 4. Install keyrings and Update the source list
  155. [code]
  156. apt-get update
  157. apt-get install --no-install-recommends debian-multimedia-keyring aptosid-archive-keyring
  158. apt-get update
  159. [/code]
  160.  
  161. 5. Download the following files
  162. -Login as regular user and do this
  163. -Edit files as necessary
  164. [code]
  165. wget -Nc http://dl.dropbox.com/u/14800/.xinitrc
  166. wget -Nc http://dl.dropbox.com/u/14800/.Xresources
  167. [/code]
  168.  
  169. 6. Login as root, install xorg, then download and run smxi
  170. [code]
  171. apt-get install --no-install recommends unzip xorg
  172. cd /usr/local/bin && wget -Nc smxi.org/smxi.zip && unzip smxi.zip && smxi
  173. [/code]
  174. -set siduction kernels or aptosid kernels as default kernel
  175. -install gfx drivers via sgfxi
  176.  
  177. ================================================
  178. 5.00 Customization [CUS-00]
  179. ================================================
  180. Category | App Name(s)
  181. ========================================
  182. Diagnostics - conky htop
  183. Screenshot - scrot
  184. Chat Client - irssi
  185. File Managers - mc ranger
  186. Parition Manager - parted
  187. Media Player - mplayer2
  188. PDF viewer - zathura
  189. Image Viewer - feh
  190. Wallpaper Manager - feh
  191. Web Browser - luakit
  192. Dropbox - nautilus-dropbox
  193. LCD eye-care - redshift
  194. Terminal - rxvt-unicode
  195. App Launcher - dmenu
  196. Bash Completion - bash-completion
  197. Suspend Function - upower consolekit
  198. Audio - alsa-base alsa-utils
  199. Display Driver - xorg
  200. Adblock Daemon - privoxy
  201. Flash-Plugin - flashplugin-nonfree
  202. Easy Mount USB - pmount
  203. Torrent Client - rtorrent
  204.  
  205. For lazy people (includes all of the above apps)
  206. [code]
  207. 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
  208. [/code]
  209.  
  210. Replace mc default theme for something more pleasant.
  211. [url=http://ajnasz.hu/blog/20080101/midnight-commander-coloring]Ajnasz mc themes[/url]
  212.  
  213. Irssi Configuration
  214. Refer to [url=http://irssi.org/documentation/startup]Irssi documentation[/url]
  215.  
  216. rtorrent configuration
  217. nano ~/.rtorrent.rc and tailor SF98's [url=http://pastebin.com/Egbsf7EE]pastebin[/url] according to your needs. Make the specified directories as needed.
  218.  
  219. Use [url=http://bitlbee.org/main.php/servers.html]Bitlbee public server[/url] with irssi for ultimate versatility. No additional installation necessary.
  220. Supports XMPP/Jabber, Gtalk, MSN, Yahoo, AIM/ICQ, Twitter. Same kind of steps as noted in Irssi documentation.
  221.  
  222. ================================================
  223. 5.01 Wifi Clients [CUS-01]
  224. ================================================
  225. 1. [OFFICIAL ONLY] If using ceni or any wifi client, please modify the /etc/network/interfaces as root
  226. [code]
  227. if lo
  228. iface lo inet loopback
  229.  
  230. save, exit, restart pc
  231. [/code]
  232.  
  233. Recommended wifi client = ceni
  234.  
  235. ================================================
  236. 5.02 Window Managers [CUS-02]
  237. ================================================
  238. Edit the following files accordingly.
  239.  
  240. 5.02.A Spectrwm [CUS-02-A]
  241. ----------------------------------
  242. Preview SF98 version - [url=http://omploader.org/vY3FxZA][Clean][/url] [url=http://omploader.org/vY3FxaA][Dirty][/url]
  243. dmenu is highly recommended if not installed already.
  244. [code]
  245. apt-get install spectrwm
  246. wget -Nc http://dl.dropbox.com/u/14800/spectrwm/.spectrwm.conf
  247. wget -Nc http://dl.dropbox.com/u/14800/spectrwm/.conkyrc
  248. [/code]
  249.  
  250. Refer to [url=https://wiki.archlinux.org/index.php/Spectrwm]Arch - Spectrwm[/url] for basic help
  251. Refer to [url=http://crunchbanglinux.org/forums/topic/11199/getting-started-with-scrotwm/]#! - Scrotwm/Spectrwm Q&A[/url] for more detailed help.
  252.  
  253. ----------------------------------
  254. 5.02.B Openbox [CUS-02-B]
  255. ----------------------------------
  256. Preview SF98 Version - [url=http://omploader.org/vYm9oYg][Clean][/url] [url=http://omploader.org/vYm9oYQ][Dirty][/url]
  257. [code]
  258. apt-get install openbox tint2
  259. mkdir /home/username/.config/openbox
  260. cd /home/username/.config/openbox
  261. wget -Nc http://dl.dropbox.com/u/14800/openbox/menu.xml
  262. wget -Nc http://dl.dropbox.com/u/14800/openbox/rc.xml
  263. mkdir /home/username/.config/tint2
  264. cd /home/username/.config/tint2
  265. wget -Nc http://dl.dropbox.com/u/14800/openbox/tint2rc
  266. [/code]
  267. Openbox config tools
  268. [code] apt-get install obconf obmenu[/code]
  269.  
  270. ================================================
  271. 5.03 Web Browser [CUS-03]
  272. ================================================
  273. 5.03.A Luakit [CUS-03-A]
  274. ----------------------------------
  275. 1. Enable Noscript
  276. 1.A Edit the following luakit files
  277. /etc/xdg/luakit/rc.lua
  278. uncomment "require 'noscript'"
  279. Save & exit
  280.  
  281. /etc/xdg/luakit/globals.lua
  282. In "domain_props" remove anything that pertains to enable_plugins and enable_scripts
  283. Not doing so will render the noscript.lua broken
  284. Save & exit
  285.  
  286. /usr/local/share/luakit/lib/noscript.lua
  287. enable_scripts = false
  288. enable_plugins = false
  289.  
  290. 1.B Usage of noscript within luakit
  291. ,ts = enable/disable scripts
  292. ,tp = enable/disable plugins
  293. ,tr = remove rules
  294.  
  295. 2. Use Privoxy within luakit for ad-free browsing
  296. 2.A. Add Privoxy to proxy list
  297. [code]:proxy privoxy http://localhost:8118[/code]
  298.  
  299. 2.B. Select privoxy from proxy list once added
  300. Restart luakit to start using privoxy upon boot.
  301.  
  302. [url=http://crunchbanglinux.org/forums/topic/11206/luakit/]Crunchbang luakit thread[/url]
  303.  
  304. ================================================
  305. 5.04 Music Galore [CUS-04]
  306. ================================================
  307. MOC
  308. [code]apt-get install moc[/code]
  309. Refer to #!'s [url=http://crunchbanglinux.org/forums/topic/7596/moc-configs-themes/]MOC Configs & Themes[/url]
  310.  
  311. MPD
  312. [code]apt-get install mpd mpdscribble ncmpcpp[/code]
  313. Refer to [url=http://crunchbanglinux.org/forums/topic/17386/the-ultimate-mpd-guide/]ivanovnegro's ultimate MPD Guide[/url]
  314. Refer to [url=https://wiki.archlinux.org/index.php/Music_Player_Daemon]Arch Wiki - MPD - mpdscribble section[/url] for scrobble setup
  315.  
  316. Pianobar
  317. [code]
  318. apt-get install pianobar
  319. [/code]
  320. Refer to [url=http://hunnur.com/blog/2011/02/scrobble-to-last-fm-with-pianobar/]Hunner's Guide for scrobbling[/url]
  321.  
  322. ================================================
  323. 6.00 Credits [CDT-00]
  324. ================================================
  325. Crunchbang Peeps
  326. hhh - Big thank you for making an excellent netinst guide for those who only have wifi access.
  327. ivanovnegro - Awesome MPD guide
  328. machinebacon - Thanks for the unofficial debian-firmware iso
  329. vastone - For Quality checking this guide
  330.  
  331. Forgot a mention or have a suggestion? Make a post!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement