play free online MMORPG games at Outspark.com …
more cool games such as project powder and blackshot coming soon …
already backed up and installed … check out the highlight reel
more info .. .
http://wordpress.org/development/2008/07/wordpress-26-tyner/
so svn 1.5 is finally out with all sorts of new features, most notably merge tracking and changesets or changelists as they call them.
i had a bit of trouble getting this fully working so I’ll document a few of my findings below.
using mac ports there was already a port available last Friday only hours after the final release of 1.5.
upgrading should be as easy as …
$ sudo upgrade subversion
however i ran into a slight snag when trying to commit to using ssh …
...
svn: Commit failed (details follow):
svn: Cannot negotiate authentication mechanism
...
weird i can svn ls the repo through ssh, even do a full check out from svn+ssh, but doesn’t want to let me commit
so i started googling and asking around #svn on irc …
seems to only have problems with the commit part which is weird, not just general ssh failure
interesting replies from irc …
yaroslav: kfogel: unfortunately subversion is broken for macports (svn+ssh) but i already had my wr converted to 1.5, so i just reconverted it back to 1.4 and using “out of the box” leopard svn
11:57 AM
yaroslav: kfogel: not sure, but i saw something while googling groups. it is a bug with authentication it seems to me — seems like svn+ssh is using some other port for doing authentication and this port is outdated.. i got this while ci’ing to rubyforge.org with svn+ssh, for example: svn: Cannot negotiate authentication mechanism
also looking at my .subversion/config … might be something changed in there
notice there are some auth options as well
--no-auth-cache : do not cache authentication tokens
didn’t seem to work though … still searching for an answer , now seemed to be SASL related … started looking at error logs … secure.log seemed interesting …
Jun 24 12:13:56 MacBook-Pro-PJ-Khalil svn[66136]: No worthy mechs found
guess my mech is not worthy
so did a bit more googling about mechs …. turns up bunch of cyrus sasl errors.
hmm wondering if i need to install the sasl libs and install the sasl variant of subversion from ports will fix the ssh problems … guess we’ll see
$ sudo port install cyrus-sasl2
$ sudo port install libgsasl
actually don’t need that step but it can’t hurt …
just do this …
$ sudo port deactivate subversion
---> Deactivating subversion 1.5.0_0+bash_completion+mod_dav_svn+tools
...
$ sudo port install subversion +bash_completion +mod_dav_svn +tools +sasl
probably not necessary to install both sasl libs, but just to be safe couldn’t really hurt.
adding the +sasl will download the depenencies it needs (cyrus-sasl2) and we’re back in business
aha … now it all makes sense … from $ svn –version
* ra_svn : Module for accessing a repository using the svn network protocol.
- with Cyrus SASL authentication
- handles 'svn' scheme
so ya basically adding the sasl libs plus sasl variant seems to fix the svn+ssh problems with macports and svn 1.5 weee
now back to auto merging changesets and committing through ssh.
dear apple,
great job!
just one thing … can you put the camera on the other side so we can ichat a/v mobile and also use the screen as a flash?
thanks!
## Introduction
instructions for setting up dynamic web server and services on mac os x (10.5, should be similar for 10.4)
## semi-quick semi-easy totally sweet setup (a wee bit of compile time, but its worth it … smoke em if you got em boys)
1. download and install macports from macports.org
1. make sure you have xcode dev tools
installed, you can grab a copy for leopard with the free iphone sdk … also cool
iphone simulator
,might also want x11 for headers or some reason. )
2. might also want to make sure your paths are set up properly in .profile and .bash_profile
echo $PATH
/opt/local/bin:/opt/local/sbin:...
3. sometimes you may need to move conflicting files in /usr/local , you can safely move it /usr/local.bak
2. install mysql (easy)
$ sudo port install mysql5 +server
1. install dbs
$ sudo -u mysql mysql_install_db5
2. #secure dbs (recommmended)
$ /opt/local/lib/mysql5/bin/mysql_secure_installation
might also need
$ sudo ln -s /tmp/mysql.sock /opt/local/var/run/mysql5/mysqld.sock
3. *optional setup launch deamon
$ sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql5.plist
3 . install apache2 (this will probably FAIL on leopard, see below, rinse repeat, milage may vary)
$ sudo port install apache2
1. $ sudo port install db44 +darwin_8 +universal #(magic
)
2. $ sudo port install gawk #(deps order gets screwed up so have to do this one first manually)
3. now try apache2 again
3a. $ sudo launchctl load -w /Library/LaunchDaemons/org.macports.apache2.plist #(optional setup launch deamon )
4. install php finally … (easy, but so many choices … )
$ sudo port install php5 +apache2 +imap +ipc +macosx +mysql5 +pear +sockets +sqlite +tidy
If this is your first install, you might want
cd /opt/local/apache2/modules
/opt/local/apache2/bin/apxs -a -e -n "php5" libphp5.so
* copy /opt/local/etc/php.ini-dist to /opt/local/etc/php.ini
might also want to …
$ sudo mv /usr/sbin/apachectl /usr/sbin/apachectl-leopard
$ sudo ln -s /opt/local/apache2/bin/apachectl /usr/sbin/apachectl
4.b upgrade php
If this is your first install, you might want
cd /opt/local/apache2/modules
/opt/local/apache2/bin/apxs -a -e -n "php5" libphp5.so
* copy /opt/local/etc/php.ini-dist to /opt/local/etc/php.ini
5. configure setup apache + php
1. apache conf include vhosts
$ sudo cp /opt/local/apache2/conf/httpd.conf.sample /opt/local/apache2/conf/httpd.conf
2. find ssl in conf
disable ssl … for now , had this working before
add this httpd.conf
# plugins
Include conf/extras-conf/*.conf
# OS X User Homes
# uncomment for tiger
# Include /etc/httpd/users/*.conf
# uncomment for leopard
# Include /etc/apache2/users/*.conf
# PJK
Include /Users/pkhalil/Sites/conf.d/apache/*.conf
add this to php_php.conf
<IfModule mod_dir.c>
DirectoryIndex index.php index.html
</IfModule>
3. php.ini
should be good to go …
$ sudo cp /opt/local/etc/php.ini-recommended /opt/local/etc/php.ini
1. PEAR
2. PECL
4. reboot apache
$ sudo apachectl start
1. link macport logs to normal /var/log
$ sudo mv /opt/local/apache2/logs /opt/local/apache2/logs.bak; sudo ln -s /var/log/apache2/ /opt/local/apache2/logs
6. configure setup mysql
1. my.conf
2. import dbs
DONE!
keep in mind if things start to go wrong you can easly scrap everything and start from scratch.
$ sudo rm -rf /opt
some handy port commands
————————
* port sync (run this before selfupdate or outdated)
* port selfupdate
* port upgrade outdated
* port clean
* port -f uninstall outdated
* port activate
* port deactivate
Handy packages on Ports
———————-
* apache2
* php5
* mysql5
* memcached
* ffmpeg
* pngcrush
* png2ico
* cmatrix ![]()
* emacs ![]()
* ack
* gnupg
* lynx
* subversion
* wget
* curl
* eggdrop
* logrotate
* ?perl? ?ruby? ?ect?
coming soon …