Remote OSX server install via Apple Remote Desktop or VNC….

Linux, osx Server, Tricks, Windows
Came across this issue a few weeks ago and never got around to posting it until today. Yes, you can avoid using the Server Assistant program and go straight to ARD to install your server. For this to work your server and remote desktop machines need to be on the same subnet. You boot the server using the 10.5 CD/DVD and note it's serial number. Now you need to find out the IP address of the server and connect to it from your remote desktop machine. For this, you can run ARD and scan the subnet and find your new server. Once you've found it connect to it and login using the first eight characters of the machines serial number and leave the username blank. This even works from Windows/Linux…
Read More

UNetbootin takes care of all your USB Linux installtion blues….

Fedora Core, free, Linux, Opensource, Ubuntu
I'd covered Fedora's Live USB creator a while back. But for those of you wanting to install other flavours of linux on a USB stick (or a HD even), the process was lengthy and cumbersome. That was before UNetbootin, the Universal Netboot Installer. You see UNetbootin can be run from Linux or Windows and will enable you to install a fully functional linux distro to a USB stick or even a spare partition.The current version has built-in support for the following distributions:Ubuntu (and official derivatives)6.06 LTS6.107.047.108.04 LTSDebianStable/EtchTesting/LennyUnstable/SidLinux Mint3.14.05-r1openSUSE10.210.311.0FactoryArch Linux2007.08Damn Small Linux4.4SliTazStableCookingPuppy Linux4.00FreeBSD6.37.0NetBSD4.0Fedora789RawhidePCLinuxOS20072008Gentoo2007.02008.0Zenwalk5.2Slax6Dreamlinux3.2EliveDevelopmentCentOS45Mandriva2007.12008.02008.1FaunOS0.5.4Frugalware LinuxStableTestingCurrentSo go ahead and try some of those acquired flavors of Linux, or that FreeBSD you always wanted to install, but were too scared to. After all it's only a USB stick, if it screws up just format and reinstall…
Read More

JumpBox: Super simple way of getting web services deployed.

Linux, Opensource, OSX, Parallels Desktop, Virtual Hosts, VMware, Windows
If you read our "Open Source Lovin' for your Server" earlier this year and thought "that's too much trouble", here is an even easier way to sample preconfigured Open Source Application Servers at your own leasure. Be it for developement, fun, backup or even production, you can not beat JumpBox at simplicity. What they've done is basically created a virtual machine running linux with all the preconfigurations done for you. What this means is that I can -- just by downloading a ~160MB file -- run a full blown, preconfigured Wordpress site in 2-3 minutes -- of which 1-2 minutes are used up by parallels to boot the JumpBox virtual machine. You can even jump over to their blog and check out how you can setup your JumpBox to run…
Read More

Transcode and stream DV to mpeg4 via firewire using VLC and Ubuntu 8.04 (Hardy Heron)

Firewire, Linux, MP4, Transcoding, Ubuntu, Video, VLC
Well kids are you ready for todays lesson in transcoding DV video. So first you need a decent machine. I'm using a P4 2.4Ghz oldie that has Firewire on-board and am chewing up 50% CPU for NTSC encoding. Then you need to get Ubuntu 8.04 installed. Once that's done use the following command to install vlc (Video Lan Client):sudo apt-get install vlcThen either follow this guide or if you're using 8.04 (Hardy Heron) ONLY, use the following command to add Medibuntu to your repository sources.list:sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.listfollowed bysudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get updateto add the GPG key for Medibuntu Repository. You may be asked to accept this package even though it cannot be authenticated. This is normal; typing "Yes" means you trust…
Read More

Tunnel to locally running mysql server using ssh

