Basic Python Pyramid Virtual Environment

Init

sudo apt-get install virtualenv python-pip python-dev
pip install –upgrade pip setuptools
pip install pyramid gunicorn waitress

check pip settings in ~/.local/bin/pip

Python 3.6

sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.6
python3.6
virtualenv –python=python3.6 name_of_ve_dir

Create Virtual Environment from Pyramid setup.py

virtualenv –python=python3.6 ve4e9
source ve4e9/bin/activate
cd MyProject
python setup.py install
pserve development.ini

Activate Virtual Environment

source ve4e9/bin/activate

Pyramid Bakery

pip install cookiecutter

Create simple

cookiecutter gh:Pylons/pyramid-cookiecutter-starter
pip install -e “.[testing]”
pserve development.ini

Create Alchemy

cookiecutter gh:Pylons/pyramid-cookiecutter-alchemy
pip install -e “.[testing]”
initialize_MyProject_db development.ini
pserve development.ini

Clone

git clone ssh://account@repositoryurl.com/~/MyProject

Invoke

cd MyProject
pserve development.ini

Windows Networks Identity Management

Active Directory Domain Controller – Server 2008 r2, Server 2012 r2, Server 2016

Windows -> Start -> Administrative Tools -> Active Directory Users and Computers

All computers on the local network that have been joined to the local domain use the Active Directory User library. Instead of setting up user accounts on each computer, a central database is used to store logon names and passwords. (Generally) Kerberos is used to encrypt and exchange with handshake user logon name and password information. (Windows Professional required for workstations)

Jumpcloud

Install the jumpcloud client on all computers managed by the Jumpcloud database. (Generally) TLS1.1 is used for logon name and password information. First 10 users are free, then $7.50 per user per month.

15 users – 5*7.5*12*.75 = $ 1.875 per user per month paid annual

25 users – 15*7.5*12*.75 = $ 3.375 per user per month paid annual

50 users – $4.50 per user per month paid annual ($ 2,700 annual)

 

Server Costs

  • Server Acquisition – $1,500 – $25,000
  • Professional Installation – $1,000 – $5,000
  • Monthly support costs – $200 – $1,000
  • UPS – $250 – $2,000
  • Five (5) year warranty cost – $1,500 – $5,000 (4 hour repair)
  • Backup
  • Power
  • Heating and Cooling
  • Space utilization and access control

Ubuntu 16 server setup

adduser {{username}}
adduser {{username}} sudo

apt-get install apache2
apt-get install php
apt-get intsall libapache2-mod-php
apt-get install php-mcrypt
apt-get install php-mysql

apt install iptables
apt install fail2ban

apt update
apt full-upgrade
apt install build-essential
apt install tcl

add some swap

fallocate -l 1G /mnt/1GB.swap
dd if=/dev/zero of=/mnt/1GB.swap bs=1024 count=1048576
mkswap /mnt/1GB.swap
swapon /mnt/1GB.swap
chmod 0600 /mnt/1GB.swap
echo "/mnt/1GB.swap  none  swap  sw 0  0" >>/etc/fstab 

apt install mysql-server
mysql_secure_installation

## {{su}}
curl latest redis.io stable
make
make test
make install
mkdir /etc/redis
cp redis.conf /etc/redis

## create /etc/systemd/system/redis.service – e.g.

[Unit]
Description=Redis
After=network.target
[Service]
User=redis
Group=redis
ExecStart=/usr/local/bin/redis-server /etc/redis/redis.conf
ExecStop=/usr/local/bin/redis-cli shutdown
Restart=always
[Install]
WantedBy=multi-user.target

## now you need to diff your redis.conf – password, persistence, binding, etc.

## when you are ready to move … (or to test, see ExecStart)
systemctl enable redis

## next

cd /etc/apache2
ln mods-available/rewrite.load mods-enabled/rewrite.load

SEO Scams from gmail accounts

If you have a website contact form, and a popular website, you will receive daily emails promising high quality and low priced google ranking or SEO. Always unsolicited, here are some examples of the text of the inquiry;

