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

PDF
WebRTC and XWiki
PDF
JIO and WebViewers: interoperability for Javascript and Web Applications
PDF
MODX Meetup 2018-03-07 - Introduction talk
PDF
Django ws
PDF
XWiki, the collaborative CMS
PDF
Django Bath and Bristol Users Group
PDF
All change for WCAG 2.0 - what you need to know about the new accessibility g...
PDF
Fitting Plone in a custom stack
WebRTC and XWiki
JIO and WebViewers: interoperability for Javascript and Web Applications
MODX Meetup 2018-03-07 - Introduction talk
Django ws
XWiki, the collaborative CMS
Django Bath and Bristol Users Group
All change for WCAG 2.0 - what you need to know about the new accessibility g...
Fitting Plone in a custom stack

What's hot (12)

PDF
Course Document
PDF
Seven ways to be a happier JavaScript developer - NDC Oslo
PDF
Boot to Gecko Introduction
ODP
Plone Intranet under the hood
PDF
HTML5 Jump Start
PDF
Hinting at a better web
PPTX
Computing
PDF
Rethinking The Policy Agent
PDF
Moodle performance and stress testing
PDF
C4ainaction-Introduction to the Pyramid Web Framework
PDF
J2EE6_DevelopWebServices_00_Preample
PDF
Let data flow, like an endless river into your OSGi application - M Hoffmann
Course Document
Seven ways to be a happier JavaScript developer - NDC Oslo
Boot to Gecko Introduction
Plone Intranet under the hood
HTML5 Jump Start
Hinting at a better web
Computing
Rethinking The Policy Agent
Moodle performance and stress testing
C4ainaction-Introduction to the Pyramid Web Framework
J2EE6_DevelopWebServices_00_Preample
Let data flow, like an endless river into your OSGi application - M Hoffmann
Ad

Similar to Dynamic Website with Python (20)

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

More from GLC Networks (20)

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

Recently uploaded (20)

PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Machine learning based COVID-19 study performance prediction
PDF
cuic standard and advanced reporting.pdf
PPTX
Spectroscopy.pptx food analysis technology
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Approach and Philosophy of On baking technology
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
“AI and Expert System Decision Support & Business Intelligence Systems”
Spectral efficient network and resource selection model in 5G networks
Encapsulation_ Review paper, used for researhc scholars
Network Security Unit 5.pdf for BCA BBA.
Advanced methodologies resolving dimensionality complications for autism neur...
MIND Revenue Release Quarter 2 2025 Press Release
Machine learning based COVID-19 study performance prediction
cuic standard and advanced reporting.pdf
Spectroscopy.pptx food analysis technology
Diabetes mellitus diagnosis method based random forest with bat algorithm
Chapter 3 Spatial Domain Image Processing.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Approach and Philosophy of On baking technology
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Programs and apps: productivity, graphics, security and other tools
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Per capita expenditure prediction using model stacking based on satellite ima...

Dynamic Website with Python

  • 1. www.glcnetworks.com Dynamic website with python GLC webinar, 4 Feb 2021 Achmad Mardiansyah achmad@glcnetworks.com 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