All Posts By

admin

Acer Aspire One d250 Hackintosh – OSx86 Install Guide

By | Hackintosh | No Comments

Guides Used:

http://www.hackint0sh.org/f180/86588.htm

http://www.aspireoneuser.com/forum/viewtopic.php?f=14&t=16461
http://www.insanelymac.com/forum/index.php?showtopic=169115
http://www.insanelymac.com/forum/index.php?showtopic=180005
http://www.insanelymac.com/forum/lofiversion/index.php/t172593-50.html
http://www.bigplrbear.com/D250.html

USB Key/Hard Drive Prep:

1.  Launch Disk Utility

2.  Create a partition with Mac OS Extender (Journaled)

This is a compiliation of multiple guides, tutorials, and assorted forum posts that I have found to get iAtkos 1.7 up and running on an Acer D250 netbook.  At the end of this guide you will be left with a fully functional OS X installation.  Be warned however before you continue the following functionality will be missing : Webcam, Mic, and Sleep.

Before installing, do the following-
Get iAtkos v7 from the usual places and burn it (it’s a single-layer DVD)
Download the 10.5.8 Combo update from Apple – Downloads
Download the newly revised D250-rev3.zip file I’ve prepared. It comes with
-The latest Kismac
-Atheros 5007EG drivers
-System.kext, Seatbelt.kext and dsmos.kext files for use in 10.5.8
-Voodoo Kernel 1.0 (based on XNU 9.5)
-Kextloader B7
-OSx86 Tools
-New intel GMA950 drivers (to fix the -F flag bug)

1.Once you’ve done the above, insert your iAtkos v7 disc in to your USB DVD drive and boot from it. It may take a few reboots to actually boot (this seems to be a BIOS glitch, unfortunately) and wait a bit for it to load.

2.Go to Utilities -> Disk Utility and format your HDD. Mac OS X runs best when it’s the only OS on your netbook (I will not be covering dual-booting in this tutorial). Be sure to use MBR (Master Boot Record) and NOT GUID.

3.Mark the following under “Customize”-

Main System -> Bootloader -> Chameleon 2
X86 patches -> Decrypters -> dsmos (uncheck ‘AppleDecrypt’)
Kernel -> 9.5.0 voodoo
ACPI -> x86 ACPI
GFX -> Intel GMA 950
Sound-> Voodoo HDA
System -> Apple PS2 controller (voodoo PS2 w/ trackpad is optional, but has a tendency to stop working and cause kernel panics)
System -> Laptop battery (NTFS-3G and ExtFS work as well if you want them)
you may also install an alternative language to English

Also, be sure to uncheck “Disabler”.
Make sure ONLY the above is selected. NOTHING. ELSE.

4.Grab some coffee and wait for it to install (~20 minutes)

5.After it’s done installing, click ‘reboot’. When you get to the bootloader screen, press a key and use the following flags-

Code:
-f -v cpus=1

6.Go through the video, cheesy music (if the sound is cutting out, don’t worry about it), username, etc.

7.Unzip the D250-rev2.zip on to your desktop. A folder called ‘D250’ will be created. Open it.

8.Go to the Apps folder and copy all of the apps to /Applications

9.Open Kextloader B7 and drag&drop D250/kexts/Seatbelt.kext and System.kext in to it. Type in your password. Install. DO NOT REBOOT.

10.Go to D250/kernel, open the .dmg and install the Voodoo Kernel. NOW reboot.

11.You don’t have to put any flags in. Once you get back to the desktop, back everything up by opening a terminal and typing these commands-

Code:
sudo cp -rf /System/Library/Extensions /System/Library/Extensions.backup
sudo cp -rf /mach_kernel.voodoo /mach_kernel.backup
[optional]
Code:
sudo rm -rf /mach_kernel.original (deletes original kernel)

These commands back everything up, just in case your 10.5.8 install goes bad.

12.Now install the 10.5.8 COMBO update that you downloaded earlier. It’ll take a while.

13.If you got a kernel panic in the middle of the install, scroll down to “GOD DAMMIT I GOT A KERNEL PANIC WHILE I INSTALLED 10.5.8!!11”. If it’s asking you to reboot DONT DO IT YET.

14.Open kextloaderB7 and install D250/kexts/dsmos.kext. DO NOT REBOOT.

15.Open up OSx86 tool and select “Repair permissions”, “Set Extensions permissions” and “Clear Extensions Cache”. wait for it to finish

