GeekyLog - BlueT's LoGeeks, Logics of Geeky Thoughts.

To content | To menu | To search

Monday 2017 April 17

Secure Web Connection with Lighttpd + Let’s Encrypt = A+ score on ssllabs (HTTPS + HSTS)

Lighttpd + Let’s Encrypt + This HOWTO = A+ score on ssllabs (HTTPS + HSTS)
My A+ report: https://www.ssllabs.com/ssltest/analyze.html?d=geeky.name&s=188.166.188.226
ssllabs A+ rating for geeky.name

Continue reading...

Sunday 2017 April 16

Writing Post on Drupal with Markdown

Drupal is great but could be even better with Markdown.
This is the HOWTO you're looking for.
This article is written in markdown.

Env: Drupal 7

Continue reading...

Thursday 2017 April 13

Running Microsoft SQL Server on Linux in Docker

One of the organizations that recently consulted me for advice, no longer willing to be extortion by Microsoft's high licensing fees, and plans to replace all Windows Server with Linux (Ubuntu).
No big deal for services written in PHP, Java, and other cross platform languages. But some of the systems use MicroSoft SQL Server as their Database.
The permanent cure is to migrate to MySQL, MariaDB, or other OpenSource Databases. But it takes time to translate all schema and queries.
The other solution is to use Microsoft SQL Server on Linux in Docker as a temporary workaround.

Continue reading...

Saturday 2016 November 12

[HOWTO] Single-Host OpenStack installation with conjure-up, juju, LXD, and ZFS on Ubuntu 16.04

I 've had enough of VMware and it's service. I need something better for my DataCenter.
OpenStack seems to have the functions I need, and got a big community supporting it.
Before adopting, some pilot tests are required.
I've setup a Single-Host OpenStack (everything on one server), use Nova LXD, and ZFS.


Continue reading...

[HOWTO] Update all firmware and drivers at once on Dell server (with bootable CD / USB)

I run Ubuntu Linux on my Dell server, so those SUU doesn't work.
The easiest way to update all it's firmwares is, use a bootable CD to do the thing for you, automatically.


Continue reading...

Tuesday 2016 March 29

HOWTO: Ubuntu Linux (64bit) Client connect to Juniper SSL VPN, without 32bit Java (en)

Juniper SSL VPN is widely been used in many places, including almost every National University in Taiwan, provided by TWAREN.
Using Ubuntu (Linux) 64bit as client to connect to it is not painless, but Pain-in-the-Ass.
If you don't want to install another HUGE 32bit Java just for it, this is the right HOWTO Guide for you.


If you want Chinese HOWTO, check 中文版教學

Continue reading...

Monday 2016 March 21

HOWTO - Set Tag color on Taiga.io

Taiga is a nice tool for project management for Scrum / Agile development.
But the Tag Color setting on UI is missing so there's no way to change or modify tag color after creating.
We have to set it manually via REST interface.
And this is HOW.

Continue reading...

Friday 2011 April 15

HOWTO - Disable IPv6 support in Ubuntu/Linux.

As many people know, Ubuntu supports IPv6 by default.
It's nice but sometimes you don't have chance to use IPv6 in your network environment.
And maybe, sometimes it brings few more complexity for your system administration tasks.

For example, if you set listen_ip=0.0.0.0:80 in a services daemon's config file and hope it can listen to all of the IPv4 IPs of your network interfaces, you might not get what you want.

This is because, if the daemon supports both IPv4 and IPv6, it will listen to IPv6 :::80 by default. That's why you cannot connect to your service even the network link is up.

Continue reading...

Thursday 2011 March 17

HOWTO: PPTP: Ubuntu Client connect to Windows VPN Server

The company I work for just starting to use Windows ISA Server (or whatever) in some places.
And also, they use the Windows server to be a VPN server.
As Micro$oft doesn't officially support OpenVPN, and we don't consider IPsec to be used for end users, they decide to use the fu*king insecure PPTP, which I would definitely never wanna try.
That's where my Nightmare starts.

Continue reading...

Saturday 2010 July 10

Web Log Visualization with logstalgia

$ logstalgia --output-ppm-stream - -s 10 -f --start-position 0.01 --stop-position 0.2 severity_v2_access.log.filter-118.160.72  --output-framerate 30 |  ffmpeg -y -b 256K -r 30 -f image2pipe -vcodec ppm -i - -vcodec libx264 coscup2010-register_0.01-0.2_speed10_45min-filter_118.160.72.mp4

Saturday 2009 November 28

±€231

It's ±€231 for my price.

Thursday 2009 September 24

HOWTO: KVM - build ubuntu guest VM, bridge network and iptables port forwarding

Once you install and setup KVM, configure kvm itself and system network bridge interface correctly on your Ubuntu server,
you can now starting to build a guest OS / disk image, run it, and use iptables to forward connections to those new VPSes.

Continue reading...

HOWTO: flush / clean DNS cache in Linux

Sometimes your system caches too much on DNS query / records.

DNS caching helps alot on reducing time and bandwidth when your application needs DNS informations,
but just like anything else in the world; it's not a good thing when it does too over.

Continue reading...

Wednesday 2009 July 8

sockstat for Linux

sockstat was only for freebsd, now it's on linux too. something like ‘lsof -i -n’ or ‘netstat -anpe‘.

You can get the 0.3-1ubuntu1 version at the "Builds": https://launchpad.net/ubuntu/+source/sockstat/0.3-1ubuntu1

I download it and install it on my jaunty i386 without any problem.
Intro by chihchun: http://people.debian.org.tw/~chihchun/2009/02/23/sockstat-for-linux/