Skip to main content

Stuff some guy always installs on debian

The stuff I always install on a Debian box « boltblog
Sitting here installing a brand new box, I look through what I use on other machines and figure out a list of things I want to have installed on any box I'm on. Here's the list so far, in no particular order:


  • vim - my favorite text editor 
  • ssh - the secure shell server and client - a must. 
  • realpath - gets the full pathname of a given file. very useful in scripts 
  • autossh - keeps ssh connections open on its own. very useful for ssh tunnels. 
  • sysstat - various performance tools, like mpstat to see the individual cpu usage in an smp setup sudo - allows normal users to execute things as root. mind-bogglingly useful 
  • preload - tracks which applications are frequently used and tries to keep them in memory to improve startup times 
  • lshw - prints way more information about your machine than you really need 
  • sysv-rc-conf - a nice tool to set at which runlevels the machine should start and stop services 
  • console-setup - pretty, pretty console fonts (terminus) 
  • pastebinit - lets you pipe output to most pastebins from the console. EXTREMELY USEFUL ccze - pipe stuff to this program to colorize the output. "sudo tail -f /var/log/messages | ccze" = bliss hdparm - sets various drive parameters for IDE drives, such as spindown time etc. also performs speed tests 
  • logwatch - sends you a nice log summary every day 
  • build-essential - compilers, kernel headers and other stuff which is damn useful 
  • deborphan - finds autoinstalled packages which are no longer necessary 
  • module-assistant - compiles and inserts modules on the fly with a running debian kernel. brilliant. remember to execute "m-a prepare" to get additional stuff it needs, including the kernel headers for your currently running debian kernel, which is always useful to have around 
  • kernel-package - stuff needed to compile new kernels the debian way. 
  • psmisc - contains the all important "killall" command beep - makes a pc speaker beep. very useful to put at the end of a long series of commands 
  • yafc - yet another ftp client, but my favorite one 
  • lftp - easily scriptable ftp client - use this for all synchronization (which doesn't support encryption) 
  • rsync - for remote file synchronization realpath - finds the real path of a file. useful in scripts 
  • screen - allows several virtual consoles in one 
  • p7zip-full - for those pesky 7z-archives which have suddenly started to appear everywhere 
  • wget - if it's not there, it damn well should be! 
  • unace - file extraction 
  • unrar - file extraction 
  • unzip - file extraction watchdog - keeps an eye on the computer and restarts it if it hangs (hopefully) 
  • irssi - irc chat. it's always useful to be able to reach #debian on irc.freenode.net 
  • sshfs - utilities to allow remote mounting of directories through ssh. insanely useful. also installs fuse 
  • smbclient - utilities to allow remote mounting of samba shares (windows shared directories) 
  • smbfs - utilities to allow remote mounting of samba shares (windows shared directories) 
  • nmap - simple portmapping utility. very useful. 
  • nbtscan - scans for machines with windows shares. also useful sometimes. 
  • rungetty - allows for autologin to consoles and, for instance, displaying the system log in a tty without having to log in. woo. 
  • mutt - console-based email client 
  • ntp - clock synchronization 
  • ntpdate - manually query time servers 
  • nload - displays network traffic graphs in the console 
  • file - identifies filetypes by content 
  • autofs - automatically mounts and unmounts preset filesystems when they are needed 
  • fakeroot - useful for compiling stuff


And a one-liner to install them all and beep afterwards, for my own copy-pasting delight:
apt-get install ssh vim sudo ccze ntp lshw watchdog realpath sysstat nload sysv-rc-conf preload autofs pastebinit fakeroot file console-setup lftp autossh p7zip-full deborphan ntpdate nmap hdparm logwatch mutt nbtscan rungetty build-essential screen module-assistant kernel-package psmisc beep yafc rsync wget unzip unrar unace irssi sshfs smbclient smbfs && m-a prepare && update-alternatives --set editor /usr/bin/vim.basic && beep more to come, probably...
anything to add to the list of incredibly useful stuff? comment!

Comments

Popular posts from this blog

Changing Password - in AD, when you're changing one of your other accounts, not the logged in account

  Use Powershell  Step 1 - Put your existing password in a Secure String  $oldPassword = Read-Host "Your old Password" -AsSecureString  Step 2 - Start the password change set-AdAccountPassword -Identity paul-admin -OldPassword  $oldPassword Step 3 - Enter your new password You'll be prompted for your new password... Please enter the desired password for 'CN=xxxx,OU=Admin Users,OU=Users,OU=Privileged,DC=CAIS,DC=com,DC=edu,DC=au' Password: ************************** Repeat Password: **************************

Tip to create an underline on a heading shorter than the heading itself

You can use a pseudo element with :before (or :after ): h1 { font - weight : 300 ; display : inline - block ; padding - bottom : 5px ; position : relative ; } h1 : before { content : "" ; position : absolute ; width : 50 %; height : 1px ; bottom : 0 ; left : 25 %; border - bottom : 1px solid red ; } http://jsfiddle.net/9e27b/ This is another solution that centers the heading, the problem here is that the underline gets shorter as the column gets shorter. h2 {   display: inline-block;   padding-bottom: 15px;   position: relative;   width: 100% ;   text-align: center; } h2:before{     content: "";     position: absolute;     width: 8%;     height: 1px;     bottom: 0;     left: 46%;     border-bottom: 1px solid red; }

The web.config no extension mime problem Lets Encrypt on IIS/Windows

  Tip when using LetsEncrypt in Windows - Feature Requests - Let's Encrypt Community Support In a paragraph, just use the web.config file to set the mime type, eg...  After trying to figure out why my Lets Encrypt failed to generate in Windows, and discovering that it's the no extension mime type problem, I wondered whether certbot could fill in the missing gap. All that is needed is the following web.config file to be placed in the same directory as the challenge <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <staticContent> <mimeMap fileExtension="." mimeType="text/xml" /> </staticContent> </system.webServer> </configuration> Because there's no mime type for files without an extension on IIS, IIS sends back a 404 when verification happens. The web.config file above sets the mime type. After I created the .well-known