'Linux' Category

  • Netatalk on Intrepid once again

    April 17, 2009

    The deb file I used to use isnt working. But this script does work for compiling netatalk with SSL support so it actually works: mkdir -p ~/src/netatalk cd ~/src/netatalk sudo apt-get install devscripts cracklib2-dev dpkg-dev libssl-dev build-essential sudo apt-get build-dep netatalk apt-get source netatalk cd netatalk-2.0.3 DEB_BUILD_OPTIONS=ssl dpkg-buildpackage -us -uc sudo debi echo “netatalk hold” [...]

  • Recursive grep search with filenames and line numbers

    February 18, 2009

    Slack and Bill at worked helped me out with a nice recursive grep search. It is now my favorite: egrep -irHn <searchterm> <path>

  • Mounting a lvm crypted device via the command line

    January 19, 2009

    #cryptsetup luksOpen /dev/HARDDISK DEVICENAME #lvmdiskscan #vgchange -ay #ls -l /dev/mapper #mkdir /media/crypt #mount /dev/mapper/DEVICENAME /media/crypt

  • AFP File Sharing from Linux to Mac

    December 12, 2008

    I posted something on this a while back, and someone in the comments posted a great howto. I felt it is worthy of another link so it is easy to find. This basically lets your Linux box share files using the AFP protocol which is very fast and the native file sharing protocol for Mac [...]

  • PHP phpinfo() on the fly

    November 14, 2008

    Here is a little trick to get phpinfo() information on the fly. You need php-cli installed (sometimes its called php4-cli or php5-cli) echo “<?php phpinfo(); ?>” | php4 echo “<?php phpinfo(); ?>” | php5 echo “<?php phpinfo(); ?>” | php5-cli etc You can also tack on a | grep at the end if you want [...]

  • VMWare Server 1.0.7 on Ubuntu Intrepid Ibex 8.10

    October 30, 2008

    Here is a link I found that got this working again: Click Here Here is a link to fix a keyboard error some have: Click Here

  • Turning Ubuntu Hardy into OS X

    August 30, 2008

    Since I’m an Apple fanboy now of course I love the OS X experience. I wanted to theme my Ubuntu to look nicer and came across this link. I love the new fonts the most! They kick the trash out of the built in fonts. http://maketecheasier.com/turn-your-ubuntu-hardy-to-mac-osx-leopard/2008/07/23

  • SUID Search

    August 14, 2008

    find / \( -perm -004000 -o -perm -002000 \) -type f -print

  • Setting up “Time Capsule” for free with Linux

    July 26, 2008

    I read that it is possible to set up a network based “Time Capsule” service for use with “Time Machine” in OS X. This requires setting up Apple File Sharing (AFP) with Ubuntu Linux. This was a bit of a pain to set up. Got it working after a couple hours of struggle. Set up [...]

  • Helping Macintosh OS X connect to Samba server

    July 20, 2008

    On the Linux server, add the file: /etc/avahi/services/samba.service Copy this code in the new file: <?xml version=”1.0″ standalone=’no’?><!–*-nxml-*–> <!DOCTYPE service-group SYSTEM “avahi-service.dtd”> <service-group> <name replace-wildcards=”yes”>%h server</name> <service> <type>_smb._tcp</type> <port>139</port> <host-name>chris.local</host-name> </service> </service-group>

 
Powered by Wordpress and MySQL. Theme by Shlomi Noach, openark.org