-
Packages needed for building MySQL/MariaDb/Percona
From a stock/standard/typical/desktop install of Linux, it seems these are required in order to build MySQL/MariaDb/Percona forks: gcc gcc-c++ automake libtool bison ncurses (Thanks Justin!) Do apt-get, yum, rpm, emerge, or whatever to get them before doing configure, make and such. I am missing one, and I think it has “curse” or something like that…
-
SSH without typing password using public key
I’ve done transferring public key id_rsa.pub (or id_dsa.pub and identity.pub) and appending that to authorized_keys (or authorized_keys2) file on remote host many times in the past, but the last time I did that was a bit over 2 months ago. Today I wanted to write a Python script for blog database backup and copying to…
-
Getting rid of “Welcome to Internet Explorer 8” screen
The lack of Vimperator function in Chrome, which exists in Firefox, prevents me from totally switching to it. Because I work in different environments in terms of different clients and operating systems, I have to use Internet Explorer sometimes. And I found the “Welcome to Internet Explorer 8” screen upon IE starting, if you have…
-
List all database files in a SQL Server instance with Python and pyodbc
For SQL Server management from Linux, I’ve used pymssql on Linux before, but realized lately that it is hard to configure with the heterogeneous environment I am in. So I am giving pyodbc a try. The install on Windows is simple. Listed below is some code that I put together quickly for some testing. It…
-
Notes for mounting Amazon EBS block device