Category: Linux

AWSLinux
2025-01-15 12:02 (16 months ago)
How to Install AWS CLI V1 on Ubuntu Using Snap

The blog post provides a method to forcefully specify and install AWS CLI version 1 when attempting to install using the command `sudo snap aws-cli`, which by default installs version 2.

Linux
2024-06-13 03:09 (23 months ago)
Installing Google Chrome For Testing and Chromedriver on Ubuntu Linux

In a Bash loop where you `sleep` between iterations, skip the sleep on the very first iteration — a small `first` flag pattern.

DockerLinux
2022-06-12 02:55 (3 years ago)
When Running Docker via SSH and Encountering "the input device is not a TTY" Error, Add the -t Option

When trying to use the `docker run` command with SSH arguments and encountering the message "ssh docker run the input device is not a TTY," you can resolve the issue by adding the `-t` option to the SSH command.

Linux
2021-02-01 02:17 (5 years ago)
Expanding LVM to Full Capacity

Inspect `django-redis` cached values directly from `manage.py shell` — both `cache.get` and the raw Redis client commands.

Linux
2018-01-10 06:40 (8 years ago)
If You Want to Log in Without a Password Using an SSH Key File on a Server, It’s Better Not to Use "Home Directory Encryption"

Depending on the use case, this serves as a personal memo. Ubuntu.

DjangoLinux
2017-09-11 08:35 (8 years ago)
Install libgconf2 if Python Selenium ChromeDriver Fails to Start with Error 127

On Ubuntu 14.04, Selenium ChromeDriver exits with status 127 when `libgconf-2.so.4` is missing. Run `sudo apt install libgconf2-4` to fix it.

Linux
2017-06-06 10:56 (8 years ago)
Install ChromeDriver on Ubuntu

This is a guide on how to install ChromeDriver on Ubuntu.

Linux
2017-02-03 00:40 (9 years ago)
What to Do When 'geckodriver' Executable Needs to Be in PATH in Ubuntu's Selenium

Trying to run Selenium on Ubuntu from Python

DjangoLinux
2016-09-16 03:24 (9 years ago)
Failure of Django CSRF Token Authentication: ELB -> Apache2 -> uwsgi

Fix Django CSRF token failure on an AWS ELB → Apache2 → uWSGI stack. The pitfall is the HTTP/HTTPS scheme detection when switching from mod_wsgi to uWSGI.

Linux
2015-09-08 11:56 (10 years ago)
Install MySQL 5.6 on Ubuntu Linux 14.10

Install MySQL 5.6 on Ubuntu Linux 14.10 (which only ships with newer versions) via the `mysql-apt-config` package — step-by-step.

Linux
2015-06-11 06:28 (10 years ago)
Avoid using TLS 1.2 for certain websites that freeze during HTTPS connections with Curl, Python, and PHP

As I wrote in this article http://b.ytyng.com/a-61/, when you make an HTTPS connection with OpenSSL 1.0.1f and attempt to connect using TLS1.2 by issuing a hello, certain sites may freeze in response.

Linux
2015-06-11 05:50 (10 years ago)
Cannot Connect to a Specific Web Service Using HTTPS (TLS 1.2) - Freezes

When attempting to communicate using TLS1.2 with a specific web server and OpenSSL versions 1.0.1a to 1.0.1f, OpenSSL may freeze.

Linux
2015-05-13 01:35 (11 years ago)
Remove Trailing Slash from Variable in Bash

Strip a trailing slash from a Bash variable with the parameter expansion `${var%/}`. Useful for normalizing paths from arguments or env vars.

Linux
2014-04-07 09:49 (12 years ago)
When Trying to Install Redmine on CentOS 5.9, RMagick Fails to Install → Use su - Instead of sudo

I tried to install Redmine on Cent OS 5.9.

Linux
2013-08-03 01:29 (12 years ago)
Install MediaWiki with Visual Editor Enabled

I was thinking of creating an internal information sharing service using a Wiki. However, considering that non-developers would also be using it, I thought it would be best to have one with a WYSIWYG editor.

Linux
2011-07-18 14:56 (14 years ago)
Ubuntu: Keep Unity UI Launcher (Dock) Always Visible

Ubuntu 11.04

Categories

Archive