I was setting up a Mac Mini to replace the existing sd3labs office Linux server and ran across an issue with MySQL not starting on reboot, hell it actually gave an error on install saying the installed failed which it really didn’t. I came across a post on Stackoverflow explaining how to correct this and thought I would mirror the info here.
The first thing you need to do is create the following file /Library/LaunchDaemons/com.mysql.mysql.plist
In the com.mysql.mysql.plist file that you just created you will need to then add the following information to it.
<!--?xml version="1.0" encoding="UTF-8"?-->
And lastly make sure to give it the proper permissions so it can be executed properly at startup, and then add it to launchctl as shown here.
sudo chown root:wheel /Library/LaunchDaemons/com.mysql.mysql.plist
sudo chmod 644 /Library/LaunchDaemons/com.mysql.mysql.plist
sudo launchctl load -w /Library/LaunchDaemons/com.mysql.mysql.plist
After all said and done you should be able to reboot the system and MySQL will be running when it comes back up.
I have disabled remote configuration on my Airport Extreme but was out of town and needed to add a new port to the router and forward it to an internal machine, made me scratch my head a bit. After some googling I found information on setting up an SSH tunnel to assist with this.
On my Macbook I ran the following command to set create the tunnel to my server on my home network. Simply substitute the Router_IP for the IP of your router and then of course change IP_Address_of_home_connection to the IP of your home connection or Dynamic Address (dyndns.org)
ssh -L 5009:Router_IP:5009 IP_Address_of_home_connection
Once you have established the connection via the terminal on your mac you can then bring up the Airport Utility and goto File->Configure other. Use 127.0.0.1 as the IP of the router and then add your router password. This should then connect (depending on your connection speed it may not be instant.
I recently upgraded my home server with a HighPoint RocketRAID 2640×1 PCI-Express RAID Controller Card. I had the option of software RAID but I figured that I might as well go hardware since the price really wasnt that bad and in case of a software issue the RAID Array should keep working upon a system reinstall.
Unfortunaly the required module for the card is not built into the kernel or available as a packge for Ubuntu 12.10 so I had to compile it manually to get it working.
Outlined below are the steps that I took to get it working on my system, results may vary but this works great and is using an updated version of module (most other info I found was for version 1.2 this is 1.5)
Continue reading Installing rr26xx driver on Ubuntu server 12.10
If you are looking to combine MP4 files from the command line here is the easiest solution. First you need to use the following command to install the program.
sudo apt-get install gpac
Once installed you will be able to run the following command to join the files.
MP4Box -cat part1.mp4 -cat part2.mp4 -new joinedfile.mp4
You should now be able to combine MP4 files from the command line, and pretty quick at that.