-
Sponsored Links
-
Recent Posts
- How to add ICMP Echo Request to AWS Security Group from the CLI
- How to fix STOP: 0x0000007B blue screen when moving virtualbox machine to another computer
- pip is broken with AttributeError: ‘module’ object has no attribute ‘SSL_ST_INIT’
- Generate a certificate request but keep your old key with openssl
- OSError: [Errno 1] Operation not permitted: Extras/lib/python/six-1.4.1-py2.7.egg-info’
Categories
- AWS (1)
- cli (1)
- CSS (1)
- django (4)
- DNS (1)
- DRBD (1)
- Exchange (1)
- FAX (1)
- FTP (1)
- git (2)
- Glusterfs (1)
- IIS (1)
- Kemp (1)
- Linux (38)
- lxc (3)
- Mac OS X (11)
- Malware (2)
- Microsoft (7)
- Multipoint Server 2012 (1)
- mysql (3)
- nagios (2)
- nginx (3)
- Office 365 (1)
- PHP (1)
- postgres (9)
- python (9)
- QNAP (1)
- raspberry pi (1)
- Samba (2)
- Security (1)
- SSL (10)
- Tomcat (1)
- Ubuntu (2)
- Uncategorized (4)
- Virtualbox (1)
- vmware (2)
- Web Programming (2)
- windows (12)
Archives
- September 2018 (3)
- August 2018 (1)
- October 2017 (1)
- November 2016 (1)
- October 2016 (2)
- September 2016 (1)
- May 2016 (1)
- December 2015 (1)
- November 2015 (1)
- October 2015 (2)
- September 2015 (1)
- August 2015 (2)
- July 2015 (1)
- June 2015 (1)
- March 2015 (3)
- January 2015 (3)
- November 2014 (1)
- October 2014 (1)
- September 2014 (1)
- August 2014 (2)
- April 2014 (1)
- February 2014 (3)
- January 2014 (1)
- November 2013 (3)
- October 2013 (3)
- September 2013 (1)
- August 2013 (3)
- July 2013 (1)
- June 2013 (1)
- May 2013 (1)
- April 2013 (3)
- March 2013 (5)
- February 2013 (3)
- January 2013 (1)
- December 2012 (5)
- November 2012 (3)
- October 2012 (1)
- September 2012 (1)
- August 2012 (2)
- July 2012 (4)
- April 2012 (1)
- March 2012 (2)
- February 2012 (1)
- January 2012 (4)
- December 2011 (1)
Category Archives: Linux
How to install same packages on another ubuntu 12.04 server
There is a lot of stuff out there about this, but none of them worked for me as well as this. The difference is that the deborphan command pretty much just lists the packages you actually installed, not the stuff … Continue reading
How to restore a postgres database with a different owner
To restore a database and have the tables owned by a different user use the pg_dump command like this: as root user run: su postgres pg_dump -Fc database_name > database_name.dump exit Now you can restore using pg_restore. createuser -P -s … Continue reading
Posted in postgres
Comments Off on How to restore a postgres database with a different owner
mount error(13): Permission denied – Ubuntu 12.04
mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) This one can be really hard to track down. There are many reasons you might get this error. Basically it means you were denied access to the … Continue reading
Easy Linux DRBD cluster
If you are looking for an easy way to set up a DRBD cluster with automatic failover, take a look at the LCMC tool. It really simplifies the setup of corosync and pacemaker to give you failover clustering. It is … Continue reading
Remote command execution failed
When running check_by_ssh commands in nagios, one often receives this annoying message, and no data. To fix it, become the nagios user and ssh to the server you are checking by ssh. It will add the server to the … Continue reading