Category: configuration

pg_restore: [archiver (db)] connection to database “dvdrental” failed: FATAL: Peer authentication failed for user “postgres”

I wanted to learn postgresql operations on real database. So, I was following online tutorial where I downloaded a sample database ‘dvdrental.tar’ and got the error ‘ FATAL: Peer authentication failed for user “postgres” ‘ while loading into postgresql. I created a new database in postgresql using the following command. $ sudo -u postgres psql postgres=# CREATE DATABASE dvdrental; postgres=# \list List of… Read more →

The new widgit id “Redirector” is invalid for type: Blog

I created this personal blog DevGeek and imported my all posts from old blogger blog: http://iankits.blogspot.com by following ‘Three Simple Steps‘ explained in my previous Blog – Import Blog from Blogger to WordPress. After successful import of my old blog, I wanted to redirect visitors from blogger to my current wordpress blog. I followed very nice blog “How to redirect… Read more →

Import Blog from Blogger to WordPress

Now, it is very easy to import blogs to wordpress. The WordPress provided a comfortable tool for importing and exporting blog. Visit “Dashboard” of your wordpress blog and goto “Tools” and click on option “import” as shown in the given figure below. After you click on “import“, you’ll be navigated to the page where you will find lots of  options… Read more →

Could not find a package configuration file – OpenCVConfig.cmake

I am playing nowadays with OpenCV for visual computing using C++ on Mac OS platform.I installed openCV and by default, it get installed in “/opt/local“. I wrote a test program in c++ using opencv library and tried to build it using cmake. But, I found following errors while running cmake. CMake Error at CMakeLists.txt:3 (find_package):   By not providing “FindOpenCV.cmake” in CMAKE_MODULE_PATH… Read more →

Increase/Decrease LCD Brightness using Linux shell/commandline

You can increase your laptop brightness using Linux shell/commandline. There are some brightness levels predefined. You have to use these values for increasing or decreasing brightness from shell/commandline. Brightness levels: 4 16 28 40 52 64 76 88 100 The command for increasing the brightness is echo -n 88 > /proc/acpi/video/VGA/LCD/brightness You can select other brightness levels according to your… Read more →

Social Media Icons Powered by Acurax Web Design Company