Internet Marketing Services We would like to get your website on first page of Google. All of our processes use the most ethical “white hat” Search Engine Optimization techniques that Will not get your website banned or penalized. Please reply and I would be happy to send you a proposal.
Let us do the tedious SEO work for you. You know your business, we know SEO. Our rates are some of the most competitive in the industry. We will put in writing that everything we do adheres to all ethical Search Engine Optimization guidelines. At a minimum you owe it to yourself and your business to reply to this email so I can send you more information.
SEO Do you wish you could increase your online leads? Getting a GUARANTEED 1ST PAGE GOOGLE RANKING is easier and more cost-effective than you might think. We have helped a lot of businesses thrive in this market and we can help you! Simply hit reply and I’ll share with you the cost and the benefits See you at the top!
Then for the kicker, they want me to respond to a gmail, hotmail or yahoo account. I will never send an email to an unsolicited public account. No phone number to call. For all I know, these emails are just a way to build a mailing list for spam.

What indicates this is a waste of time is that there is never a company behind the message. Legitimate company owners and marketing departments want the name of their company known. There is no phone number. Often the name does not match the email account name.

Reputable SEO companies will meet with, have a phone number, a website and email addresses that match the website. At Web-Atlanta, we can meet face to face and provide references.

If this leads you to a cheap SEO service, Why not try it? Because effective optimization is a careful and cooperative effort. Unskilled or off-shore efforts not only waste your time and money but can hurt your ranking or lead to search engine penalties, or even getting your website banned!

Notpetya goldeneye windows versions vulnerable

Ransomware also known as Wannacry is attacking again, but Windows 7 and Windows 10 operating systems with March and April updates fully applied appear to be immune. The computers being hacked are old versions of Windows 10, 8, 7 and XP that have not had security updates installed. XP is especially vulnerable.

Symantec, McAffee and any other virus protection provider are not required to tell you that you do not need their products to protect against these infections, and in fact, you probably should have a virus program.

If you are not encrypted, but have an outdated computer, consider using fixmestick.com, then applying updates, then installing Norton anti-virus.

For more sophisticated users, use Microsoft Defender or Security Center, plus Malware Bytes, as well as an occasional scan with fixmestick.

If you are not encrypted but cannot update the operating system, back up your data and either buy a new computer or reformat the hard drive. If fixmestick cannot get the virus out of the computer, or the Windows Update program just will not run, the cost of remediation probably exceeds the cost of a new computer.

Wanncry struck about two months ago. The newest Petya is a very refined improvement of the virus. EternalBlue was first formalized by the US NSA for spying purposes. But if they had not formalized the code, someone else would have done the same. North Korea is known to have produced a variant that was less sophisticated.

The initial infection of NotPetya comes from an email phishing scheme, sometimes in a password protected Microsoft Word document. Then, using the EternalBlue exploit it can worm its way within private networks of vulnerable networks.

Another NSA project called EternalRomance may have code in NotPetya. NotPetya has capabilities that allow it to steal administrator passwords and use them to further replicate. However, using Microsoft password facilities best practices would appear to make this a less likely threat.

Google local business center

Google Places

Google has renamed the local business center ‘Google Places’, and companies with two or more employees must consider using this resource. Added with Bing and Yahoo, these local listings, which are ‘free’, are, more often than not, more important than a $ 300 per month yellow pages ad. It does depend on your situation. Business managers have many questions around managing these listings. Knowing best practices is an evolving skill as guidelines change several times a year. The professionals at Web Atlanta keep up with best practices, and can manage the google, bing, yahoo triad for local businesses for as little as $ 500. In addition, here is some free information if you want to attempt to do this yourself. Good luck.

Business Address

If you work out of your home, you may well wish to hide your business address. But you should still use a proper address. Addresses in commercial districts get higher rankings than residential addresses. Companies with real commercial presences on the street deserve to, and are ranked more highly.

Owning listings

The first thing we do at Web Atlanta is establish an e-mail address under which all the listings are defined or claimed. We like to use a gmail account, or a domain account, where we are confident that we will never lose control of the password for that account. Domain accounts are best. Only a business owner or their authorized agents should claim the listing. If you have not claimed your listings, you may get scammed. We have charged several thousand dollars to support legal and technical actions to rescue business managers from these scamsters. They swoop in and ‘claim’ listings before business owners notice. Because the claiming process is technical in nature, this leaves businesses vulnerable until the proper safeguards are taken.

