I Have Snacks University life, work, food, and technology – it's all so good

25Dec/100

Almost-Free Pandora in Canada Using a CentOS-Based VPN

One of the things I miss about living in the USA was the ability to listen to music using Pandora.  So when I got back to Canada, the only way I could actually do that was by setting up an SSH tunnel to my web server in the USA and accessing the Pandora site through my browser.  It's simple enough for people that can always use SSH for situations like these, but what if you're not always at your computer when you're listening to music through Pandora, say, through your iPhone?  Well, that's where it gets a little tricky...

4Oct/100

How To Setup Asterisk@Home

About 5 or 6 years ago, a high school friend of mine, Alex Blank, approached me and asked me to help him out with an article he had been asked to write on the Asterisk@Home (now Trixbox) PBX system.  At the time, I had a pretty rough idea about what a PBX and VoIP was, and Asterisk was fairly new, so I had quite a bit of catching up to do in order to understand where we were going with this.

3Oct/100

VPS Cost & Benefits with an Example using Magento

About a year ago, I gave a presentation on the cost and benefits of using virtual (private) servers (VPSs) (the topic of my choice) to a small group of my university colleagues as a requirement for my degree.  In it, I gave a brief overview of how a VPS differs from a regular server, the different steps involved, and then I went through the cost and benefits.  Finally, I talked about a small case study (a previous co-op employer of mine). You can go through the whole presentation after the break.

In addition to talking about VPSs, my last work term report was on the load analysis of Magento on a VPS. It talks about ways of optimizing Magento to run on a limited amount of resources and gives the pros and cons of doing so. You can also go through the report after the break.

3Oct/100

Setting Up a SMTP Server with Postfix

A few months ago, my university (University of Waterloo) blocked the ability for students to send e-mail from their university-issued accounts from within Gmail.  Essentially, what they did was block Gmail from connecting to the university's SMTP servers to send e-mail through them (not to them - there's a difference).  Students could still send e-mail from within Gmail with their university-issued accounts as long as they opted to use Gmail's own SMTP servers, but this would usually append their personal Gmail addresses to all e-mails sent out and make them appear as being "On Behalf Of x@gmail.com".

For privacy and other reasons, university staff usually ignore all e-mails sent form personal e-mail accounts or those appearing "On Behalf Of" someone's personal e-mail address.  Because I use Gmail as my e-mail "hub" or client, since I can access it pretty much anywhere, I needed to find a workaround.  After some thorough research, I chose to setup my own SMTP server on a VPS I have using Postfix in combination with SASL and SSL/TLS.