SlideShare a Scribd company logo
www.glcnetworks.com
Dynamic website
with python
GLC webinar, 4 Feb 2021
Achmad Mardiansyah
achmad@glcnetworks.com
GLC Networks, Indonesia
1
www.glcnetworks.com
Agenda
● Introduction
● How website works
● Python language
● Python for dynamic website
● Live practice
● Q & A
2
www.glcnetworks.com
introduction
3
www.glcnetworks.com
What is GLC?
● Garda Lintas Cakrawala (www.glcnetworks.com)
● Based in Bandung, Indonesia
● Areas: Training, IT Consulting
● Certified partner for: Mikrotik, Ubiquity, Linux foundation
● Product: GLC radius manager
● Regular event
4
www.glcnetworks.com
Trainer Introduction
● Name: Achmad Mardiansyah
● Base: bandung, Indonesia
● Linux user since 1999, mikrotik user since 2007, UBNT
2011
● Mikrotik Certified Trainer
(MTCNA/RE/WE/UME/INE/TCE/IPv6)
● Mikrotik/Linux Certified Consultant
● Website contributor: achmadjournal.com, mikrotik.tips,
asysadmin.tips
● More info:
http://au.linkedin.com/in/achmadmardiansyah
5
www.glcnetworks.com
Past experiences
6
● 2021 (Congo DRC, Malaysia): network support,
radius/billing integration
● 2020 (Congo DRC, Malaysia): IOT integration,
network automation
● 2019, Congo (DRC): build a wireless ISP from
ground-up
● 2018, Malaysia: network revamp, develop billing
solution and integration, setup dynamic routing
● 2017, Libya (north africa): remote wireless migration
for a new Wireless ISP
● 2016, United Kingdom: workshop for wireless ISP,
migrating a bridged to routed network
www.glcnetworks.com
About GLC webinar?
● First webinar: january 1, 2010 (title:
tahun baru bersama solaris - new year
with solaris OS)
● As a sharing event with various topics:
linux, networking, wireless, database,
programming, etc
● Regular schedule
● Irregular schedule: as needed
● Checking schedule:
http://www.glcnetworks.com/schedule
● You are invited to be a presenter
○ No need to be an expert
○ This is a forum for sharing: knowledge,
experiences, information
7
www.glcnetworks.com
Please introduce yourself
● Your name
● Your company/university?
● Your networking experience?
● Your mikrotik experience?
● Your expectation from this course?
8
www.glcnetworks.com
How website works
9
www.glcnetworks.com
10
www.glcnetworks.com
Python language
11
www.glcnetworks.com
Python language
● Interpreted language (similar to PHP)
● Programming language (HTML is not
programming language)
● Easier to read
● Multi purpose language
○ Application
○ Webbased application
○ Data science
○ Machine Learning
○ Internet Of Things
● Big community
● Lots of library
We assume you already familiar with python
12
www.glcnetworks.com
Python for dynamic website
13
www.glcnetworks.com
mod_python
● An apache module
● Bundled into webserver
● Require more resources,
especially RAM
14
Source: nick.borko.org
www.glcnetworks.com
● Web Server Gateway Interface
● Standadise interface
● Supported by community
wsgi
15
www.glcnetworks.com
Now lets try...
16
<IfModule !wsgi_module>
LoadModule wsgi_module modules/mod_wsgi_python3.so
</IfModule>
WSGIScriptAlias /test_wsgi /var/www/html/test_wsgi.py
WSGIScriptAlias /test1 /var/www/html/test1.py
WSGIScriptAlias /test2 /var/www/html/test2.py
WSGIScriptAlias /test3 /var/www/html/test3.py
WSGIScriptAlias /test4 /var/www/html/test4.py
WSGIScriptAlias /test5 /var/www/html/test5.py
WSGIScriptAlias /test6 /var/www/html/test6.py
WSGIScriptAlias /test7 /var/www/html/test7.py
WSGIScriptAlias /test8 /var/www/html/test8.py
WSGIScriptAlias /test9 /var/www/html/test9.py
<Directory /var/www/html>
Order allow,deny
Allow from all
</Directory>
www.glcnetworks.com
LIVE practice
17
www.glcnetworks.com
preparation
● SSH client
● SSH parameters
○ SSH address
○ SSH port
○ SSH username
○ SSH password
18
www.glcnetworks.com
Q & A
19
www.glcnetworks.com
Interested? Just come to our training...
● Topics are arranged in systematic and logical way
● You will learn from experienced teacher
● Not only learn the materials, but also sharing experiences, best-practices, and
networking
20
www.glcnetworks.com
End of slides
● Thank you for your attention
● Please submit your feedback: http://bit.ly/glcfeedback
● Like our facebook page: https://www.facebook.com/glcnetworks
● Slide: http://www.slideshare.net/r41nbuw
● Recording (youtube): https://goo.gl/28ABHU
● Stay tune with our schedule
● Any questions?
21

