Installing Python 3.8.2 and PyCharm Community on CentOS 7

I recently was accepted into Stanford’s ‘Code In Place’ class. We’re instructed to use PyCharm and Python 3.8 to complete the class. I had to solve a number of problems in order to get everything running on CentOS 7. 

If I was going to do it again, I would do it in this order and save myself a few interim steps and four-letter words.

From a shell terminal:

sudo yum -y install openssl-devel bzip2-devel libffi-devel

sudo yum install gcc

sudo yum -y install wget

wget https://www.python.org/ftp/python/3.8.2/Python-3.8.2.tgz

tar xvf Python-3.8.2.tgz

cd Python-3.8.2/

./configure –enable-optimizations

sudo make altinstall

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

sudo python get-pip.py

sudo unlink /usr/bin/python

sudo ln -s /usr/local/bin/python3.8 /usr/bin/python

With my browser I downloaded the PyCharm Community Version for Linux from here:

https://www.jetbrains.com/pycharm/download/download-thanks.html?platform=linux&code=PCC

Then back in the terminal 

sudo tar xvfz pycharm-community-2017.3.2.tar.gz -C /opt/

sudo /opt/pycharm-community-2017.3.2/bin/pycharm.sh

Everything seems to work as expected now.

I hope this helps!

A Simple Microservice to Stop Botnets and SEO Spam

It seems that I can never build just one thing. In order to build the project that I’d like to build, I find myself building myriad microservices to support it. As my portfolio of projects broaden, I’ve started to develop a library of solutions to solve those reoccurring problems. 

I’m working on a budget and I have a limited amount of network and processing resources at my disposal. Some of my projects are becoming really resource hungry. Consequently, I’ve started to look deeply into my logs to determine where all my bandwidth is going and what’s causing all of the processing. Since I have over a dozen web development projects underway, I had to build a way to aggregate the data, analyze it, and make decisions based upon it.

The solution I created to solve my problem is called Bad Lot and it’s ready for you to give it a try. Bad Lot is a simple tool to help protect your apps, web sites and APIs. Unlike blacklists and traditional protection services, Bad Lot specifically targets problematic hosts that steal cryptocurrency, drain advertising budgets, and waste valuable bandwidth needed for video streaming.

Bad Lot not only aggregates host data about tens of thousands of hosts from commercial and public sources but analyzes and tracks ongoing activity on a network level to identify bots, SEO spammers, proxies and tor hosts by their activity fingerprint.

If you are trying to stop web scraping, Tor traffic, or denial of service (DDoS) attacks while reducing server loads and bandwidth costs, Bad Lot is exactly what you’re looking for. Give it a try and let me know what you think!

Bad Lot IP Tools can be found at https://b.adlot.to/

Proudly powered by WordPress | Theme: Baskerville 2 by Anders Noren.

Up ↑