Skip to main content

Posts

Showing posts from 2011

Forwarding X in snow leopard

Just picked this up from a blog http://blog.carldr.com/ as I needed to forward GUI apps over SSH.

The answer was just to replace localhost with 127.0.0.1.

Start Terminal from utilities
run "startx" in the terminal
right click on the dock (my recent fav trick) run "xterm" from Applications menu.

The next are commands to run in the xterm.

xhost +
ssh -R 6000:127.0.0.1:5000 myserver

Now, you can run your GUI app

I still have habits to do the xhost +, sometimes it's just conditioning and I'm not even sure if the commands are useful.

themes for mac terminal application

I can't believe that I've been using mac's terminal all this while and i didn't know that if you right click the icon on the tray of the app that is already open or select from the drop down for new window you get to select a different theme of window.

My favorite is "homebrew", reminds me of my old terminals feel with the semi transparency and green font.

smarter home

well, it's not quite home automation, but i've upgraded my home systems. Here's a bit about what it does now. It's a lot simpler now not to mention easier to setup.

The brain
-----------
The core system now lie within a mac mini snow leopard server attached to the living room PC. I got one direct from apple store. it's very cool and not to mention cheap. ideal for home use. it's a home theater pc as well as running all the other IT services, i.e. DNS, DHCP, VPN and some other misc Apple stuff, like website, wiki, podcast and mail.

It monitors all the other network equipment, network attached storage (NAS), all in one printer, cameras and wireless access points. Essentially, I VPN to the box and through my secure VPN access all the other home systems without the messiness of having to NAT individual ports. It also adds another layer of security for remote access.

DHCP and DNS also helps each connected device find each other better that it would if I relied on th…

install sugar crm on centos

Just some notes from the install into a fresh default install of centos with sugarcrm 6.2. I'm sure I missed out quite a lot of bits, but i'll add more over time. These are the additional packages to install for php and mysql


yum install mysql
yum install mysql-server

add repo

/etc/yum.repos.d/CentOS-Testing.repo

[c5-testing]
name=CentOS-5 Testing
baseurl=http://dev.centos.org/centos/5/testing/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing


yum upgrade php
yum install php-mysql
yum install php-mbstring


the rest of the install should be as the other documentation