More Related Content

What's hot (12)

PDF
Course Document
Clarence Ngoh
 
PDF
Seven ways to be a happier JavaScript developer - NDC Oslo
Christian Heilmann
 
PDF
Boot to Gecko Introduction
陳 鵬宇
 
ODP
Plone Intranet under the hood
Guido Stevens
 
PDF
HTML5 Jump Start
Haim Michael
 
PDF
Hinting at a better web
Christian Heilmann
 
PPTX
Computing
dkovacsdavid
 
PDF
Rethinking The Policy Agent
ForgeRock Identity Tech Talks
 
PDF
Moodle performance and stress testing
moorejon
 
PDF
C4ainaction-Introduction to the Pyramid Web Framework
Francis Addai
 
PDF
J2EE6_DevelopWebServices_00_Preample
Michael Mountrakis
 
PDF
Let data flow, like an endless river into your OSGi application - M Hoffmann
mfrancis
 
Course Document
Clarence Ngoh
 
Seven ways to be a happier JavaScript developer - NDC Oslo
Christian Heilmann
 
Boot to Gecko Introduction
陳 鵬宇
 
Plone Intranet under the hood
Guido Stevens
 
HTML5 Jump Start
Haim Michael
 
Hinting at a better web
Christian Heilmann
 
Computing
dkovacsdavid
 
Rethinking The Policy Agent
ForgeRock Identity Tech Talks
 
Moodle performance and stress testing
moorejon
 
C4ainaction-Introduction to the Pyramid Web Framework
Francis Addai
 
J2EE6_DevelopWebServices_00_Preample
Michael Mountrakis
 
Let data flow, like an endless river into your OSGi application - M Hoffmann
mfrancis
 

Similar to Dynamic Website with Python (20)

PDF
Introduction to Python
GLC Networks
 
PDF
Building Web Server with Linux
GLC Networks
 
PDF
Introduction to Web Development
GLC Networks
 
PDF
Using Control-Webpanel for Hosting Service - Part 1
GLC Networks
 
PDF
Building a Web Server with NGINX
GLC Networks
 
PDF
Machine Learning with Python
GLC Networks
 
PDF
Building API with PHP
GLC Networks
 
PDF
Socket Programming with Python
GLC Networks
 
PDF
Up and Running SSH Service - Part 1
GLC Networks
 
PDF
Manage Your Router with Dynamic Public IP
GLC Networks
 
PDF
Zabbix for Monitoring
GLC Networks
 
PDF
Machine Learning with Python
GLC Networks
 
PDF
Mikrotik Hotspot
GLC Networks
 
PDF
Running BGP with Mikrotik
GLC Networks
 
PDF
GIT as Mikrotik Configuration Management
GLC Networks
 
PDF
Up and Running DNS Service
GLC Networks
 
PDF
Internet Protocol Deep-Dive
GLC Networks
 
PDF
Build Your Own ISP
GLC Networks
 
PDF
Mikrotik fastpath
Achmad Mardiansyah
 
PDF
SQL for Data Science
GLC Networks
 
Introduction to Python
GLC Networks
 
Building Web Server with Linux
GLC Networks
 
Introduction to Web Development
GLC Networks
 
Using Control-Webpanel for Hosting Service - Part 1
GLC Networks
 
Building a Web Server with NGINX
GLC Networks
 
Machine Learning with Python
GLC Networks
 
Building API with PHP
GLC Networks
 
Socket Programming with Python
GLC Networks
 
Up and Running SSH Service - Part 1
GLC Networks
 