Business Names and keywords

Stick to your business name, as you may suffer delays and the penalty box if the search engine heuristics look to match up the business name with a legitimate known business name. The search engines may also look for keyword cheating and penalize that. You want your registered business exactly as the Secretary of State so defines it. Attempting to influence the rank of your local business listing with ‘black hat’ techniques may sometimes work, but we will not do that on your behalf.

Web-site domain name & Phone

A local listing usually lets you to enter a URL and a phone number. A history of yellow page advertising helps your ranking. But Yellow Pages are often printed with tracking numbers, and this does not help, i.e. your business being associated with a tracking number. You want the search engines to associate your business and phone number. It is possible, where a tracking number has been used for many years, that enough business citations are known to the search engines, and this may help. List the tracking number as an extra phone number, if possible.

Other Stuff

Add your business logo. You should have business artwork in digital form, like a logo for upload. Add two to four pictures of your building, products or employees at work. Add Videos, especially youtube videos of your products and your employees working. Add your business hours and use the service area definition procedures to delineate your service area, especially for businesses that visit homeowners like the trades.

  • Jpegs and gifs, photos, logo
  • Videos
  • Hours of Operation
  • Categories of products and services
  • Payment forms accepted

Best Practices

In the SEO industry, Web Atlanta can be trusted to protect your business investment. Using off-shore or inexperienced help can be risky. Experienced search engine optimization professionals should be used for businesses not wanting to risk their reputation.

Cost of a business website

Many new business people fail to consider the cost of a website in their startup costs. They may also want to hold off on a website until other avenues are exhausted. The first rule of prospects and leads is to do business with people you know. Then ask them if they know anyone that could use your services. It’s all free!

But at some point you need to have a website. It is the new yellow pages. People need to find your phone number, and while they may remember your brand name, or your city and trade, we tend to misplace your business card and rely on looking up your phone number with google. That could suck for you.

To begin with, instead of wondering how much it will cost, set a budget of $ 750 for your first web-site. First you will have to register a domain, for at least five years, you have $ 700 left. Now you need a computer to store and provide your website to visitors, an annual service called hosting. There goes a hundred bucks a year. Your website should incorporate your logo. Don’t have one? There goes $ 150 to $ 500 for a digital branding package. That might leave you with from $ 100 to 500 to spend on the website design, and yes it can be done.

The most difficult part of the web design will not be the designers job, it will be talking about your business. You need 500 words about your business, philosophy, customers and market. You then need at least 500 words about your products and or services. Finally you need a contact page that contains your phone number, and if you have an office or mailing address, that should be included. There, we are done. That is a simple three page web-site.

If you have a business address, it is time to establish listings in Google Places and Bing Local Listings. These have become more important than the yellow and white pages. You can struggle through this yourself, or pay various professionals three to five hundred dollars to accomplish this somewhat technical task.

Been there done that, and ready to do it for real? Here is a guide to budgeting for a website upgrade, probably better suited for your second time through:

    Small Budget Big Budget
Number of Pages 6 to 10   $ 2,000   $ 3,000
Style and Design Simple yet attractive   $ 2,000   $ 3,000
Copywriting three to five pages   $ 1,000   $ 1,500
SEO major keywords and phrases    $ 2,000   $ 4,000
Graphical and Photography   Just Enough   $ 1,000   $ 2,000
Content Management System  Standard   $ 2,000   $ 4,000
  TOTAL BUDGET COSTS  $10,000  $15,500

Whoa, Nelly! Do I need all that? Probably not, but when you are ready to truly be found on search engines with an attractive web design, be prepared to budget three to five thousand. Need a professional photographer? Expect to spend from $ 300 to 1000 a session. Do you want to include products from your database, with current pricing or inventory levels? Expect to spend a couple thousand for the integration. Looking to sell things on-line? Expect to pay a consultant to help you with Amazon or Yahoo shopping to make an initial foray. If you want to run your own shopping site, the costs can be $ 10,000 quickly.