Posts Tagged ‘ubuntu’

Install MySQL on Ubuntu Without Being Prompted for a Password

Sunday, January 8th, 2012

I’ve been doing quite a lot of development lately, on various projects, and have been making great use of Vagrant for isolated development. As such, I need to write provisioning scripts so that each machine can be built exactly as the production machine will be. I’ve tried Puppet once but it was far more than what I needed, so I just settled with using a shell script provisioner. Just a basic bash file with a bunch of apt-gets, pips and what not. Most of my projects require a database so MySQL it is. The issue I had was automatically installing MySQL without being asked for a password (as the provisioner is non-interactive). One amazing way I’ve found is issuing these commands before the apt-get (or tasksel) commands to install MySQL

echo "mysql-server mysql-server/root_password select (YOUR PASSWORD)" | sudo debconf-set-selections
echo "mysql-server mysql-server/root_password_again select (YOUR PASSWORD)" | sudo debconf-set-selections

Setting Up Local Mail Delivery on Ubuntu with Postfix and Mutt

Sunday, October 30th, 2011

I am getting pretty close to deploying m webap and am currently looking into ways to monitor exceptions once deployed. Django has the ability to email whenever it encounters a 500 error. I don’t really want any emails being sent out (yet) so I decided that I should probably just stick with local mail delivery until such time that I want to be notified right away of a problem.
(more…)

OS X Failure: Mounting Via Shell (Updated)

Tuesday, June 30th, 2009

No I am not dead and I am back with a Mac. So how about that? I definitely (probably said this before) want to get back into blogging but I ran into something tonight that is pretty irritating. So much so that I had to fire up the ol’ blog account and get to writing.
Now, I’m pretty sure I’m doing something wrong here but none the less I want to post this up and (hopefully) get some input on the situation. Here’s the deal. I want to mount (via Samba on an Ubuntu box named ubuntu1) a shared directory that is named test. I want to mount it in a directory inside my home in a directory named “test” on OS X. Why is it such a problem? Is it even possible to mount a Samba share this way? Note that /Users/mike/test exists but /Users/mike/test1/ doesn’t.
(more…)

Enabling Internet Access on Ubuntu with an Active VPN, and Slow Internet Problems

Thursday, December 18th, 2008

This is just a quick follow up to my previous post about connecting to a Windows VPN (pptp) from Ubuntu 8.10 (Intrepid Ibex). Using the tip from lloles that was left in the comments, I managed to go to this post on the Ubuntu forums dealing with configuring routing for the VPN. Thankfully, it has worked. However by doing this, I’ve run into another problem. Insteading of pasting my entire problem here, I will link to the post dealing with my Internet being very slow after I connect to a windows VPN server. It’s such a weird problem. I haven’t looked much into it, but I’m just so confused. Hopefully I will have some sort of good news to report once I figure things out.

Connect to a Windows VPN (pptp) from Ubuntu 8.10 (Intrepid Ibex)

Sunday, November 16th, 2008

Back in April, I wrote a post about how to connecct your Ubuntu box to a Windows VPN server linking back to another person’s blog explaining the setup. The install itself was pretty bumpy, but ultimately worked. If I recall correctly, the information in that post was mainly for Gutsy Gibbon. After upgrading to Hardy Haron, I was never able to get the VPN working again. I kind of left it like that. Now that I’ve installed Intrepid Ibex, I started working on trying to get VPN to work again. And thankfully after a few hours of work, I got it working in Gnome. I make no assurances that this will work with KDE or any other enviornment. Here is the process.

(more…)

This is not an Upgrade… GOOD NIGHT

Friday, September 5th, 2008

I’ve been looking into picking up a new Dell Latitude Mini 9 now that it is released (Dell if you’re reading this and want to send me a FREE, fully upgraded Ubuntu model, I’ll happily review it for you!) and came across this image from Dell’s website (click for the full size version):

Really?

“Upgrading” from Ubuntu to Windows XP? That is not what I’d call an upgrade. This puts Ubuntu in a really bad light if read by people who don’t know better. This sort of false advertising and misleading the public with opinion rather than fact is pretty bad in this case. I’ll meet you half way on this and won’t say that Ubuntu is an upgrade from Windows (since my personal opinion doesn’t matter here). It’d be more honest if you suggested that Windows is an alternative to Ubuntu, rather than an upgrade.

Moving a Family to Ubuntu – Part 2

Monday, May 5th, 2008

This is part 2 of my quest to convert my family’s PC from Windows to Ubuntu. If you missed the first part, please read it here. I thought that converting my family to an Ubuntu-based PC would be pretty painful, and to be honest, I thought I was going to have to reformat and install Windows. Luckily, so far it has not been the case.

(more…)

Happy Ubuntu 8.04 Hardy Heron Day

Thursday, April 24th, 2008

Finally the day I’ve been waiting for, Ubuntu 8.04 LTS has been released and ready for public consumption! 3 years of updates for desktops and 5 years of updates for servers! Please be sure to download the latest version or upgrade from whatever version you currently have.

Moving a Family to Ubuntu – Part 1

Wednesday, April 23rd, 2008
The Back Story

Since I am the token computer scientist of my family, of course everyone comes to me for all their computer problems, which most of the time is due to spyware/malware. It happens. I get it, despite my best efforts it happens. I tell them to use Firefox, someone slips up and uses Internet Explorer the one day they go to a bad site. Even if they use Firefox, someone downloads something and runs it there-by borking (technical term) their system. Files get deleted, changed, what have you. Things just go wrong. Yes it is ultimately the user’s fault, however I do believe the operating system takes some of the blame for allowing things like this to be done in the first place. Well it has come to that time again for format another laptop and reinstall everything. Fine. I don’t mind it at all. They are family. However I am not going to just reinstall Windows again. It is time for an experiment. This time I am going to install Ubuntu 8.04.

(more…)

Connect Ubuntu to a Windows-based VPN

Monday, April 7th, 2008

Now one of my biggest problems with having any GNU/Linux-based operating system is that, for work purposes, I need to connect to a Windows-based VPN (Windows Server 2003). About a year and a half of on again and off again searching lead me to many dead ends. That is until I found Happy Linux Thoughts and the post about using network-manager-pptp called connecting to a Windows VPN server with Debian-based distros a few weeks ago. I was going to reiterate the steps, but I doubt I’d do a good of job as the author.

(more…)