Manage Your Router with Dynamic Public IP
GLC Networks
 
Zabbix for Monitoring
GLC Networks
 
Machine Learning with Python
GLC Networks
 
Mikrotik Hotspot
GLC Networks
 
Running BGP with Mikrotik
GLC Networks
 
GIT as Mikrotik Configuration Management
GLC Networks
 
Up and Running DNS Service
GLC Networks
 
Internet Protocol Deep-Dive
GLC Networks
 
Build Your Own ISP
GLC Networks
 
Mikrotik fastpath
Achmad Mardiansyah
 
SQL for Data Science
GLC Networks
 
Ad

More from GLC Networks (20)

PDF
Firewall mangle PBR: steering outbound path similar to inbound
GLC Networks
 
PDF
Internal BGP tuning: Mesh peering to avoid loop
GLC Networks
 
PDF
BGP tuning: Peer with loopback
GLC Networks
 
PDF
BGP security tuning: pull-up route
GLC Networks
 
PDF
BGP troubleshooting: route origin
GLC Networks
 
PDF
Steering traffic in OSPF: Interface cost
GLC Networks
 
PDF
Tuning OSPF: Bidirectional Forwarding Detection (BFD)
GLC Networks
 
PDF
Tuning OSPF: Prefix Aggregate
GLC Networks
 
PDF
Tuning OSPF: area hierarchy, LSA, and area type
GLC Networks
 
PDF
Stable OSPF: choosing network type.pdf
GLC Networks
 
PDF
Controlling Access Between Devices in the same Layer 2 Segment
GLC Networks
 
PDF
RouterOS Migration From v6 to v7
GLC Networks
 
PDF
Best Current Practice (BCP) 38 Ingress Filtering for Security
GLC Networks
 
PDF
EOIP Deep Dive
GLC Networks
 
PDF
Policy Based Routing with Indirect BGP - Part 2
GLC Networks
 
PDF
Policy Based Routing with Indirect BGP - Part 1
GLC Networks
 
PDF
Network Monitoring with The Dude and Whatsapp
GLC Networks
 
PDF
Mikrotik IP Settings For Performance and Security
GLC Networks
 
PPTX
Automatic Backup via FTP - Part 2
GLC Networks
 
PDF
Automatic Backup via FTP - Part 1
GLC Networks
 
Firewall mangle PBR: steering outbound path similar to inbound
GLC Networks
 
Internal BGP tuning: Mesh peering to avoid loop
GLC Networks
 
BGP tuning: Peer with loopback
GLC Networks
 
BGP security tuning: pull-up route
GLC Networks
 
BGP troubleshooting: route origin
GLC Networks
 
Steering traffic in OSPF: Interface cost
GLC Networks
 
Tuning OSPF: Bidirectional Forwarding Detection (BFD)
GLC Networks
 
Tuning OSPF: Prefix Aggregate
GLC Networks
 
Tuning OSPF: area hierarchy, LSA, and area type
GLC Networks
 
Stable OSPF: choosing network type.pdf
GLC Networks
 
Controlling Access Between Devices in the same Layer 2 Segment
GLC Networks
 
RouterOS Migration From v6 to v7
GLC Networks
 
Best Current Practice (BCP) 38 Ingress Filtering for Security
GLC Networks
 
EOIP Deep Dive
GLC Networks
 
Policy Based Routing with Indirect BGP - Part 2
GLC Networks
 
Policy Based Routing with Indirect BGP - Part 1
GLC Networks
 
Network Monitoring with The Dude and Whatsapp
GLC Networks
 
Mikrotik IP Settings For Performance and Security
GLC Networks
 
Automatic Backup via FTP - Part 2
GLC Networks
 
Automatic Backup via FTP - Part 1
GLC Networks
 
Ad

Recently uploaded (20)

PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 