16.NOW reboot. It will reboot once or twice on it’s own- don’t fret! Once it’s done, you should be back to your desktop with an ugly 800×600 resolution or a blue screen.

17.[if you have the D250-rev2.zip file] Insert your iAtkos v7 disc again, and boot from it. Under ‘customize’ select NOTHING EXCEPT system -> drivers -> intel -> GMA950. Click install. Reboot.

[if you have the D250-rev3.zip file] go to D250/graphics and open the .pkg file. Reboot. *note- this also fixes the -F flag bug

18.You should have a nice 1024×600 resolution again. Open up D250/wifi/AR5007EG.pkg file. Reboot.

19.Open Kismac, go to preferences and add “Airport Extreme passive”. Now scan- you should see some networks.

And that’s about it. You now have a D250 with 10.5.8. STAY AWAY FROM AIRPORT UPDATES. All other updates are fine to install.

My Favorite Backup Method DD BZIP SSH Script

By | Featured, Sample Work | No Comments

Backup today can be a PITA.  It takes too long, and too much work to automate.  That’s what makes this single line backup script one of my favorites. It creates a compressed DD image a remote server in the form of a BZ2 archive. This command is run locally from the machine you want to backup.

Let’s begin:
First, create your file
[raw]nano xf[/raw]

Inside xf, paste the following:
[raw] #!/bin/bash
dd if=/dev/vda1 of=/dev/stdout bs=1M | bzip2 | ssh root@myhost.com “cat – > /home/backups/Live.img.bz2”
[/raw]

Let’s break this down, so you can create your own command!

First, start by doing a [raw]df -a[/raw] to determine the name of your disk, replacing /dev/vda1 with the disk you want to backup.

Second, change root@myhost.com to your remote server. For best practices you should exchange SSH keys so there is no password prompt. See this tutorial here to exchange keys.

Finally, change /home/backups/Live.img.bz2 to the destination directory and filename you would like on the remote server.

Run the script in a shell to test, and finally automate.

Be sure to make your script executable by running [raw]chmod +x[/raw] after creation. To run in the background, install [raw]apt-get install nohup[/raw]. This will allow you to start your backup script in the background, allowing it plenty of time to execute. [raw]nohup ./scriptname &[/raw] will run the script as a daemon.

vsftpd Ubuntu 12.04 Install and Add Secure User

By | Sample Work | No Comments

60 Second Install. 3 – 2 – 1 – GO!

[raw]sudo apt-get install vsftpd[/raw] [raw]sudo nano /etc/vsftpd.conf[/raw]

Uncomment the Following:
[raw] write_enable=YES
local_umask=022
[/raw]

Add to end of the file:

[raw]

# the list of users to give access
userlist_file=/etc/vsftpd.userlist
# this list is on
userlist_enable=YES
# It is not a list of users to deny ftp access
userlist_deny=NO[/raw]

Setup the user, replace /path/to/your/dir

[raw]useradd -d /path/to/your/dir -s /usr/sbin/nologin ftpuser
passwd ftpuser
chown -R ftpuser /path/to/your/dir
chmod 775 /path/to/your/dir
[/raw]

Add new user to vsftpd

[raw] nano /etc/vsftpd.userlist[/raw]

Add “ftpuser” to this file

[raw]nano /etc/shells[/raw]

Add “/usr/sbin/nologin” to this file

[raw]addgroup ftpusers

sudo usermod -Gftpusers ftpuser

service vsftpd restart
[/raw]

BONUS:

You can chroot users by uncommenting this section of vsftpd.conf file:

[raw] chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
[/raw]

Add “ftpuser” to this file

[raw]nano /etc/vsftpd.chroot[/raw]

Questions?  Hit up the comments.

 

Delete Specific Messages in Postfix Queue

By | Sample Work | No Comments

With this simple command you can delete specific messages that are in your Postfix queue.  In this case of a spam attack this is an invaluable command, as you can cleanup the queue of the offending messages.

Enter any text string and this command will hunt the messages and delete them.

First, check what is in the queue with:

[raw]mailq[/raw]

Then run the command, making sure to change REPLACEME to the string you search and delete messages for.

[raw]mailq | tail -n +2 | awk ‘BEGIN { RS = “” } / REPLACEME/ { print $1 }’ | tr -d ‘*!’ | postsuper -d -[/raw]

ProfitBricks VPS Review – Speed Test vs. Linode

By | Sample Work | No Comments

