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

Fixing a https Cert in Windows

 I renewed a https cert today in Windows and had problems with the new Cert sticking in Windows It would add fine, without error, but would disappear when the IIS Server Certificates screen would refresh.  Open the Certificates in MMC (Local Machine) and inspecting the Web Hosting gave a clue, the new certificate was there, but with a key - the private key was missing.  Could be because the original certificate was created on a completely different machine and imported to this new server.  At any rate, a simple certutil command fixed it .  A tip I received from  SSL disappears from the certificate list on Windows server - SSL Certificates - Namecheap.com Key steps are:  Double-click the certificate and go to  Details  tab. In certificate details locate the  Serial Number  field, click on it and copy its value. Open Command Prompt, pressing  Win+R  and typing  cmd , then click  OK In the command prompt type: ...

Ever need to reset a password in Bonobo Git Server ?

So, you've forgotten your password to bonobo git. Step 1: Get access to the sqlite file, probably called something like  Bonobo.Git.Server.db, sitting in the "wwwroot\Bonobo.Git.Server\App_Data" directory. Step 2: Using another tool, generate an md5 hash of your new desired password (as far as I know, sqlite does not have md5 capability) Step 3: Back in sqlite, using SQL, update the relevant user record, something like update User set Password = UPPER( 'thenewMD5hash') where Username = 'admin' ; Step 4: That's it, you are done, log in with your newly found password.

Save Attachments in Outlook automatically

For years I have wanted something to do this, and finally found it. Worked perfectly for me in Outlook 2013  In the end it is so simple. Guide from http://www.pixelchef.net/content/rule-autosave-attachment-outlook and https://msdn.microsoft.com/en-us/library/ee814736.aspx Open the VBA IDE in Outlook. Alt-F11 will do this. Insert the following code to the Modules section. On the left side there is a tree, expand until you find Modules. Then, if there is not a Module item under Modules, create one by right clicking on Modules. Or right click and choose Insert -> Module. Now, paste the text below in the main VBA window. Close the VBA IDE. Create a Rule that calls the script. Tools -> Rules and Alerts -> New Rule... In the first screen of the new rule wizard, choose "Check messages when they arrive". In the second, you could specify certain criteria that the message must match. Tip: Try "with specific words in the message header" and ...