Share ssh keys: client: [code]cd ssh-keygen -t rsa[/code] the copy ~/.ssh/id_rsa.pub over to server server: [code]mkdir .ssh cat id_rsa.pub >> .ssh/authorized_keys[/code] Job done
Continue reading...18. April 2006
Simple one, you have a windows virtual machine and you want to copy it: Copy the folder the VM is in (assuming you use a folder per virtual machine) and rename it to the new host name Click on the .vmx icon (you can rename this file first so it’s new-host-name.vmx) Select “Edit this virtual machine’s settings” Under Hardware [...]
Continue reading...16. April 2006
If you’ve just installed something and want to make sure it starts on boot then the init.d script needs adding to the various run level folders as a symlink. It’s a bit of a drag and it can be sometimes forgotten. Never mind, Debian comes with a handy script: Lets assume that we have a script [...]
Continue reading...7. April 2006
I wanted to add my Zend Framework example code to subversion but to do that I needed a local Subversion repository As I had to figure out some of the bits how to this, I decided to put all of my steps into a mini How-To. Here it is: http://bealers.com/how-to/creating-a-subversion-repository/
Continue reading...4. April 2006
On my virtual Debian Sarge development server running within VMWare I wanted to create a separate virtual disk so that if I ever want to use the data on it with another virtual machine I can. Here’s the mini How-To: http://bealers.com/how-to/creating-a-separate-vmware-hard-disk-for-a-linux-virtual-server/
Continue reading...2. April 2006
Scenario: You are connected to a Linux webserver via a Windows terminal client such as PuTTy. You copy some text to paste into a Vim document open on the remote machine and you get tab hell: Here’s an example of something I pasted in tonight: [code] ServerAdmin webmaster@host.some_domain.com [...]
Continue reading...25. March 2006
New How-To added detailing all of the steps I took to build myself a home PHP development server: http://bealers.com/how-to/creating-a-php-development-server/
Continue reading...14. September 2005
At work we use subversion to manage our code, we also use Trac to manage bugs which has handy hooks into subversion. Unfortunately they are on different (internal) servers. This is quick What I DidTM to get the live svn server (taipan) to sync with the Trac server (apu) taipan: svn server (Debian 3.0 woody) apu: svn mirror [...]
Continue reading...10. September 2005
I want to do some scripting to parse the contents of the iTunes XML library and ultimitely transfer the contents to a remote server. For my desktop I use Windows XP because It Just Works most of the time and I reckon that doing what I want under DOS is probably impossible, I don’t know [VB|.NET|Delphi|C++|or [...]
Continue reading...30. June 2005
At work I’ve a MySQL 4.1 Master -> Slave set-up over our VPN as a backup and for local data processing. Today we realised that it’d not been replicating for days, @rse. Running “SHOW SLAVE STATUS \G” on the slave showed: mysql> show slave status \G *************************** 1. row *************************** [...]
Continue reading...
28. April 2006
0 Comments