The new IaaS (Infastructure as a Service) provider ProfitBricks is currently running it’s operations out of Las Vegas, Nevada and Berlin, Germany. Two Datacenters with incredible performance. Below are some real world tests to show you how they stack up against the competition.
In the Left Corner we have ProfitBricks running 2 core with 8GB of Ram.
In the Right Corner we have our control, Linode. This is a 4096 Machine (4GB Ram) with a 4 Core processor config.

Read More

Install ioncube Loader Nginx php-FPM

By | Sample Work | No Comments

Install ioncube Loader Nginx php-FPM

For x64:

[raw] wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
tar xfvz ioncube_loaders_lin_x86-64.tar.gz
[/raw]

For x86:

[raw] wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
tar xfvz ioncube_loaders_lin_x86.tar.gz
[/raw]

Proceed as follows:

[raw] cp ioncube/ioncube_loader_lin_5.3.so /usr/lib/php5/20090626/ioncube.so
[/raw]

Now edit to match:
[raw] nano /etc/php5/conf.d/ioncube.ini
[/raw]

Mountain Lion + Kakewalk + GA-UD3P-EP45 + ATI Radeon HD4870x2

By | Hackintosh | 3 Comments

I am succesfully running Mountain Lion 10.8.2 on a GA-UD3p-EP45 with a Radeon HD4870x2 with full QE/CI support.  I have attempted to summarize all the information needed to make a successful install with complete graphics and driver support.  Here is my brief guide, please leave any questions in the comments:

1.  Reset BIOS to Optimized Defaults (Sorry, it has to be!)
2.  Download Kakewalk 4.5
3.  Follow these instructions to setup Kakewalk and boot Mountain Lion
4.  Download the ep45-UD3p Post Install.zip.  >> Make sure this ends up on your USB Key!

You will not have Sound, Ethernet, or PS/2 support out of the box.  Also – if the system won’t boot on the first try – restart and let it try again.  (AppleRTC patch is not yet patched).

Once you get to your desktop >>

1.  Open Kext Utility, it will Repair permission automatically at first, let it run —

2.  Open the QE_CI Exotic Patch folder.

3.  When Kext Utility is finished repairing permissions drag and drop (one at a time) ATIRadeonX2000.kext and ATI4800Controller.kext into the Kext utility.  It will repair permissions each time it processes a Kext file!

4.  Reboot

You should now have full graphics.

1.  Run MultiBeast

Check:

  • EasyBeast
  • Audio>RalktekALC8xx>WithoutDSDT>>ALC885/889a
  • Disk >> Jmicron36x and TRIM if you have SSD
  • Misc >> PS/2 to enable oldschool mouse/keyboard
  • Network >> Realtek Gigabit Ethernet 2.0.6
  • System>>AppleRTC Patch
  • Bootloader >> Chimera — if you need it
  • Boot Options >> PCI Root ID Fix

2.  Reboot!

For MobileMe access and Facetime Support

1.  Use Chameleon Wizard

2.  Click SMBios tab

3.  Click Edit

4.  Under week of Manufacture click Random and under Unique Number click Random again

5.  Hit Save

6.  Reboot

 

 

Kakewalk on UD3P Mountain Lion

By | Hackintosh | No Comments

Installation guide

Make sure to read through the guide before installation.

Here are the Kakewalk instructions, with my comments!
Prerequisites:

– USB Stick, at least 5GB
– A working Mac/Hackintosh
– Compatible hardware, like a Gigabyte GA-UD3P-EP45

Step 1 – Creating a Mac OS X USB stick

1. Download Mac OS X from the Mac App Store.

2. Start the Kakewalk application supplied with the zip archive you downloaded from here.

–Be sure that you do not have your DMG mounted!  This will block the install.

3. Next, click Install to USB

4. Select your motherboard

5. Click Browse and locate the Lion application (this can also be a DMG image file)

6. Make sure you select the correct disk for installation.

7. Click the Install button when you’re done.
This will install Lion onto your USB stick. It’s a lengthy install process and will take about 20-30 minutes.

*************************************************************************
Click here to Download the : ep45-UD3p Post Install.zip package.
Click here to goto the UD3P Guide.

*************************************************************************

Be sure to place this on your USB drive after Kakewalk finishes installing.

Step 2 – Setting up BIOS

1. Insert the USB stick in the PC you wish to install to.

2. Enter BIOS and go to Advanced Features

–You should probably reset your BIOS to Optimized Defaults.