Dynamic Website with Python

  • 1. www.glcnetworks.com Dynamic website with python GLC webinar, 4 Feb 2021 Achmad Mardiansyah [email protected] GLC Networks, Indonesia 1
  • 2. www.glcnetworks.com Agenda ● Introduction ● How website works ● Python language ● Python for dynamic website ● Live practice ● Q & A 2
  • 4. www.glcnetworks.com What is GLC? ● Garda Lintas Cakrawala (www.glcnetworks.com) ● Based in Bandung, Indonesia ● Areas: Training, IT Consulting ● Certified partner for: Mikrotik, Ubiquity, Linux foundation ● Product: GLC radius manager ● Regular event 4
  • 5. www.glcnetworks.com Trainer Introduction ● Name: Achmad Mardiansyah ● Base: bandung, Indonesia ● Linux user since 1999, mikrotik user since 2007, UBNT 2011 ● Mikrotik Certified Trainer (MTCNA/RE/WE/UME/INE/TCE/IPv6) ● Mikrotik/Linux Certified Consultant ● Website contributor: achmadjournal.com, mikrotik.tips, asysadmin.tips ● More info: http://au.linkedin.com/in/achmadmardiansyah 5
  • 6. www.glcnetworks.com Past experiences 6 ● 2021 (Congo DRC, Malaysia): network support, radius/billing integration ● 2020 (Congo DRC, Malaysia): IOT integration, network automation ● 2019, Congo (DRC): build a wireless ISP from ground-up ● 2018, Malaysia: network revamp, develop billing solution and integration, setup dynamic routing ● 2017, Libya (north africa): remote wireless migration for a new Wireless ISP ● 2016, United Kingdom: workshop for wireless ISP, migrating a bridged to routed network
  • 7. www.glcnetworks.com About GLC webinar? ● First webinar: january 1, 2010 (title: tahun baru bersama solaris - new year with solaris OS) ● As a sharing event with various topics: linux, networking, wireless, database, programming, etc ● Regular schedule ● Irregular schedule: as needed ● Checking schedule: http://www.glcnetworks.com/schedule ● You are invited to be a presenter ○ No need to be an expert ○ This is a forum for sharing: knowledge, experiences, information 7
  • 8. www.glcnetworks.com Please introduce yourself ● Your name ● Your company/university? ● Your networking experience? ● Your mikrotik experience? ● Your expectation from this course? 8
  • 12. www.glcnetworks.com Python language ● Interpreted language (similar to PHP) ● Programming language (HTML is not programming language) ● Easier to read ● Multi purpose language ○ Application ○ Webbased application ○ Data science ○ Machine Learning ○ Internet Of Things ● Big community ● Lots of library We assume you already familiar with python 12
  • 14. www.glcnetworks.com mod_python ● An apache module ● Bundled into webserver ● Require more resources, especially RAM 14 Source: nick.borko.org
  • 15. www.glcnetworks.com ● Web Server Gateway Interface ● Standadise interface ● Supported by community wsgi 15
  • 16. www.glcnetworks.com Now lets try... 16 <IfModule !wsgi_module> LoadModule wsgi_module modules/mod_wsgi_python3.so </IfModule> WSGIScriptAlias /test_wsgi /var/www/html/test_wsgi.py WSGIScriptAlias /test1 /var/www/html/test1.py WSGIScriptAlias /test2 /var/www/html/test2.py WSGIScriptAlias /test3 /var/www/html/test3.py WSGIScriptAlias /test4 /var/www/html/test4.py WSGIScriptAlias /test5 /var/www/html/test5.py WSGIScriptAlias /test6 /var/www/html/test6.py WSGIScriptAlias /test7 /var/www/html/test7.py WSGIScriptAlias /test8 /var/www/html/test8.py WSGIScriptAlias /test9 /var/www/html/test9.py <Directory /var/www/html> Order allow,deny Allow from all </Directory>
  • 18. www.glcnetworks.com preparation ● SSH client ● SSH parameters ○ SSH address ○ SSH port ○ SSH username ○ SSH password 18
  • 20. www.glcnetworks.com Interested? Just come to our training... ● Topics are arranged in systematic and logical way ● You will learn from experienced teacher ● Not only learn the materials, but also sharing experiences, best-practices, and networking 20
  • 21. www.glcnetworks.com End of slides ● Thank you for your attention ● Please submit your feedback: http://bit.ly/glcfeedback ● Like our facebook page: https://www.facebook.com/glcnetworks ● Slide: http://www.slideshare.net/r41nbuw ● Recording (youtube): https://goo.gl/28ABHU ● Stay tune with our schedule ● Any questions? 21