Bizzard's Hackshop
Always under construction!

For a long time, the issue with uploading files to Media Library was there in the blog. Since I wasn’t updating it frequently, it wasn’t bothering me much

When I tries to upload a media file, everything goes smoothly, but finally the file won’t be there in the uploads directory. I played a lot with file/directory permissions, but without success. The same configuration works in other wordpress blogs too.

Figured it out today that the issue was with the Media Path where files are to be stored, which can be found at <wordpress url>/wp-admin/options-media.php or the direct database entry “upload_path” in “options” or “wp_options” table depending on the table prefix.

I might have forgot to update the upload path when the site was migrated to the new server.

No Comments | Read More...

Being a netizen, its a long time ambition for me to be self sufficient to run the basic online services needed. Basic services for me on internet include:

  • Mail
  • Website / Blog
  • Storage / Data Sync
  • Contacts
  • Calender
  • IM

Earlier, these were distributed over multiple providers, but now mostly revolves around Google. GMail for Mail, Google Analytics in Websites, Google drive for cloud storage, again Google Contacts, GTalk/Hangouts, Google+, etc. So, its also an effort to get out of Google services with minimum effect on usability.

No Comments | Read More...

Fail2Ban is an intrusion prevention framework written in the Python. It ban IP’s that makes too many failed attempts or performs any other unwanted action within a time frame defined, using iptables, thus helping the system admin to prevent attacks.

Though its very helpful, in an office network that has only one public IP and multiple users accessing the same server, there are chances that IP’s gets blocked more frequently. For Eg, let the setting be like 3 failed attempts on ssh port in 60 mins will block the IP for 2 hours. If 5 systems in a network access the server and any 3 of them makes one failed attempt, the IP gets blocked.

No Comments | Read More...

Being a Debian user, I always like to experiment with the latest packages, and so I have many third party debian repositories listed in the sources.list file. Whenever I am adding it for the first time, I usually get the error:

“The following signatures couldn’t be verified because the public key is not available”

On googling multiple solutions can be found to add a public key using apt-key, but most of them has 3 or 4 commands, including downloading the key, move it to a file and then import. But the one line command that does the same is as below:

apt-key adv --keyserver keyserver_url --recv-keys key_id
No Comments | Read More...

Recommended MX records and Priority for Google Apps accounts

Record Priority
aspmx.l.google.com 1
alt1.aspmx.l.google.com 5
alt2.aspmx.l.google.com 5
aspmx2.googlemail.com 10
aspmx3.googlemail.com 10
No Comments | Read More...