Overlocking will not work with the installer.

3. Change the Hard Disk Boot Priority to your USB stick as primary (Number 1)

and set the harddrive you’re going to install to as secondary (Number 2)
eg. 1. USB-HDD0: SanDisk 16GB
2. SCSI-0: WD 500GB

4. Go back (ESC), go to Integrated peripherals

5. IMPORTANT: Set “SATA RAID/AHCI Mode” to “AHCI”

6. Go back (ESC), go to Power Management

7. Set the ACPI Suspend Type to S3(STR)

8. Set HPET Mode to 64-bit mode

9. Save and Exit, by pressing F10

Step 3 – Installing Mac OS X

Your system should now be booting from your thumb stick. The bootloader will greet you, and after 5 seconds it will start the Mac OS X installer.

–If your USB device isn’t booting, just hit F12 when booting to select your boot device.

1. Once the Mac OS X installer is up and running click Utilities and then Disk Utility

2. In the left hand pane select the harddrive you wish to install to

3. Click Partition then select 1 Partition then click Options and check GUID PartitionTable hit OK

4. Finally enter a name for your partition (eg. Mac) and Apply (Leave the formatdrop-down to its default value)

5. When partitioning and formatting is done, quit Disk Utility.

6. Now go on with the installation and select your partition (eg. Mac) and install.

7. When the installer has finished restart your computer.

Step 4 – Running Kakewalk

Boot from your thumb stick. Make sure to select the harddrive you just installed Mac OS X to and hit enter.

1. Once your installation is up and running open Finder.

2. Navigate to your thumb stick.

3. Start Kakewalk.

4. Select Install Kakewalk

5. Select your motherboard

6. Select the harddrive you just installed Mac OS X to.

7. When the installer has finished restart your computer.

8. Remove your USB stick and boot from your Mac OS X harddrive!

 

Perfect Server in 5 minutes – Virtualmin + Nginx + ProfitBricks

By | Featured, Sample Work | No Comments

In this quick tutorial, I will show you how to setup a perfect VPS system with infinitely expandable storage and capacity from the new hosting provider ProfitBricks.

Background: VPS speed is somewhat of a commodity these days, and is not only increasingly hard to come by – but hard to customize. I was in search of a new VPS host that would allow me to customize all three dimensions of a host – memory, cpu, and storage. Amazon has created an incredibly complex system for what should be a stupid simple task. Most providers, Linode included do not allow you to scale resources independently, but rather makes you choose – fast, good, and cheap. Luckily – ProfitBricks is here to solve the problem. I can create as many disks as I would like, as many servers and CPU’s, and choose exactly how much RAM. Now add in the fact that ProfitBricks performance is currently topping EngineYard, Amazon, and Linode — it’s time to give it a try!

Compounding the problem my cPanel license is up for renewal, and I am rather dissatisfied with the experience. The admin panel feels old and clunky with too many configuration options for very little gain. I spent multiple times recompiling Apache tinkering with php options rather than focusing on the work at hand. Control Panels should make life easier, not harder. Virtualmin was always on my short list and I have tried earlier versions – however the lack of Nginx support was the Achilles heel for me. As of today, they have solved this problem and Virtualmin natively support Nginx! Bravo.

Once Virtualmin is installed you can use the GUI to create, format, and mount additional storage drives created in the ProfitBricks data center designer interface. This makes handling all this new capacity, like multi-terabyte additional storage a breeze to handle.

To begin, create and account with ProfitBricks and use the Datacenter Designer to create an internet connection, server, and storage. The free demo brick will do just fine. Once you have logged in as root begin the routine:

1. Set your hostname
[raw]echo “jupiter” >; /etc/hostname
hostname -F /etc/hostname[/raw]

2. Update host file
[raw]127.0.0.1 localhost.localdomain localhost
12.34.56.78 jupiter.example.com jupiter[/raw]

3. Set timezone
[raw]dpkg-reconfigure tzdata[/raw]

4. (Optional) Add Additional Repo’s : DotDeb will keep you using the most up-to-date LEMP stack
[raw]echo ‘deb http://packages.dotdeb.org stable all’ >;>; /etc/apt/sources.list.d/DotDeb.list
echo ‘deb-src http://packages.dotdeb.org stable all’ >;>; /etc/apt/sources.list.d/DotDeb.list
wget http://www.dotdeb.org/dotdeb.gpg cat dotdeb.gpg | sudo apt-key add –
rm dotdeb.gpg[/raw]

