Dan Reinders's blog

How to Fix wkhtmltopdf: error while loading shared libraries: libfontconfig.so.1: Ubuntu 14

wkhtmltopdf: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory

If you get this error while installing wkhtmltopdf you are probably missing one of the following required files/packages:

libXext libXrender fontconfig libfontconfig.so.1

For Ubuntu you can use http://packages.ubuntu.com/ to find in which packages these files reside and then install them:

sudo apt-get -y install libxrender1
sudo apt-get -y install libxext-dev
sudo apt-get -y install libxrender1
sudo apt-get -y install fontconfig

Git on the Server - Setting Up the Server

Symfony 2 on cPanel based dedicated server.

Setting up the environment for a Symfony 2 project on a dedicated server with cPanel.

I've tried locating the app, src and vendor directories outside of the public_html directory with no success and a lot of frustration.  The solution that I've found is to place the entire project inside the public_html directory and then change the DocumentRoot so that it points at the web folder.

DocumentRoot /public_html

changed to:

Adding local DNS server to Wireless Router

Adding a local DNS server to my wireless router just made my life easier.

How to set up OSX to connect to a linux sever via password-less SSH

We connect from our Macs to our linux web servers dozens of times per day and typing a password for each login wastes time.  The solution is to set up passwordless SSH logins.  However most how to's on the web use ssh-copy-id to complete this task and it doesn't come standard on OSX Lion.

Here, in five minutes or less, is how to set up passwordless login viz ssh without ssh-copy-id:

First, on your local machine generate a SSH key using ssh-keygen.

Hosting website in cPanel but want to route email to external server.

Contact Form not sending email to remote server.

Many of the sites that we build are hosted on Linux servers running cPanel.  We have found cPanel to be easy to use and very reliable. 

Recently we had a customer change from locally hosted email to remotely hosted email.  Initially, the server would not route the email generated by the contact form to the remote server but would route it locally.

We had correctly changed the MX entries but it still did not work.

Syndicate content