Categories
Development System & Network

Removing a duplicate Python installation on RHEL

I have a RHEL box with two installations of Python, how do I specify which to remove? I’ve tried “package-cleanup –cleandupes” but it’s had no effect. Here’s the dupes: [root@lolserver:~/]# rpm -qa python python-2.7.5-79.el7_6.x86_64 python-2.7.5-86.el7.x86_64 [root@lolserver:~/]# yum –showduplicates list python | expand Installed Packages python.x86_64 2.7.5-79.el7_6 @rhel7 python.x86_64 2.7.5-86.el7 installed I’d like to remove python-2.7.5-86.el7.x86_64 […]

Categories
Development System & Network

Configure NGINX reverse proxy to verify client certificate custom field

I would like to verify a client certificate “custom” field directly with NGINX before returning it to the actual page. As I understand from here: http://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_verify_client it’s easily achievable for fields like subject DN, issuer DN , client searial, end date etc But is there a way to validate a custome field my CA is […]

Categories
Development System & Network

Effect of chmod -R 777 *

A newbie here. Can someone help me understand what are the effects of running the following command from a directory: sudo chmod -R 777 * Will it effect the whole file system or the contents of that particular directory? Thanks

Categories
Development System & Network

Apache Directory indexing does not work in a subdirectory

I have a simple file server (apache 2.4 on centos 7) with following structure: /index.html – a page to make sure there is no directory listing here /upload – php scripts for upload /storage – base dir for files /storage/upload – files uploaded by php /storage/public – files that are not password protected I can’t […]

Categories
Bitcoin Cryptocurrency Development

12 word phrase sequence Bitcoin

I have 12 word Phrase but I forgot the sequence of phrase. Any tools online can able to arrange the word?

Categories
Development Linux Ubuntu

Can’t purge and reinstall nvidia drivers from Ubuntu 18.04

I haven’t managed to get steam games working on the nvidia GPU and now I’m trying to reinstall it to see if it helps. However purge is not working. –fix-broken and variants didn’t work. How can I fix this? Output to sudo apt purge nvidia-*: Reading package lists… Done Building dependency tree Reading state information… […]

Categories
Development Linux Ubuntu

Shortcuts to resize windows

I’ve just installed Ubuntu 18.04 and I’m wondering if there’s a way to set shortcuts for commonly/frequently used resizing and positioning of the windows. My other laptop is a Macbook and I use Magnet to quickly resize and reposition windows. Using Magnet I can quickly hit Alt+↑ to snap a window to the upper half […]

Categories
Development Linux Ubuntu

How do I ask pip to use system packages installed through apt when possible?

I am trying to install Spleeter from Deezer in order to remove music from songs using deep learning for free. This is a package which is not present on debian but which can be installed using pip. So I installed pip3 through apt and as much of the python dependencies as possible through their apt […]

Categories
Development Linux Ubuntu

Bluetooth only available after restart on Kubuntu 18.04

My Toshiba laptop running Kubuntu 18.04 doesn’t recognize the Bluetooth adapter after a fresh start up. After restart it works. Symptoms are like this : $ sudo rfkill list 0: Toshiba Bluetooth: Bluetooth Soft blocked: no Hard blocked: no 1: phy0: Wireless LAN Soft blocked: no Hard blocked: no 2: brcmwl-0: Wireless LAN Soft blocked: […]

Categories
Development Linux Ubuntu

Just installed 18.4.3 having wifi connection issues. (connects but slow or doesn’t connect at all)

So first time Linux user from a lifetime of windows. I got a Jumper EZ 6 Pro tablet laptop over the holiday and decided to replace windows 10 and install Ubuntu 18.4.3 LTS as the OS. i started it up on windows 10 just to make sure everything worked out of the box and to […]