5. Update and Upgrade
[raw]apt-get update
apt-get dist-upgrade[/raw]

4. Reboot
[raw]reboot[/raw]

5. Download Virtualmin
[raw]wget http://software.virtualmin.com/gpl/scripts/install.sh[/raw]

Make the script executable:
[raw]chmod u+x install.sh[/raw]

Run the install script:
[raw]/bin/sh install.sh[/raw]

When it’s finished, all you need to do is open a browser and go to port 10000 on the server:

https://yourdomain.com:10000

Walk through the install process, configuring options as required. Remember to turn off BIND in System Settings – >; Features and Plugins

Time to install NGINX:

Shutdown and disable Apache
[raw]/etc/init.d/apache2 stop ; update-rc.d apache2 remove[/raw] Install Nginx:
[raw]apt-get install nginx[/raw] Start Nginx:
[raw]/etc/init.d/nginx start[/raw] Install Virtualmin Nginx Plugin:
[raw]apt-get install webmin-virtualmin-nginx webmin-virtualmin-nginx-ssl[/raw]

Before you continue, fix the broken SSL implementation:

Fix Broken SSL Argument:

[raw]nano /usr/share/webmin/virtualmin-nginx-ssl/virtual_feature.pl[/raw]

Change line 152 to >> [raw]&virtual_server::find_matching_certificate($d);[/raw]

Now-

