Author Archives: admin

Unable to install Samba 4 on Ubuntu 12.04

When I tried to install Samba4 on Ubuntu 12.04, I was getting the following error: root@samba4:~# apt-get install samba4 Reading package lists… Done Building dependency tree Reading state information… Done Suggested packages: phpldapadmin samba-gtk swat2 The following NEW packages will … Continue reading

Posted in Linux, Samba | Comments Off on Unable to install Samba 4 on Ubuntu 12.04

How to specify an SSH key with git, without using a config file

There are a number of ways to do this, but for me setting up an ssh config file was not practical or desirable. I wanted to be able to make a fabric script that becomes a user (that does not … Continue reading

Posted in git, Linux | Comments Off on How to specify an SSH key with git, without using a config file

Use UTF-8 as the default encoding for postgres databases

To avoid problems with encoding if you forget to change from the default SQL_ASCII when you create a database, I find it is best to set the default to UTF-8 whenever I set up a new server. One less thing … Continue reading

Posted in postgres | Comments Off on Use UTF-8 as the default encoding for postgres databases

PHP Fatal Error: Error Number: 8192 Message: Function split() is deprecated

This annoyance popped up when I was moving a site from an old RedHat 4.4 server to a new ubuntu 12.04 server. [Error message: [PHP Fatal Error: Error Number: 8192 Message: Function split() is deprecated Replacing the split() function with … Continue reading

Posted in PHP | Comments Off on PHP Fatal Error: Error Number: 8192 Message: Function split() is deprecated

Raspberry Pi (raspbian) drops wireless connection after openvpn is started

Whenever the tap0 or tun0 device came up, my wireless connection would go down within a couple seconds. This was frustrating. I found that there is a file /etc/default/ifplugd that needs to be edited. Make it look like this: INTERFACES=”auto” … Continue reading

Posted in Linux, raspberry pi | Comments Off on Raspberry Pi (raspbian) drops wireless connection after openvpn is started