Unfortunately upgrading from OS X Mountain Lion ( 10.8) to Mavericks (10.9) stopped my AMP (Apache, MySQL, PHP) installation working.
Luckily, this is just down to an apache configuration file being overwritten and is easy to correct...
1. Edit Apache Configuration
sudo vi /private/etc/apache2/httpd.conf
a. Uncomment following line to re-enable virtual hosts: -
Include /private/etc/apache2/extra/httpd-vhosts.conf
b. Uncomment following line to re-enable PHP: -
LoadModule php5_module libexec/apache2/libphp5.so
2. Restart Apache
sudo apachectl restart
There was no need to change any of my MySQL installation, this continued working after the installation.
Showing posts with label mac. Show all posts
Showing posts with label mac. Show all posts
Wednesday, 23 October 2013
Sunday, 1 September 2013
Installing Streamripper on Mac OS X via Homebrew
Here's a quick post on how to install "streamripper" on OS X, with a little help from homebrew.
1. Install homebrew
ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
2. Check installation
brew doctor
3. Fix any issues
I had the message "Warning: /usr/bin occurs before /usr/local/bin"...
To fix this, edit "/etc/paths" and change the order of the directories.
On re-running "brew doctor", you should hopefully now get the message "Your system is ready to brew."
4. Install "streamripper"
brew install streamripper
5. Run streamripper
streamripper http://(your stream URL here)
6. Play files
If you want to listen to your MP3 recordings from the command-line, you can use the built-in OS X "afplay" command.
afplay file.mp3
Software is installed into directories inside "/usr/local/Cellar/" with symbolic links created in "/usr/local/bin".
For example, after installing "streamripper", a directory "/usr/local/Cellar/streamripper" will be created (along with some other dependencies), and a symbolic link "/usr/local/bin/streamripper" will be created which points to "../Cellar/streamripper/1.64.6/bin/streamripper"
To get the latest packages and homebrew: -
brew update
Upgrade the installed software with: -
brew upgrade
These commands can be combined as: -
brew update && brew upgrade
To uninstall softeare: -
brew uninstall imagemagick
There is a great on-line package browser here: http://braumeister.org/
1. Install homebrew
ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
2. Check installation
brew doctor
3. Fix any issues
I had the message "Warning: /usr/bin occurs before /usr/local/bin"...
To fix this, edit "/etc/paths" and change the order of the directories.
On re-running "brew doctor", you should hopefully now get the message "Your system is ready to brew."
4. Install "streamripper"
brew install streamripper
5. Run streamripper
streamripper http://(your stream URL here)
6. Play files
If you want to listen to your MP3 recordings from the command-line, you can use the built-in OS X "afplay" command.
afplay file.mp3
Homebrew Notes
Here are some additional notes on homebrew.Software is installed into directories inside "/usr/local/Cellar/" with symbolic links created in "/usr/local/bin".
For example, after installing "streamripper", a directory "/usr/local/Cellar/streamripper" will be created (along with some other dependencies), and a symbolic link "/usr/local/bin/streamripper" will be created which points to "../Cellar/streamripper/1.64.6/bin/streamripper"
To get the latest packages and homebrew: -
brew update
Upgrade the installed software with: -
brew upgrade
These commands can be combined as: -
brew update && brew upgrade
brew uninstall imagemagick
There is a great on-line package browser here: http://braumeister.org/
Subscribe to:
Posts (Atom)
-
VirtualBox 3.2.10 gives me the following error message when booting Ubuntu 10.10:- piix4_smbus 0000.00.07.0: SMBus base address uninitializ...
-
PSPad is a great editor for programmers. Instead of using a dedicated Python IDE, PSPad can be tweaked to compile and run scripts directl...
-
I've recently bought a Linksys WRT54GL Router. This is a great little unit that allows you to upload custom firmware. After playing arou...