Login to virtualmin as root (https://ipaddress:10000)

1.  Go to System Settings ->; Features and Plugins
2.  Un-check the “Apache website” , “SSL website” and “DAV Login”, “Mailman”, “Protected web directories”, “AWstats reporting” and “Subversion repositories” features.
Check the “Nginx website”, then click “Save”.

Due to a small bug you cannot select “Nginx Website” and “Nginx SSL Website” at the same time. So go back and select “Nginx SSL Website” after enabling “Nginx Website”.

Go to the System Information page and click Refresh system information in the top right.

Verify that running appears next to Nginx in the Status section.

It’s also a good idea to click on System Settings ->; Re-Check Configuration after everything is done to ensure it’s work properly

Now you can add Nginx sites using the Create Virtual Server link as you would with Apache. The only thing different is “Enable Nginx” needs to be checked in the features section.

BONUS FEATURE:

Here are some of the best utilities for your server!

Don’t forget to install these great addons!

[raw]apt-get install bmon htop aria2[/raw]

bmon – monitor your bandwidth on each adapter

htop – enhanced Top

aria2c – download magnet files or multi-threaded gets

Only in France – 200Mb/s Internet

By | Asides | No Comments

France has recently brought the EuroDOCSIS 3.0 standard to a new level. Squeezing just over 200mb out of a standard coaxial cable line is quite a feat. Although currently available in the Capital city, this ridiculous speed is slowly being rolled out to the rest of the country. Created to compete directly with Fiber and the offerings from France Telecom. The operator Numericable makes it easy to upgrade and for 39€ a month, you too can be downloading files at 25mb per second. I am still in shock and awe of this speed and price. While those in San Francisco wait and wonder why we are neglected by a bandwidth shortage, those here in Paris are living the good life on a serious speed kick.

Read More

Review of La Box by Numericable

By | Flash Review | No Comments

Flash Review!  (30 second reviews of your favorite products).

Today I present the all new La Box by Numericable:

–The activation server was broken (Scripting errors at activation.numericable.fr – so I had to call, after demanding a remote activation she flashed the box remotely and we were off and running)

–Configuration interface is at 192.168.0.1 – default username : admin default password : password.

–Gigabit Ethernet!  Finally ready for prime time.

–The remote is clunky and uncomfortable – clicking the center button to confirm anything is hard, and makes me overreach.  I don’t have small hands either, but maybe the French have freakishly large paws.

–No alternative languages – French is the only language you can use the TV Guide in.  Rather disappointing and isolationist if you ask me…

–I was told to use my old decoder card, but I am not seeing all the channels.  TF1 is now freezing. (Will have to call and fix later).

–Installing a 160gb hard drive has never been easier, unpack and stuff it in the back of the box.

–Speed on Usenet is maxing out at 25mb/s.  I cannot be more thrilled, TV or not.

VyprVPN by Giganews Server Locations

By | Asides, Interest | No Comments

These are the most up-to-date server locations for connecting to the VyprVPN by Giganews.

Don’t have an account yet? Learn more here

[tabs slidertype=”left tabs”] [tabcontainer] [tabtext]Los Angeles, CA[/tabtext] [tabtext]Washington, DC[/tabtext] [tabtext]Amsterdam[/tabtext] [tabtext]Hong Kong[/tabtext] [tabtext]London[/tabtext] [tabtext]Paris[/tabtext] [tabtext]Frankfurt[/tabtext][/tabcontainer] [tabcontent] [/tabcontent] [/tabs]

88plug re-launches the Antiques Diva

By | Featured, Sample Work | No Comments

88plug is proud to announce the release of the Antiques Diva.

“The Antiques Diva® is the nom de plume for Toma Clark Haines, an American expat living in Europe whose life story has been liberally sprinkled with Cinderella dust. As a child growing up in Oklahoma, Toma dreamed of global adventures. While other kids drew houses with picket fences, Toma drew gondolas with men in striped shirts. After studying abroad in London in university, Toma returned home on the range to marry her college sweetheart. After saying “I do,” she immediately began whispering in his ear words of far-away places and before long her dream became his. When a serendipitous opportunity arose, offering them a chance to live and work in Europe, they moved to Paris for 5 years and then Amsterdam for 4. Along with her husband and well-traveled pet Catpuccino, Toma currently resides in Berlin nearby Brandenberg Gate and the Reichstag. ”

See the combined Store and Blog here:

www.antiquesdiva.com

 

 

HTML 5 Video Converter

By | Sample Work | No Comments

The best free and open source available for all you HTML 5 video needs(which include multiple format conversions) can easily be done with Miro Video Converter. There is little additional information available from the site, but this tool does exactly what the box says:

Convert to:
Theora
WebM
MP4 Video
MP3 (Audio Only)

Get it Here

Although the application is 32 bit, you can run multiple instances to max out your CPU. Also included are profiles for Android and Apple devices as well.

ThinkPad x201 Ubuntu 10.04 Lucid Lynx Wireless

By | Linux | No Comments

The ThinkPad x201 is a great platform for Ubuntu 10.04.  The default installation contains an outdated version of the Thinkpad BGN wireless drivers.  After first boot you can see networks(not all available), and connect to some – but in general this will give you difficulties.  The recommendation is to first update your installation via-Ethernet to automatically download the patch.  Upon restart, you will have a fully functional Ubuntu installation.

This is where and how it was solved:
https://bugs.launchpad.net/ubuntu/lucid/+source/linux/+bug/567016

MySQL error /usr/libexec/mysqld: unknown option ‘–skip-bdb’

By | Sample Work | One Comment

MySQL version 5.1.47 failing to start after upgrade?  Here is the brief:

Problem: tail -f /var/log/mysqld.log

[raw]/usr/libexec/mysqld: unknown option ‘–skip-bdb'[/raw]

After poking around for a quick solution, nobody seemed to release that the bdb dependncy is no longer used in /etc/my.cnf configuration file.

Old my.cnf:

[raw] [mysqld] set-variable=local-infile=0
query-cache-type = 1
query-cache-size = 6M

datadir=/var/lib/mysql
#socket=/usr/libexec/mysqld
socket=/var/lib/mysql/mysql.sock
user=mysql
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1

skip-bdb

set-variable = innodb_buffer_pool_size=2M
set-variable = innodb_additional_mem_pool_size=500K
set-variable = innodb_log_buffer_size=500K
set-variable = innodb_thread_concurrency=2
[mysqld_safe] log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
skip-bdb

set-variable = innodb_buffer_pool_size=2M
set-variable = innodb_additional_mem_pool_size=500K
set-variable = innodb_log_buffer_size=500K
set-variable = innodb_thread_concurrency=2

[/raw]

New:

[raw][mysqld] set-variable=local-infile=0
query-cache-type = 1
query-cache-size = 6M

datadir=/var/lib/mysql
#socket=/usr/libexec/mysqld
socket=/var/lib/mysql/mysql.sock
user=mysql
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1

#skip-bdb

set-variable = innodb_buffer_pool_size=2M
set-variable = innodb_additional_mem_pool_size=500K
set-variable = innodb_log_buffer_size=500K
set-variable = innodb_thread_concurrency=2
[mysqld_safe] log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
#skip-bdb

set-variable = innodb_buffer_pool_size=2M
set-variable = innodb_additional_mem_pool_size=500K
set-variable = innodb_log_buffer_size=500K
set-variable = innodb_thread_concurrency=2

[/raw]