Linux, mysql, ssh, Unix
Running and administrating mysql can sometimes be a hassle especially if you're running a semi-secure environment. This usually means that your mysql server will not accept connections from outside and only localhost connections are allowed. There is a quick way of getting around this if you're stuck somewhere and really need to use that graphical admin/browser tool to get to your DB server. All you really need to do is forward port 3306 on your local machine to port 3306 on the DB server through a ssh tunnel. Here is the ssh command you need to issue to start things up:ssh -L 3306:127.0.0.1:3306 yoursshloginid@yourserver.yourdomain.comOnce you supply the password for the ssh session you're in business, the encrypted tunnel is up and running. All you need now is to point Mysql…
Read More

Four little Security tools you should install in Ubuntu

Linux, Sysadmin, Tricks, Ubuntu
These should probably also be installed under other linux distros (might already be). But for the sake of completeness here they are:1) denyhosts: great little package that's already 98% configured after apt-get install process. It runs as a daemon and monitors /var/log/auth.log file for unsuccessful ssh logins and takes measures to ban the originating IP in /etc/hosts.deny. The cool part is that it does not need access to firewall or anything. Config file is /etc/denyhosts.conf and is pretty self explanatory. Ubuntu package is called "denyhosts" and needs python to work.2) chkrootkit: another little gem that you install via apt-get install process. Ubuntu package is called "chkrootkit". After install do "man chkrootkit" for more info, but the gist of it is that when run from command line it uses it's own…
Read More

Twitter from Unix/Linux/OSX command line

CLI, Linux, OSX, Twitter, Unix
Yep, you can. Here is the recipe:1) You need to install "curl" for your OS. OSX comes with it by default which is nice. Most unices out there also have it installed or have it available for download (Ubuntu, Debian users can use "sudo apt-get install curl" to install).2) Edit a text file using your favourite editor and add the following line in there:curl --basic --user "youruserid:yourpassword" --data-ascii "status=`echo $@|tr ' ' '+'`" "http://twitter.com/statuses/update.json" -o /dev/null3) Make sure you replace youruserid and yourpassword with appropriate strings.4) Save the file as something like twitter.sh and make it executable by issuing this command:chmod 700 ./twitter.sh5) Twitter away by using the following command line:./twitter.sh "Put your twit in here and press Enter"6) Done.Have fun commandline twittering :-).
Read More

Some Unix/Linux Coolness…..

Linux, Ubuntu, Unix
I think every admin must do something stupid atleast once....right? Well my brain fart happened during a System upgrade (another story I'll be ranting about later). I made backups of all the files I thought were important (/home, /etc, /var/lib/mysql and other userdata we had on the system) and installed Ubuntu 8.04 on the server. Well, of course the second person who walks in to report problems, asks me about his personal crontab......DOOOHHHHH!!!! Yeah I forgot to back that sucker up. Now, the lucky part of all this is that I just deleted the old directories on that partition, I did not format it. So once I realized that, I figured why not just search for it. I mean I knew something about the file, why shouldn't I be able…
Read More

G rocks!!!…Linux users rejoice.

Google, Linux
Yeah, in case you haven't figured it out yet, I LIKE GOOGLE. I like their spirit and I like the way they do their business. They just made my day (again) by releasing their desktop based google gadgets for linux for free and totally open sourced under Apache License 2.0 to boot. This is fantastic news for all Linux fanatics, as now you can leave those closed source OSes behind, format your harddisk and enjoy a great looking desktop on a OS that actually works (for a change).Now if only MS and it's minion (Carl Icahn) would leave Yahoo alone so they can port the Pipes engine to the linux desktop I'd be a happy man :-)
Read More

Glide OS 3.0 Webtop syncs with you Desktop now

Linux, OSX, Technology, Windows
For those of you who haven't tried it, you should really head over to glideos.com and create an account. It's an excellent Webtop that provides a widerange of application plus 5GB of online storage for free (there are also commercial accounts for a small fee). Not only do they have one of the cleanest interfaces out there, they've also developed a cross platform application called glide that allows you to sync your webtop with your physical desktop machine. This is really useful specially if you're in a situation where you use windows and linux at work and osx or something else at home. The glide application can sync all your online data between the different platforms.
Read More