SSHd is one of the most versatile applications I use in my day. Whether I’m looking for a quick commandline to a remote machine or tunneling traffic from a public network, SSH or Putty are almost always open in some fashion on my systems. To facilitate easier logins and make use of scripts such as… Read more »
Posts Categorized: Linux
Linux Tip: Resize an ext3 partition with gparted
Recently I embarked on a cleaning spree prompted by full capacity on my filedrive (where all my digital media lives). After shuffling files all around the system, deleting old OS files that were no longer needed, etc, I had 3x 100gb partitions with just a little bit of stuff in each. What I wanted was… Read more »
Linux Tip: Create a bash script to archive web folders and mysql databases locally and remotely
Update – May 2013: I’ve received a few emails asking how to prevent this script from continuously eating up disk space… Rather than re-invent the wheel, I just use built in Linux commands in my root crontab that run once a day: 0 4 * * * find /home/tim/backups/ -mtime +10 -exec rm {} \;… Read more »
VMWare Server Tip: fix VMWare after a kernel upgrade
When you upgrade the kernel on a linux based host, you have to do a reboot for the system to actually start utilizing the new kernel. One thing you’ll notice, is that when you restart, your virtual machines, including the webaccess are unavailable and stopped responding. What do you do? Panic!!(?) No. You simply have… Read more »
Atrium Tip: Installing Open Atrium
If you haven’t checked out Open Atrium yet, you really should. Dubbed as an opensource “out of the box intranet”, it is a very polished and slick looking fork custom installation of Drupal designed to assist in establishing efficient collaboration within working groups, and most importantly as an important building block towards your own customized… Read more »
Linux Tip: auto mount remote hdd via fstab
To map a remote samba share in Linux with read-write access and a username and password, you will require samba. In debian based distros, this is easily obtained via sudo apt-get install samba. Create a secure credentials file: tim@ubuntu-server:~$ cd /root tim@ubuntu-server:/root$ su Password: root@ubuntu-server:~# echo username=username > .smbpasswd root@ubuntu-server:~# echo password=password >> .smbpasswd root@ubuntu-server:~#… Read more »
Linux Tips: Setting aliases for frequent strings and commands
This was a great link that sums up creating aliases in your ~/.bashrc file for commonly used commands, with a few good ideas to boot: TechRepublic.com: 10 handy bash aliases