Fenxi - Performance analysis made easy
Changing libgnomecups For Multiple Evolution Users
Happy National Sys Admin Appreciation Day!
ESX iSCSI Basic Configuration from the CLI
Tape Rants and Raves: LTO4 Rules
apparently you aren't dead until you start to stink
Charlie Goes to Candy Mountain
Seattle Scalability Conference, Pt II
Overclocking tool for the Mac Pro
ADO.NET Entity Framework (Microsoft's new ORM) given a non-confidence vote by beta testers
Ruby interpreter flaws make the case for JRuby
AdvFS - Tru64 filesystem ported to Linux
OpenSolaris 2005.05 repository update to b91 - follow these instructions carefully
SXCE can ZFS install as of b90
Vertebra: EngineYard's Next Generation Cloud Computing Platform
Skype 4.0 beta overhauls video chat
Mozilla org receives traditional IE cake
Toyota Prius to go entirely Electric
Bill Gates steps down permanently for philanthropic activities
Men write code from Mars, Women write more helpful code from Venus
DRBD LVM Xen = Bug. A rather nasty one at that.
Intel unveils Ct as an extension for C/C to encourage threaded programming for multiple cores
VMWare ThinApp - Run any Windows app on any version of Windows
JRuby-Rack <-- a JRuby port of Rack
Rack <-- a lighter cousin to Merb, fully threaded and no Mutex.
Solaris Cluster Express (SCX) 6/08 released.
Changing solaris' default password hashing
Texas based service provider explosion affects 9,000 servers and 7,500 customers.
Jruby on Rails on Tomcat deployed as as WAR file
42 more of the best Linux games
Use Google's cached ajax libraries
Arduino microcontroller with OS/X
The metasploit page describing the full impact of the poor RNG.
Holger Bert's blog post on the openssl RNG fiasco
Cayac - Cherokee MySQL PHP5 phpMyAdmin
ZFS very slow under an xVM kernel
Dynamically editing libvirt xml configs while a VM is running to redefine reboot flags.
Chronoton - the time travelling robot who's best friend is a talking pie game
Rietveld - Google's code review tool
Opensource multitouch displays
Ono - an efficient way to locate nearby peers
Solaris CIFS integrated AD with ZFS acls
Samba Winbind and ZFS acl working together
Why's unholy Ruby to Python .pyc compiler
OpenSolaris 2008.05 final ISO image
Twitter abandoning Ruby on Rails
HP makes memory from a once-theoretical circuit
Setting Up an OpenSolaris NAS Box: Father-Son Bonding - The Video
Linux kernel Xen self-ballooning patch
Coolstack - Yet another group of solaris packages
SFE - Spec Files Extra - or, solaris's ports system
ksplice - live linux kernel patching
ZFS-102-A.pkg - binary package build of newer ZFS for Mac
Changing boot flags for a solaris domU guest
callflow - SIP callflow diagram generator
sdedit - quick sequence diagram editor
Milax - The OpenSolaris Small Live CD
Big Nerd Ranch on Windows/Linux/Leopard single signon
Sun touts big plans for OpenSolars as first release nears
Heroku - EC2 based Rails hosting.
Meadowcourt's compiled WindowsXenPV driver, v0.8.8, as built from win-pvdrivers.hg repo
Network Solutions hijacks all customer's unused subdomains
ZFS speed bump: set zfs_nocacheflush = 1
We Don't Use Software That Costs Money Here
Hubble - a PlanetLab realtime Internet "blackhole" monitor
Citrix price jumps on rumors of potential IBM/Cisco bidding ware
TechCrunch labs on their AppEngine deployment
pash - because powershell was too cool to let microsoft keep to itself
Brazil migrates 430 thousand boting machines to Linux
The Machine Emulator - TME can emulate a sparc4 with OBP
Google releases new GCC linker
Automatic generation of peephole superoptimizers
Xen.org Trademark Policy for Review
SXCE b85 has problems booting under Xen 3.2
VNRP == opensolaris quagga rbridges crossbow xVM
problems reprobing iscsi devices with solaris 10
LSI MegaRAID SAS/Dell PERC5 driver for Solaris
dm-band block IO bandwidth controller
Dojo.storage - Google Gears workalike?
ooma.com - free phone service after you buy their device
Hacking defibrilators shockingly easy
Microsoft working with Eclipse.
Pentagon attack last June stole an "amazing amount" of data
Solaris and Solaris Cluster on HP ProLiant Servers
Apple Introduces new MacBook and MacBook Pro models
Sun leaks 6-core Xeon, Nehalem details
Xen and Solaris - a journal of sorts
How to save the world with ZFS and 12 USB sticks
Xvm: a summary of creation of various Xen domU
OpenSolaris b82 comes with CoolStack
Dilber PHB on Virtualization Consultants
Sun xVM Ops Center GA v1.0 tomorrow
KernelTrap on the 2.6.23 Xen merge
IETF XMPP/SIMPLE Interworking Draft
PSYCed - IRC/XMPP server that gateways transparently between both
OTR - Off The Record, Homepage. IM Encryption.
SIPE - Pidgin plugin for SIP/SIMPLE with Microsoft LCS compatibility hacks
Price Waterhouse Cooper's Global Cable Map
Solaris Windows iSCSI speedup disabling NAGLE
OpenSolaris Storage Developer Wish List
Nexenta Builder - build your own Nexenta based distribution
Microsoft to acquire SideKick maker Danger
Linux Kernel 2.6.23-2.6.24 vmsplice local root exploit
The evolution of Tech Company logos
Mindstorms NXT Rubiks Cube Solver
Cut four undersea cables, shame on you, cut a fifth, also shame on you
Koha - OpenSource Integrated Library System
SIPE - SIP Exchange protocol - or, how to get Pidgin to talk to Microsoft Live Communication Server
Amazon SimpleDB written in Erlang
Xen DR7 and CR4 Registers Multiple Local DoS vulnerabilities
XMLPulse - parse xen dom0/domu stats
The rist of the FOSS spinmeister
Smartphones patented - lawsuits immediately filed
H-Sphere cross-platform hosting control-panel
Mystery infestation strikes Linux/Apache web sites
GNU/Solaris - When the fun begins
KDE goes cross platform with Windows and Mac/OSX support.
Microsoft prints get-out-of-jail card for Vista Home
Tsung - an erlang based multi-protocol distributed load testing tool
Microsoft relents, ban on vista virtualization is lifted
Hyperic podcast talking smack with Luke KAnies of Puppet
The Mysql storage engines, and when they are appropriate.
MADOCA - Message And Database Oriented Control Architecture
SMP Xen HVM Windows guests need timer_mode=1
James Randi is coming to Tampa
Information Of Those Who Appealed Watch List Compromised
Tata Nano - $2500 world's cheapest car
Air Travel with Spare Batteries? Check the changes to what is permitted starting tomorrow.
Open Configuration and Management Layer
FiveRuns RM-Manage - rails project monitoring
VLDB - Very Large Data Base Endowment Inc - nonprofit
Elastix - a more friendly Trixbox fork
A Glimpse and a Hook - a take on resumes
Xirrus - LISA used 7 arrays to provide WiFi
dopd - an easier way to keep drbd primary/secondaries in sync
OpenSIM - run your own SecondLife grid.
$4million in hardware lost in London data center heist
iscsi block device script for /etc/xen/scripts
Quaqua - Aqua look and feel widgets for jvm
Chimps beat humans in memory tests.
Level 3 needs technicians with FIREBALLS
10 steps to close down an open society
Longer flights to avoid air traffic control charges
News release from Six Apart about LJ sale to SUP
Optimus keyboard is finally available
pkgGen and logGen and Packagemaker - repackage os/x packages to deploy
Jumpbox.com - virtual appliances
TelegraphCQ - barkeley database research - adaptive dataflow capture, combine, analyze
UK loses CD of private info on 25million citizens
Solaris Automatic Migration opensourced
AVS ZFS Demo <-- replicated ZFS pool
Xen Virtualization book not yet published for sell on Amazon
Phoenix BIOS releasing its own hypervisor
Andrew Warfield's other publications
Parallax - managing storage for a million virtual machines, from the Xen guys at Cambridge
Kepler project - GRID scientific workflow engine
Google Code Map/Reduce mini lectures
What 24 would have been like in 1994.
WaterRoof - Mac OS/X Firewall Manager
10 reasons why Oracle databases run best on VMWare
Google Caja - allow scripts in a 3rd party context
Xen Windows PV drivers - opensource mercurial repository
QuickSilver - opensourced 11/06/07
vmcasting.org - someone else "gets it"
ASUS EEEPC701 starts to appear
Perian - Opensource quicktime codecs
RSnapshot - an rsync based dirvish like tool
Flyback - a google code project equivalent to Apple's Time Machine, for Linux
Apple tablet PC is real, says Asus.
producten.hema.nl - wait for this one to load
Google rolls out the Open Handset Alliance
Cost analysis of Windows Vista Content Protection
Git - a Google Talk by Randal Schwartz
indeed.com - MIT search engine for jobs crawled from monster, dice, etc.
Tomshardware's RAID Migration Adventure
Theo de Raadt on Virtualization, and the sate of OpenBSD Xen
Bitlbee - IRC gateway all of your other IM traffic
Off The Record - encrypted IM overlay
SATA drive -> NES cartridge style
Amazon's one-click patents struck down
Morgan Stanley sells entire New York Times stake
Massive installation management tools
GULP: a unified logging architecture for authentication data
EC2 outage loses customer data
FutureOfWebApps conference underway
Microsoft releasing the Source Code for the .NET libraries
Windows 2003 Server Emergency Management Services (EMS) - Special Administration Console (SAC)
Catalyst - the Perl web framework analog to Rails
Fusion io - the power of 1000 harddrives in the palm of your hand
Proggyfonts.com - fixed width font downloads
BarCamp Orlando is this weekend
How to us CHDK to give your Canon digial camera RAW support
Cygnal - When Red5 just won't cut it for an RTMP server
IBM's CoScripter - automating web-based processes
AjaxWindows.com - Another Michael Robertson company
p0f passive fingerprinting IDS
Talking storage systems with Sun's ZFS team
SproutCore - a MVC scaffolding for actual Application development
Skype protocol obfuscation layer
Microsoft Silverlight and the Mono team at Novell join up to create the Moonlight project
Bitlbee - bridge IM client networks to an IRC channel.
EJBCA - The J2EE Certificate Authority
Mcell 3.5" drive has 1GB of DDR RAM 2.5" drive == 110MB/s transfer rates
OpenSolaris Xen domU with a linux dom0
Tentakel: distributd command execution
Ganeti: Opensource virtual server management software for Xen
Seemless dynamic image resizing
Mono and XPCOM scripting VirtualBox
podbrix young woz and jobs playset
Woz gets a speeding ticket for 104mph in a Prius
Google Starts Shared Storage Service
Storm Worm DDoSes scanning machines
Defendant wins access to the Intoxilyzer 5000EN Breathalyzer source code
How to replace graffiti 2 with the original graffiti on a Palm
customizegoogle.com - a firefox plugin for customizing google
I've been working on "Rage", a Rails replacement for my blog. The function is identical from a URL perspective thanks to some creative Rails routes.
Rails likes to have URLs consisting of a /:controller/:action/:id style scheme by default. Thankfully, this is configurable using "routes".
Bloxsom uses a file path with a "flavor" extension that tells how to render a given node.
Rather than keep with a "path", Rage converts the path into a set of tags, and keeps a record of the "file" component (think of it as a node name), while processing requests to handle the flavor extension as a case statement for alternative renderings of the same article.
By doing this, my new blog will appear initially to be identical to the previous blogging engine. All indexed pages and bookmarks people may have to my blog will continue to function.
As a side-effect, tag searches of articles are as simple as stacking them into the URL path (think "TagFS" as I blogged about earlier, and you'll get what I'm talking about).
http://ian.blenke.com/software/linux/
Will return a list of articles containing the tags "software" and "linux". Order does not matter.
Additionally, I've added routes to handle the /YYYY/MM/DD/ style archives, as well as the taged paths. For example, to find all "software" and "linux" tagged articles I posted in 2004, you could use:
http://ian.blenke.com/2004/software/linux/
Neat stuff.
There will be a search function to do tag/title/body searches as well (though it is a bit slower as it is a de-dup'ed result set of a few SQL queries). The search function is currently AJAXed to have auto-text-field completion based on the tags of all articles (it updates the list of tags as you type). Rather than throw away the above tagfs goodness, the plan is to work it in:
http://ian.blenke.com/search/tagfs/goodness/
would search for the exact string "tagfs goodness" just as this would:
http://ian.blenke.com/search/tagfs%20goodness/
I've added a few new flavors to handle RSS 0.91, RSS 1.0, RSS 2.0, and ATOM 1.0 feeds:
http://ian.blenke.com/index.rss
http://ian.blenke.com/index.rss1
http://ian.blenke.com/index.rss2
http://ian.blenke.com/index.atom
These flavors can be used with the above paths as well:
http://ian.blenke.com/linux/software/index.atom
If you only want to read articles from my blog about linux software, that would generate a feed just for you.
There are also 4 new paths for the same that use a more Rails-ish schema:
http://ian.blenke.com/blog/rss/0.91
http://ian.blenke.com/blog/rss/1.0
http://ian.blenke.com/blog/rss/2.0
http://ian.blenke.com/blog/atom/1.0
You can add tags after those paths to limit the feeds:
http://ian.blenke.com/blog/atom/1.0/linux/software/
which is functionally equivalent to:
http://ian.blenke.com/linux/software/index.atom
The big problem with overloading the paths this way is that you get potentially unwanted behaviors for tag searches if you happen upon the exact sequence of tags that happen to trigger the rails action to handle one of the above requests.
The /blog/ path is a leftover side-effect of running bloxsom dynamically for a while using that URL, and using pre-generated static content for the root (/) content. That experiment caused more headaches than it solved (static content loaded quickly, but there are real issues with a number of the bloxsom plugins I was using when generating the static content). Rather than toss it out entirely, I've added rails routing to handle /blog/ prefixed requests in parallel to the root requests.
The moral of the story: Rails routes can do just about any URL schema you can think of with some clever planning.
Current status of Rage:
The best part of this entire endeavor: I now have complete understanding, control, and responsibility for my blog. If it doesn't work, my code is at fault. If something new comes out, I learn by implementing it. Like google's sitemap, which I threw together a solution to in 5 minutes:
http://www.google.com/webmasters/sitemaps
Rails is simply incredible. I hope to have the new site up shortly. You probably won't notice the switch. Stay tuned.
Kevin Stock has written an OS/X applescript for googlevpn as well as bit of basic information on Google Secure Access:
Which suggest a couple of things to be aware of:
With the schema_generator, you can generate the MySQL/Postgresql/Sqlite schema files from your rails project migrations:
$ gem install schema_generator
then, in your rails project:
$ script/generate schema
Found 14 migration classes
Starting migration for AddTableUsers
Starting migration for AddTableItems
Starting migration for AddTableFeeds
Starting migration for AddTableTags
Starting migration for AddTableCategories
Starting migration for AddTableRoles
Starting migration for AddTablePermissions
Starting migration for AddTableCollections
Starting migration for AddTableCollectionsFeeds
Starting migration for AddTableFeedsTags
Starting migration for AddTablePermissionsRoles
Starting migration for AddTableRolesUsers
Starting migration for AddTablePosts
Starting migration for AddTableComments
Migrations complete.
Tables found: 14
Indexes found: 0
Records found: 0
exists db
create db/schema.postgresql.sql
create db/schema.mysql.sql
create db/schema.sqlite.sql
That is from my current "Rage" project migrations.
Thanks Scott! I'd use Typo myself, but I'm using this opportunity to learn rails from the ground up.
Instead of building your own SQL schemas, you can use ActiveRecord::Migration to handle this in a database agnostic way:
script/generate migration add_table_users
This generates a new db/migrate/1addtable_users.rb script with a basic structure:
class AddTableUsers < ActiveRecord::Migration
def self.up
end
def self.down
end
end
The "up" method gets called as the schema is updated forward, and the "down" method gets called as the schema is rolled back. Migrations can be used both to create/modify schemas, and to do bulk database updates based on a schema (or other) change.
I'm attempting to use GUIDs rather than auto_incrementing IDs, so here is an example of a structure I'm using:
class AddTableUsers < ActiveRecord::Migration
def self.up
create_table :users, :id => false do |table|
table.column :guid, :string, :limit => 36
table.column :login, :string
# This column will contain an MD5 hash.
table.column :password, :string, :limit => 32
table.column :email, :string
table.column :fullname, :string
table.column :created_at, :datetime
table.column :modified_at, :datetime
end
end
def self.down
drop_table :users
end
end
Now you will still need to edit your config/database.yml to point to the appropriate data sources, and the databases themselves will need to be created (this only creates the database schema, not the database itself):
mysql -e "create database rails_development"
mysql -e "create database rails_test"
mysql -e "create database rails_production"
Once that is out of the way, you can apply the migration to the default environment as defined on your config/environment.rb:
rake migrate
to apply to another environment like production, you can implictly migrate using:
rake environment RAILS_ENV=production migrate
it is also possible to roll back to previuos revisions using VERSION:
rake migrate VERSION=0
Note: an additional table schema_info is created in your database that holds the current migration version applied to that database.
No more fiddling with database schemas directly, use any SQL backend, and keep your test and production databases in sync during each stage. Wonderful!
There are a few others out there talking about a tagging filesystem of sorts, but I haven't seen anyone jump into creating an actual filesystem to this end.
With FiST, it is possible to build a cross-platform stackable filesystem for Linux, Solaris, and BSD.
Rather than wedge this into cornfs, I'm thinking about writing a FiST implementation that can overlay any filesystem.
The goal of TagFS is to build a filesystem that treats files the same, but allows you to "drill down" into a file structure to narrow down the search for any given file. Instead of a heirarchical filesystem with subdirectories of files, the path components become a "tag search".
For example, to find a "blog.rb" source file tagged as "ruby rails blog project", you might use the path:
/myfs/ruby/rails/blog/project/blog.rb
or /myfs/ruby/blog/rails/project/blog.rb
If you were to list the files in /, you would see a list of the tags:
$ ls /myfs/
ruby rails blog project
As you change directory into each sucessive path, the tags listed would narrow down to the remaining tags available for files to be recalled:
$ ls /myfs/ruby/rails
blog project
Any files with the path component tags will also appear in this directory listing. This means that all files appear in the / directory.
There are a few side effects to this idea.
The underlying storage for this filesystem would rely on a single-instance store of every unique file. To do this, we would want to use a hashed store:
$ echo ruby.rb > /myfs/ruby/blog/rails/project/blog.rb
would end up being stored by blog.rb's MD5 sum 3ffc2093a970589830618707f35e41d3, with a anti-hash collision measure of using the SHA1 sum for the actual backend filename 02aad48cd7889d2bccc4c4b3c773c09a95af8986:
/data/tagfs/myfs/store/3ffc/2093/a970/5898/3061/8707/f35e/41d3/02aad48cd7889d2bccc4c4b3c773c09a95af8986
The reason to break the MD5 sum into words is to limit the directory size to 65k for each subdirectory component. Unix filesystems fall apart with large numbers of entries in directory structures. If it weren't for b-tree structured filesystems like XFS and ReiserFS, I'd want to break them up by octet to limit the entries to 256 per subdirectory.
The tags would be created for each path element, both by tag:
/data/tagfs/myfs/bytag/ruby/3ffc/2093/a970/5898/3061/8707/f35e/41d3/02aad48cd7889d2bccc4c4b3c773c09a95af8986
/data/tagfs/myfs/bytag/blog/3ffc/2093/a970/5898/3061/8707/f35e/41d3/02aad48cd7889d2bccc4c4b3c773c09a95af8986
/data/tagfs/myfs/bytag/rails/3ffc/2093/a970/5898/3061/8707/f35e/41d3/02aad48cd7889d2bccc4c4b3c773c09a95af8986
/data/tagfs/myfs/bytag/project/3ffc/2093/a970/5898/3061/8707/f35e/41d3/02aad48cd7889d2bccc4c4b3c773c09a95af8986
/data/tagfs/myfs/bytag/ruby.rb/3ffc/2093/a970/5898/3061/8707/f35e/41d3/02aad48cd7889d2bccc4c4b3c773c09a95af8986
and the reverse, by file:
/data/tagfs/myfs/byfile/3ffc/2093/a970/5898/3061/8707/f35e/41d3/02aad48cd7889d2bccc4c4b3c773c09a95af8986/ruby
/data/tagfs/myfs/byfile/3ffc/2093/a970/5898/3061/8707/f35e/41d3/02aad48cd7889d2bccc4c4b3c773c09a95af8986/blog
/data/tagfs/myfs/byfile/3ffc/2093/a970/5898/3061/8707/f35e/41d3/02aad48cd7889d2bccc4c4b3c773c09a95af8986/rails
/data/tagfs/myfs/byfile/3ffc/2093/a970/5898/3061/8707/f35e/41d3/02aad48cd7889d2bccc4c4b3c773c09a95af8986/rails
/data/tagfs/myfs/byfile/3ffc/2093/a970/5898/3061/8707/f35e/41d3/02aad48cd7889d2bccc4c4b3c773c09a95af8986/ruby.rb
This is an incredible waste of inodes to be sure. Each file ends up having 1 inode for the actual store, and 18 inodes for each tag!!
When looking for a specific path, TagFS will need to do the following:
For each element of the path given to a file,
then, narrow down the list using one of two methods:
or
When building a list of files in a path, do the above same stemps, but additionally:
Moving/renaming a file will change the tags for a file. Well, create new ones anyway.. should you ever remove tags based on a rename? I don't think so.
Deleting a file will remove the single-instance store for a file, as well as the tags for that file.
Modifying a file will changes its hashes. In this case, we would work out of cache until the file is closed, then do the following:
Permissions are a toughie. I don't see how to accomplish this with the above scheme.
Last but not least: hardlinked single instance stores behave differently than users are accustomed. When you modify a file so that it "becomes" another file (a hash collision of sorts), that file suddenly inherits the tags of the previous file. More importantly, both files "become" the same file - users may unwittingly modify another file accidentlly, just because both files have exactly the same contents. In a heirarchical filesystem, those files would be protected from one another. It is possible to "de-dup" a heirarchical filesystem using hardlinks to tie identical files together in different trees (this is a wonderful thing for backups, for example - dirvish uses rsync's --link-dest to this end) - however there are real concerns with backups being corrupted if a user were to modify one of the hardlinked files (all other backup trees would then have the modified file).
This is just an initial brainstorm, but I think this has some real uses as a cornfs overlay.
More to come...
The acts_as_taggable mixin makes tagging a trivial addon to any Rails project.
Virtuozzo has gone opensource:
That's about the only way you're going to compete with Xen, UML, or the many others.
Redhanded has whipped out a RailsFS in a couple of minutes while beginning to play with FUSE... beat me to it, damn ;)
This is what we're looking to do with an internal project (of sorts).. migrating from a directory config structure to a relational object model for future Rails development.
The question is wether to:
The former seems better for a number of reasons.
Glad I'm not the only one looking for this. There is some debate about replacing the autoincrementing primary keys in Rails with GUID/UUIDs.
With this, I should be able to make my blogging engine distributed - offline postings from my laptop while on the road synchronizing with the main site when I come back online. This would negate my primary reason for using a filesystem based blogging engine like blosxom.
If you're a Rails developer who hasn't bought a copy of Agile Programming with Rails yet, I strongly suggest you do. It's a wonderful book! Just starting to really dig into it myself.
A great RSS2 rxml template from code snippets from blinksale.com.
Getting Ruby on Rails working on my powerbook, I ran into the need to install mysql. Why not get the latest version directly from Mysql, I thought. So I did:
mysql-standard-4.1.14-apple-darwin8.2.0-powerpc.dmg
Run through the installer, and it puts mysql into /usr/local/mysql/, and follow the install documentation:
Once you have MySQL up and running, and in your StartupItems, the next fun bit is talking to it.
Unfortunately, all of the client GUIs like CocoaMysql I found do NOT work with 4.1, they're linked with 3.x system client libraries. Gah. I'm much more fond of phpMySQL anyway. Unfortunately, php 4.3.11 as installed under OS/X 10.4.2 by default is linked with that 3.x client library and will NOT connect to the running MySQL 4.1 server.
The solution? Why rebuild php from source, of course! The first step was finding the command line used to build the default OS/X libphp4.so. With a simple phpinfo() call, it becomes immediately apparent:
'/SourceCache/apache_mod_php/apache_mod_php-18/php/configure' \
'--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' \
'--with-apxs' '--with-ldap=/usr' '--with-kerberos=/usr' \
'--enable-cli' '--with-zlib-dir=/usr' '--enable-trans-sid' \
'--with-xml' '--enable-exif' '--enable-ftp' '--enable-mbstring' \
'--enable-mbregex' '--enable-dbx' '--enable-sockets' \
'--with-iodbc=/usr' '--with-curl=/usr' '--with-config-file-path=/etc' \
'--sysconfdir=/private/etc'
Now I know nothing of the Darwin build environment, or how /SourceCache/ is built, but I do know where to grab the Darwin source tarballs
The source for Darwin 8.2 corresponds directly to the source for 10.4.2, so I grab the tarball:
mkdir -p /SourceCache/apache_mod_php/apache_mod_php-18/php
cd /SourceCache/apache_mod_php/apache_mod_php-18/php
curl -O http://www.opensource.apple.com/darwinsource/tarballs/other/apache_mod_perl-10.tar.gz
Step two: make the path and extract the tarball:
Step three: build php 4.3.11 with the same flags as before, and add the newer mysql path of /usr/local/mysql for the newer client libraries:
'/SourceCache/apache_mod_php/apache_mod_php-18/php/configure' \
'--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' \
'--with-apxs' '--with-ldap=/usr' '--with-kerberos=/usr' \
'--enable-cli' '--with-zlib-dir=/usr' '--enable-trans-sid' \
'--with-xml' '--enable-exif' '--enable-ftp' '--enable-mbstring' \
'--enable-mbregex' '--enable-dbx' '--enable-sockets' \
'--with-iodbc=/usr' '--with-curl=/usr' '--with-config-file-path=/etc' \
'--sysconfdir=/private/etc' --with-mysql=/usr/local/mysql &&
make && make install
Now check your phpinfo() call. The mysql client library now uses that 4.1 version that allows phpMySQL to work.
You know, there might be an easier way than all of this. But it works just fine for me.
This is precisely the kind of thing that Microsoft will never get. Build from source. From the vendor. Directly. Apple largely gets it. Sun is starting to. Here's to hoping they keep the faith.
Much like TinyMCE, FCKeditor is yet another JavaScript WYSIWYG editor that integrates with any webpage.
Step 2. Install Ruby Gems
# wget http://rubyforge.org/frs/download.php/3700/rubygems-0.8.10.tgz
# tar xvzf rubygems-0.8.10.tgz
# cd rubygems-0.8.10
# ruby setup.rb
# rake
Step 3. Install Rails
# gem install rails
Attempting local installation of 'rails'
Local gem file not found: rails*.gem
Attempting remote installation of 'rails'
Updating Gem source index for: http://gems.rubyforge.org
Install required dependency rake? [Yn]
Install required dependency activesupport? [Yn]
Install required dependency activerecord? [Yn]
Install required dependency actionpack? [Yn]
Install required dependency actionmailer? [Yn]
Install required dependency actionwebservice? [Yn]
Done.
WARNING: I had issues building as root (permissions checks in the rubygem test scripts). If you have problems, try building this as a user.
Step 1. Build ruby.
For recent Debian/Ubuntu/(dpkg) servers, it's as easy as:
# apt-get install ruby
For my Debian webservers, I must backport ruby1.8.
# apt-get source ruby1.8
# apt-get build-dep ruby1.8
# cd ruby1.8-1.8.2/ ; dpkg-buildpackage
# dpkg -i ../ruby*.deb
My old Mac laptop used Fink:
# fink install ruby
My new Mac laptop uses Darwin Ports:
# port install ruby
My home boxes run Gentoo (portage):
# emerge ruby
From another Unix/POSIX box:
# wget ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.2.tar.gz
# tar xvzf ruby-1.8.2.tar.gz
# cd ruby-1.8.2
# ./configure --prefix=/usr
# make install
That covers every environment I use ;)