RSS
magnify
Home Archive for category "Linux"
formats

(EAI 2)Name or service not known: Could not resolve host name *.80 — ignoring!

Published on May 8, 2012 by in centos, httpd, Linux

You are no doubt trying to add a vhost and you get the following error when attempting to affect changes by restarting the http daemon (httpd): (EAI 2)Name or service not known: Could not resolve host name *.80 — ignoring! Not to worry! Add the following text to httpd.conf at the bottom (That’s at /etc/httpd/conf/httpd.conf):

Read More…

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
1 Comment  comments 
formats

How to Comment out a line in a Crontab on Linux

Published on May 3, 2012 by in Linux

Firstly let’s just note that crontabs are read in the following way: * * * * * command to be executed – – – – – | | | | | | | | | +—– day of week (0 – 6) (Sunday=0) | | | +——- month (1 – 12) | | +——— day

Read More…

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

How to backup all mysql databases

Published on April 26, 2012 by in Linux, mysql

In order to backup all mysql databases, you can run the following command in your linux command line: The example below is configured with username “theuser” and password “thepass”. mysqldump -utheuser -pthepass –all-databases > all_dbs.sql

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Unable to connect to any of the specified MySQL hosts.

Published on February 19, 2012 by in Linux, mysql

If you get the following error while trying to connect to a MySQL database using a third party client such as TOAD or SQL Workbench, then you need to edit your mysql server’s my.cnf file. Error Message: Unable to connect to any of the specified MySQL hosts. So open the my.cnf file by running a

Read More…

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Sudo install OpenGL & SDL on Ubuntu

Published on February 22, 2010 by in Linux, opengl, SDL, ubuntu

A quick and easy way would be to type the following in one line with single spaces in the Terminal. This way of installing OpenGL and SDL libraries only applies to Ubuntu. sudo apt-get install nvidia-glx-new-dev libglew1.4-dev libsdl1.2-dev libsdl-ttf2.0-dev libsdl-image1.2-dev libsdl-mixer1.2-dev

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
2 Comments  comments 
formats

Cube Desktop on Ubuntu

Published on October 20, 2009 by in General, Linux, ubuntu

Alright, so I run Ubuntu 7.10 and use the Desktop Effects via compviz, anyhow, I could get the 2d workspace but really wanted the 3d cube, even if I set up 4 desktops, it would still only show 2 sides of the cube(aka not a cube). The solution is: In Terminal do: gconftool-2 –type int

Read More…

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
© Copyright © 2012 · Web Development London UK · All rights reserved · Site hosted on the hsmoore.com network
By using the site and/or making use of any of our services you agree to our Terms and Conditions