Réinstallation complète de macosx, comment bien configurer son environnement Comments Off

Suite à un crash de disque dur (paix à son âme) je profite de cette install tout fraîche de macosx 10.6 pour bien configurer mon environnement.

Pour mémo:

  • Autoriser l’accès SSH sur la machine (pref système > partage > session à distance)
  • créer un fichier /.profile
  • créer un dossier ~/bin
  • dans ~.profile, personnaliser le PATH comme suit :export PATH=~/bin:$PATH
  • mettre dans ~/bin les liens symbolique et script utiles
    1. contrôle d’itunes (http://gist.github.com/184838)
    2. contrôle du volume (http://gist.github.com/184840)
    3. cd ~/bin && ln -s /Applications/MAMP/bin/php5/php php
    4. ln -s /Applications/MAMP/Library/bin/mysqladmin mysqladmin
      ln -s /Applications/MAMP/Library/bin/mysql mysql
      ln -s /Applications/MAMP/Library/bin/mysqldump mysqldump
    5. etc …
  • virer les applications hadoc de /usr/bin (php au hasard)

Bon évidemment l’idéal aurait été de faire un Rsync du dernier backup sur la lunxbox mais bon c’ets moins marrant ;-)

Tags: Apple, bonne pratiques, gist, Macosx, MAMP, mysql, PHP, rsync, script, SSH, sysadmin, tips

listening music remotely with Banshee + ssh -X ! Comments Off

just a small post to explain how i save 100€ today !

instead of buying an airport express to listen my music through wifi, and because my backup server is 10cm far from my sound system, i just discover that ssh -X allow me to pilot Banshee (itunes-like software on linux) so i can listen to all music that is on my backup server through wifi

for those who want to do the same :
ssh -X user@server
sudo apt-get install banshee

and then just launch banshee :
banshee
and that’s all, you should have the banshee software running on your remote computer but displayed on your local one, just import your music from local directories (on the server) and start playing songs :) dont forget to plug a audio-wire from your server to your sound system.

Tags: music, SSH, sysadmin, tips

Novembre 2008 : Mashup Comments Off

Tags: Bookmarks, firefox, FUSE, Macosx, SSH