Posted by
Fizzgig on September 1, 2006 |
123 comments
Today I recovered a single mailbox from backup tapes on an Exchange 2003 server. The user had been deleted from Active Directory. The mailbox had passed the retention time on the server and been purged from the Exchange database.
I found very very minimal documentation on how to do this, it was so sketchy that I was almost afraid to try this.
We only have a single Exchange 2003 Standard server, and I believe that its a little bit simpler if you have Enterprise or more Exchange servers. So, for those of you in the same boat, here’s how to do it. » Read the full post
If you find this article useful, buy me a beer! Tags: backup, Exchange, msExchMailboxGuid, obscure, recovery, symantec, sysadmin, veritas
Posted by
Fizzgig on August 30, 2006 |
No comments
So, previously, I detailed how to do web virtual hosting to directories on the file system. This is all well and good, but I want to have users pidgeon holed into their own directories, plus I want users own websites to be stored under their own directories in a similar format to that used in the previous article (eg. /home/user/web/example.org/subdomain)
The problem lies with mapping domain names (example.org) onto user accounts (Alice? Bob?). This is where Apache and mod_rewrite come to the rescue again. On Wintermute I’ve installed Apache 2, but this recipe will work just as well with Apache 1.3. » Read the full post
If you find this article useful, buy me a beer! Tags: Apache, code, Debian, Hosting, PHP
Posted by
Fizzgig on July 19, 2006 |
No comments
Quick greasemonkey script to change links to community.livejournal.com/commname to commname.livejournal.com. Based off the “Always link to full LiveJournal userinfo” script.
Probably doesn’t take into account a bunch of stuff…
(function(){
var commRegEx = /^(http:\/\/community\.livejournal\.com)?\/([^/]+)(\/)?(.*)/i;
var l = document.getElementsByTagName("a");
for (var cand = null, i = 0; (cand = l[i]); i++) {
uim = commRegEx.exec(cand.getAttribute('href'));
if (uim != null) {
cand.setAttribute('href','http://' + uim[2] + '.livejournal.com/' + uim[4]);
}
}
})();
Download: changecommunitylivejourn.user.js
If you find this article useful, buy me a beer! Tags: code, Greasemonky, javascript, Livejournal
Posted by
Fizzgig on July 7, 2006 |
3 comments
So, to reiterate – the main server (Wist) will hold all my own stuff, then I’ll be creating a user Virtual Server (Wintermute) on top of that for users to play with and/or break. All the user stuff is backended in a Xoops database using Xoops groups.
Wist is installed with Debian Sarge using a custom kernel including the vserver patches from Debian. This sort of thing is detailed elsewhere so I won’t go over it again here.
The core server software (all from the Debian archive) will include: Apache 1.3 with PHP4, Apache-SSL, Bind, MySQL 4.1, Exim4, ClamAV and Dovecot (I’ll be detailing the email setup seperately) » Read the full post
If you find this article useful, buy me a beer! Tags: Apache, code, Debian, Hosting, PHP
Posted by
Fizzgig on July 2, 2006 |
One comment
A quick overview of the key combinations you’ll use 99% of the time in screen
Screen is a really really handy little bit of software I leave running on all the Linux boxes I run.
From the man page:
DESCRIPTION
Screen is a full-screen window manager that multiplexes a physical ter-
minal between several processes (typically interactive shells). Each
virtual terminal provides the functions of a DEC VT100 terminal and, in
addition, several control functions from the ISO 6429 (ECMA 48, ANSI
X3.64) and ISO 2022 standards (e.g. insert/delete line and support for
multiple character sets). There is a scrollback history buffer for
each virtual terminal and a copy-and-paste mechanism that allows moving
text regions between windows.
It goes on a bit more at length. » Read the full post
If you find this article useful, buy me a beer! Tags: cheatsheet, screen