Note:
A clean install will erase all of the contents on your disk drive. Make sure to back up your important files, settings and apps before proceeding. If needed, upgrade the system to El Capitan
Performing a clean install:
- Restart your Mac and hold down the Command key and the R key (cmd⌘+R). Press and hold these keys until the Apple logo appears.
- For a clean install, open up Disk Utility and erase your main hard drive. Once you've done so, you can go back to the Install OS X Mavericks disk and choose "Install a new copy of OS X."
Install
OS X Additions
- Cheetah
- Dotfiles
- bash_aliases
- bash_autocomplete
- bash_exports
- bash_functions
- bash_options
- bash_profile
- bash_prompt
- HomeBrew
- ffmpeg
- MySQL
- OS X Server
- Python PIP (Package Manager)
- Python LXML
Applications
- Auto-Sub (https://github.com/BenjV/autosub)
- LaunchAgent
- CouchPotato (https://couchpota.to)
- LaunchAgent
- WebApp Proxy
- SabNZBD+ integration
- Spotweb integration
- NewzNAB
- NzbToMedia
- Plex Home Theater
- Plex Media Server
- Channel: Custom app store
- Channel: HelloHue (https://github.com/ledge74/HelloHue)
- Channel: TraktTV
- SABnzbd+
- LaunchAgent
- WebApp Proxy
- Folder creation
- NzbToMedia (SickBeard)
- SickBeard
- LaunchAgent
- WebApp Proxy
- SABnzbd+ integration (text step-by-step, not (yet) automated)
- Spotweb integration (text step-by-step, not (yet) automated)
- Sonarr
- WebApp Proxy
- Spotweb
- API enablement check
- LaunchAgent: Periodic retrieval
- SabNZBD+ integration (text step-by-step, not (yet) automated)
- etc.
Usefull links:
Plex Information page(s)
- Client names: https://plex.tv/devices.xml
- User names: http://app.plex.tv/web/app#!/settings/users
- Friend names: https://plex.tv/pms/friends/all
- Current sessions: http://localhost:32400/status/sessions
Hue informatino page(s)
- Hue bridge IP: https://www.meethue.com/api/nupnp
OS X Server
- /Library/Server/Web/Config/apache2/sites/
- /Library/Server/Web/Config/Apache2/httpd_server_app.conf
- /Library/Server/web/config/apache2/httpd_server_app.conf.default
- sudo serveradmin settings web:definedWebApps
- sudo serveradmin start web / sudo serveradmin stop web
- sudo serveradmin fullstatus web
- sudo serveradmin settings web
- sudo serveradmin command web:command=restoreFactorySettings
- https://clickontyler.com/support/a/41/osx-server-app-virtualhostx/
- http://matt.coneybeare.me/how-to-map-plex-media-server-to-your-home-domain/
- https://discussions.apple.com/thread/3566643?start=0&tstart=0
- http://www.themacosxserveradmin.com/2011_09_01_archive.html
- http://gathering.tweakers.net/forum/list_messages/1641228
- http://smashingfiasco.com/setting-up-aspnetmono-on-mac-os-server.html
- http://serverfault.com/questions/441722/apache-2-2-on-mountain-lion-ignoring-proxypass-and-sending-request-to-documentro
Dot files
- https://github.com/alrra/dotfiles
- https://github.com/nicolashery/mac-dev-setup
- https://github.com/donnemartin/dev-setup
- https://github.com/paulirish/dotfiles
- https://github.com/mathiasbynens/dotfiles
- https://github.com/cowboy/dotfiles
- http://dotfiles.github.io
- https://github.com/natelandau/awesome-osx
Github
lsd error
- sudo mkdir /private/var/db/lsd
- xattr -wr com.apple.finder.copy.source.checksum#N 4 /private/var/db/lsd
- xattr -wr com.apple.metadata:_kTimeMachineNewestSnapshot 50 /private/var/db/lsd
- xattr -wr com.apple.metadata:_kTimeMachineOldestSnapshot 50 /private/var/db/lsd
- sudo touch /private/var/db/lsd/com.apple.lsdschemes.plist
- sudo /usr/libexec/repair_packages --repair --standard-pkgs --volume /
- https://support.apple.com/en-us/HT203129
OS X Server WebApp
- Running Node.js + Ghost as a webapp on OS X Mavericks with Server 3.2 (https://gist.github.com/joey-coleman/11111811)
- Creating a apache-proxy webapp on OS X using Server.app (https://gist.github.com/joey-coleman/10016371)
- Configuring Jenkins on OS X Server (http://pablin.org/2015/04/30/configuring-jenkins-on-os-x-server/)
- unning Django webapps with OS X Server.app (http://jelockwood.blogspot.nl/2013/06/running-django-webapps-with-os-x.html)
Other
- https://github.com/spotweb/spotweb/wiki/Performance-tips
- https://github.com/bstascavage/plexReport or https://github.com/jakewaldron/PlexEmail
Sed
- sudo sed -i "s/^;date.timezone =./date.timezone = Europe\/Amsterdam/" /etc/php5//php.ini
- sudo sed -i 's/"$/:\/usr\/local\/mysql\/bin"/' /etc/environment
- sudo sed -i 's/basedir = \/usr/basedir =\/usr\/local\/mysql/' /etc/mysql/my.cnf
- sudo sed -i 's/lc-messages-dir = \/usr\/share\/mysql/lc-messages-dir = \/usr\/local\/mysql\/share\nlc-messages =en_GB\n/' /etc/mysql/my.cnf
- sudo sed -i 's/myisam-recover /myisam-recover-options /' /etc/mysql/my.cnf
- sudo sed -i 's/key-buffer /key-buffer-size /' /etc/mysql/my.cnf
- sed -i '/bind-address/d' /etc/mysql/my.cnf
Spotweb
# Remove NL Subs from QoQ Series:
- UPDATE spots SET title= REPLACE (title, ' NLSubs ', ' ') WHERE spotterid = 'C7w1uw' AND subcatz = 'z1|'
# Remove (2015) from QoQ Series:
- UPDATE spots SET title= REPLACE (title, '(2015)', '') WHERE spotterid = 'C7w1uw' AND subcatz = 'z1|'
# Remove (2016) from QoQ Series:
- UPDATE spots SET title= REPLACE (title, '(2016)', '') WHERE spotterid = 'C7w1uw' AND subcatz = 'z1|'
Food for Thought
- http://stackoverflow.com/questions/26493762/yosemite-el-capitan-php-gd-mcrypt-installation
- http://www.michaelbagnall.com/blogs/php-gd-fixing-your-php-server-mac-os-x-without-homebrewmacports
- https://github.com/ElusiveMind/osx_server_enhancements
- https://github.com/philcook/brew-php-switcher
from https://github.com/ajongsma/OSX_MediaCenter