The document provides guidelines for deploying an L.N.M.P environment on a 64-bit server. It specifies directory locations for source code, installed software, scripts and logs. It also outlines steps to update the system, install and configure MySQL, Nginx, PHP and other packages, including compiling Nginx with specific modules and options, setting Nginx as a service, and enabling syntax highlighting for Nginx configuration files.
SCALE 15x Minimizing PostgreSQL Major Version Upgrade DowntimeJeff Frost
Let's face it, major version upgrades can be a pain. Most people are familiar with the dump/restore method, but if your database happens to be larger than a few GB, the downtime required for dump/restore is likely going to exceed your maximum maintenance window.
We'll briefly explore upgrade options including dump/restore, pg_upgrade and logical replication tools like Slony and why I think Slony is currently the best option. Then we'll run through a tutorial on how to use slony for a major version upgrade with minimal downtime.
You can find the scripts used in the demos here:
https://github.com/jfrost/scale-15x-talk
SCALE 15x Minimizing PostgreSQL Major Version Upgrade DowntimeJeff Frost
Let's face it, major version upgrades can be a pain. Most people are familiar with the dump/restore method, but if your database happens to be larger than a few GB, the downtime required for dump/restore is likely going to exceed your maximum maintenance window.
We'll briefly explore upgrade options including dump/restore, pg_upgrade and logical replication tools like Slony and why I think Slony is currently the best option. Then we'll run through a tutorial on how to use slony for a major version upgrade with minimal downtime.
You can find the scripts used in the demos here:
https://github.com/jfrost/scale-15x-talk
Finding and fixing bugs is a major chunk of any developers time. This talk describes the basic rules for effective debugging in any language, but shows how the tools available in PHP can be used to find and fix even the most elusive error
Slides from a talk at HPC Admintech 2019 about containers, a brief review on containers, how to create a container using common linux tools and how to integrate Docker with Slurm.
Postgresql 12 streaming replication holVijay Kumar N
This is a step by step hands on lab for PostgreSQL 12 , setup of replication, replication slot, failover (promoting) to standby as new master cluster and also covering the scenario where old master has to be reinstated using the utility "pg_rewind"
Logstash for SEO: come monitorare i Log del Web Server in realtimeAndrea Cardinale
Durante questo intervento verrà illustrato come si possono installare software di analisi in tempo reale dei log del server (ELK pattern: ElasticSearch, Logstash, Kibana) in modo da ottenere tutte le informazioni su Googlebot e per scoprire i punti di debolezza e gli eventi relativi ai nostri siti che non potremmo altrimenti conoscere.
Nagios Conference 2013 - Sheeri Cabral - Alerting With MySQL and NagiosNagios
Sheeri Cabral's presentation on Alerting With MySQL and Nagios.
The presentation was given during the Nagios World Conference North America held Sept 20-Oct 2nd, 2013 in Saint Paul, MN. For more information on the conference (including photos and videos), visit: http://go.nagios.com/nwcna
Packet Filter is OpenBSD's system for filtering TCP/IP traffic and doing Network Address Translation. PF is also capable of normalizing and conditioning TCP/IP traffic, as well as providing bandwidth control and packet prioritization.
Finding and fixing bugs is a major chunk of any developers time. This talk describes the basic rules for effective debugging in any language, but shows how the tools available in PHP can be used to find and fix even the most elusive error
Slides from a talk at HPC Admintech 2019 about containers, a brief review on containers, how to create a container using common linux tools and how to integrate Docker with Slurm.
Postgresql 12 streaming replication holVijay Kumar N
This is a step by step hands on lab for PostgreSQL 12 , setup of replication, replication slot, failover (promoting) to standby as new master cluster and also covering the scenario where old master has to be reinstated using the utility "pg_rewind"
Logstash for SEO: come monitorare i Log del Web Server in realtimeAndrea Cardinale
Durante questo intervento verrà illustrato come si possono installare software di analisi in tempo reale dei log del server (ELK pattern: ElasticSearch, Logstash, Kibana) in modo da ottenere tutte le informazioni su Googlebot e per scoprire i punti di debolezza e gli eventi relativi ai nostri siti che non potremmo altrimenti conoscere.
Nagios Conference 2013 - Sheeri Cabral - Alerting With MySQL and NagiosNagios
Sheeri Cabral's presentation on Alerting With MySQL and Nagios.
The presentation was given during the Nagios World Conference North America held Sept 20-Oct 2nd, 2013 in Saint Paul, MN. For more information on the conference (including photos and videos), visit: http://go.nagios.com/nwcna
Packet Filter is OpenBSD's system for filtering TCP/IP traffic and doing Network Address Translation. PF is also capable of normalizing and conditioning TCP/IP traffic, as well as providing bandwidth control and packet prioritization.
Nagios Conference 2014 - Rob Hassing - How To Maintain Over 20 Monitoring App...Nagios
Rob Hassing's presentation on How To Maintain Over 20 Monitoring Appliances.
The presentation was given during the Nagios World Conference North America held Oct 13th - Oct 16th, 2014 in Saint Paul, MN. For more information on the conference (including photos and videos), visit: http://go.nagios.com/conference
Caching and tuning fun for high scalabilityWim Godden
Caching has been a 'hot' topic for a few years. But caching takes more than merely taking data and putting it in a cache : the right caching techniques can improve performance and reduce load significantly. But we'll also look at some major pitfalls, showing that caching the wrong way can bring down your site. If you're looking for a clear explanation about various caching techniques and tools like Memcached, Nginx and Varnish, as well as ways to deploy them in an efficient way, this talk is for you.
Montreal On Rails 5 : Rails deployment using : Nginx, Mongrel, Mongrel_cluste...addame
if you want to deploy your rails application in your machine ... just follow this presentation. ... pls feel free to contact me for any question ... I can give you my own configuration files... happy reading ;-)
High Availability Content Caching with NGINXNGINX, Inc.
On-Demand Recording:
https://www.nginx.com/resources/webinars/high-availability-content-caching-nginx/
You trust NGINX to be your web server, but did you know it’s also a high-performance content cache? In fact, the world’s most popular CDNs – CloudFlare, MaxCDN, and Level 3 among them – are built on top of the open source NGINX software.
NGINX content caching can drastically improve the performance of your applications. We’ll start with basic configuration, then move on to advanced concepts and best practices for architecting high availability and capacity in your application infrastructure.
Join this webinar to:
* Enable content caching with the key configuration directives
* Use micro caching with NGINX Plus to cache dynamic content while maintaining low CPU utilization
* Partition your cache across multiple servers for high availability and increased capacity
* Log transactions and troubleshoot your NGINX content cache
Code testing and Continuous Integration are just the first step in a source code to production process. Combined with infrastructure-as-code tools such as Puppet the whole process can be automated, and tested!
Salesforce at Stacki Atlanta Meetup February 2016StackIQ
Dave Peterson's presentation on how Salesforce uses Stacki and Chef to provision and manage thousands of servers. Stacki Atlanta kickoff Meetup on 2/23/16 at the Microsoft Innovation Center. Dave is a Lead Systems Engineer at Salesforce.
State of ICS and IoT Cyber Threat Landscape Report 2024 previewPrayukth K V
The IoT and OT threat landscape report has been prepared by the Threat Research Team at Sectrio using data from Sectrio, cyber threat intelligence farming facilities spread across over 85 cities around the world. In addition, Sectrio also runs AI-based advanced threat and payload engagement facilities that serve as sinks to attract and engage sophisticated threat actors, and newer malware including new variants and latent threats that are at an earlier stage of development.
The latest edition of the OT/ICS and IoT security Threat Landscape Report 2024 also covers:
State of global ICS asset and network exposure
Sectoral targets and attacks as well as the cost of ransom
Global APT activity, AI usage, actor and tactic profiles, and implications
Rise in volumes of AI-powered cyberattacks
Major cyber events in 2024
Malware and malicious payload trends
Cyberattack types and targets
Vulnerability exploit attempts on CVEs
Attacks on counties – USA
Expansion of bot farms – how, where, and why
In-depth analysis of the cyber threat landscape across North America, South America, Europe, APAC, and the Middle East
Why are attacks on smart factories rising?
Cyber risk predictions
Axis of attacks – Europe
Systemic attacks in the Middle East
Download the full report from here:
https://sectrio.com/resources/ot-threat-landscape-reports/sectrio-releases-ot-ics-and-iot-security-threat-landscape-report-2024/
Essentials of Automations: Optimizing FME Workflows with ParametersSafe Software
Are you looking to streamline your workflows and boost your projects’ efficiency? Do you find yourself searching for ways to add flexibility and control over your FME workflows? If so, you’re in the right place.
Join us for an insightful dive into the world of FME parameters, a critical element in optimizing workflow efficiency. This webinar marks the beginning of our three-part “Essentials of Automation” series. This first webinar is designed to equip you with the knowledge and skills to utilize parameters effectively: enhancing the flexibility, maintainability, and user control of your FME projects.
Here’s what you’ll gain:
- Essentials of FME Parameters: Understand the pivotal role of parameters, including Reader/Writer, Transformer, User, and FME Flow categories. Discover how they are the key to unlocking automation and optimization within your workflows.
- Practical Applications in FME Form: Delve into key user parameter types including choice, connections, and file URLs. Allow users to control how a workflow runs, making your workflows more reusable. Learn to import values and deliver the best user experience for your workflows while enhancing accuracy.
- Optimization Strategies in FME Flow: Explore the creation and strategic deployment of parameters in FME Flow, including the use of deployment and geometry parameters, to maximize workflow efficiency.
- Pro Tips for Success: Gain insights on parameterizing connections and leveraging new features like Conditional Visibility for clarity and simplicity.
We’ll wrap up with a glimpse into future webinars, followed by a Q&A session to address your specific questions surrounding this topic.
Don’t miss this opportunity to elevate your FME expertise and drive your projects to new heights of efficiency.
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualityInflectra
In this insightful webinar, Inflectra explores how artificial intelligence (AI) is transforming software development and testing. Discover how AI-powered tools are revolutionizing every stage of the software development lifecycle (SDLC), from design and prototyping to testing, deployment, and monitoring.
Learn about:
• The Future of Testing: How AI is shifting testing towards verification, analysis, and higher-level skills, while reducing repetitive tasks.
• Test Automation: How AI-powered test case generation, optimization, and self-healing tests are making testing more efficient and effective.
• Visual Testing: Explore the emerging capabilities of AI in visual testing and how it's set to revolutionize UI verification.
• Inflectra's AI Solutions: See demonstrations of Inflectra's cutting-edge AI tools like the ChatGPT plugin and Azure Open AI platform, designed to streamline your testing process.
Whether you're a developer, tester, or QA professional, this webinar will give you valuable insights into how AI is shaping the future of software delivery.
GraphRAG is All You need? LLM & Knowledge GraphGuy Korland
Guy Korland, CEO and Co-founder of FalkorDB, will review two articles on the integration of language models with knowledge graphs.
1. Unifying Large Language Models and Knowledge Graphs: A Roadmap.
https://arxiv.org/abs/2306.08302
2. Microsoft Research's GraphRAG paper and a review paper on various uses of knowledge graphs:
https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
Sidekick Solutions uses Bonterra Impact Management (fka Social Solutions Apricot) and automation solutions to integrate data for business workflows.
We believe integration and automation are essential to user experience and the promise of efficient work through technology. Automation is the critical ingredient to realizing that full vision. We develop integration products and services for Bonterra Case Management software to support the deployment of automations for a variety of use cases.
This video focuses on the notifications, alerts, and approval requests using Slack for Bonterra Impact Management. The solutions covered in this webinar can also be deployed for Microsoft Teams.
Interested in deploying notification automations for Bonterra Impact Management? Contact us at sales@sidekicksolutionsllc.com to discuss next steps.
Accelerate your Kubernetes clusters with Varnish CachingThijs Feryn
A presentation about the usage and availability of Varnish on Kubernetes. This talk explores the capabilities of Varnish caching and shows how to use the Varnish Helm chart to deploy it to Kubernetes.
This presentation was delivered at K8SUG Singapore. See https://feryn.eu/presentations/accelerate-your-kubernetes-clusters-with-varnish-caching-k8sug-singapore-28-2024 for more details.
8. # mkdir -p /root/.vim/syntax
# cd /root/.vim/syntax
# vim nginx.vim
插入以下行
" Vim syntax file
" Language: Nginx configuration (nginx.conf)
" Maintainer: Evan Miller
" Last Change: 2007 May 02
" Notes: This is a bit patchy.
if exists("b:current_syntax")
finish
end
setlocal iskeyword+=.
setlocal iskeyword+=/
setlocal iskeyword+=:
" basics
syn match ngxStringVariable "$ww*" contained
syn region ngxString start=+"+ end=+"+ skip=+|"+
contains=ngxStringVariable oneline
syn region ngxString start=+'+ end=+'+ skip=+|'+
contains=ngxStringVariable oneline
" Main
syn keyword ngxDirective daemon debug_points error_log lock_file
master_process pid ssl_engine timer_resolution user group worker_cpu_affinity
worker_priority worker_processes worker_rlimit_core worker_rlimit_nofile
worker_rlimit_sigpending working_directory
syn keyword ngxDirectiveImportant include
syn keyword ngxBlockDirective http events contained
syn keyword ngxBlockDirective server contained
"Events
syn keyword ngxDirective accept_mutex accept_mutex_delay debug_connection
devpoll_changes devpoll_events epoll_events kqueue_changes kqueue_events
multi_accept rtsig_signo rtsig_overflow_events rtsig_overflow_test
rtsig_overflow_threshold use worker_connections
" HTTP core
syn keyword ngxDirective alias client_body_in_file_only
9. client_body_buffer_size client_body_temp_path client_body_timeout
client_header_buffer_size client_header_timeout client_max_body_size default_type
keepalive_timeout large_client_header_buffers limit_rate msie_padding msie_refresh
optimize_server_names port_in_redirect recursive_error_pages satisfy_any
send_timeout sendfile server_names_hash_max_size server_names_hash_bucket_size
tcp_nodelay tcp_nopush internal
syn keyword ngxDirective output_buffers postpone_output send_lowat
connections
syn keyword ngxDirectiveImportant root server server_name listen
syn keyword ngxDirectiveError error_page
syn keyword ngxBlockDirective location limit_except types contained
" Access
syn keyword ngxDirective allow deny
" Auth
syn keyword ngxDirective auth_basic auth_basic_user_file
" Auto-index
syn keyword ngxDirective autoindex
syn keyword ngxDirective autoindex_exact_size
syn keyword ngxDirective autoindex_localtime
" DAV
syn keyword ngxDirective dav_access dav_methods create_full_put_path
" FastCGI
syn keyword ngxDirective fastcgi_index fastcgi_hide_header
fastcgi_intercept_errors fastcgi_param fastcgi_pass_header fastcgi_redirect_errors
syn keyword ngxDirectiveImportant fastcgi_pass
" gzip
syn keyword ngxDirective gzip gzip_buffers gzip_comp_level gzip_min_length
gzip_http_version gzip_proxied gzip_types
" header
syn keyword ngxDirective add_header
syn keyword ngxDirective expires
" auto-index
syn keyword ngxDirective index
" log
syn keyword ngxDirective access_log log_format
10. " proxy
syn keyword ngxDirective proxy_buffer_size proxy_buffering proxy_buffers
proxy_connect_timeout proxy_hide_header proxy_intercept_errors proxy_method
proxy_next_upstream proxy_pass_header proxy_read_timeout proxy_redirect_errors
proxy_send_timeout proxy_set_header proxy_temp_path proxy_temp_file_write_size
proxy_busy_buffers_size proxy_send_lowat
syn keyword ngxDirectiveImportant proxy_pass proxy_redirect
" rewrite
syn keyword ngxDirectiveControl break return set uninitialized_variable_warn
rewrite
syn keyword ngxDirective uninitialized_variable_warn
syn keyword ngxBlockDirective if contained
" SSL
syn keyword ngxDirective ssl ssl_certificate ssl_certificate_key
ssl_client_certificate ssl_ciphers ssl_prefer_server_ciphers ssl_protocols
ssl_verify_client ssl_verify_depth ssl_session_cache ssl_session_timeout
" Upstream
syn keyword ngxDirective ip_hash server
syn keyword ngxBlockDirective upstream contained
" Addition
syn keyword ngxDirectiveImportant add_before_body add_after_body
" Charset
syn keyword ngxDirective charset charset_map override_charset source_charset
" empty gif
syn keyword ngxDirective empty_gif
" geo
syn keyword ngxBlockDirective geo
" map
syn keyword ngxBlockDirective map
syn keyword ngxDirective map_hash_max_size map_hash_bucket_size
" realip
syn keyword ngxDirective set_real_ip_from real_ip_header
" referer
11. syn keyword ngxDirective valid_referers
" ssi
syn keyword ngxDirective ssi
" user id
syn keyword ngxDirective userid userid_domain userid_expires userid_name
userid_p3p userid_path userid_service
" sub filter
syn keyword ngxDirective sub_filter sub_filter_once sub_filter_types
" perl
syn keyword ngxDirective perl_modules perl_require perl_set
" limit zone
syn keyword ngxDirective limit_zone limit_conn
" memcache
syn keyword ngxDirective memcached_connect_timeout
memcached_send_timeout memcached_read_timeout memcached_buffer_size
memcached_next_upstream
syn keyword ngxDirectiveImportant memcached_pass
" stub
syn keyword ngxDirective stub_status
" flv
syn keyword ngxDirective flv
" browser
syn keyword ngxDirective ancient_browser ancient_browser_value
modern_browser modern_browser_value
syn region ngxStartBlock start=+^+ end=+{+
contains=ngxBlockDirective,ngxContextVariable oneline
syn match ngxContextVariable "$ww*" contained
syn match ngxComment " *#.*$"
syn match ngxVariable "$ww*"
hi link ngxBlockDirective Statement
hi link ngxStartBlock Normal
12. hi link ngxStringVariable Special
hi link ngxDirectiveControl Special
hi link ngxComment Comment
hi link ngxString String
hi link ngxDirective Identifier
hi link ngxDirectiveImportant Type
hi link ngxVariable Identifier
hi link ngxContextVariable Identifier
hi link ngxDirectiveError Constant
let b:current_syntax = "nginx"
# vim /root/.vim/filetype.vim
插入:
au BufRead,BufNewFile /usr/local/nginx/conf/* set ft=nginx
# chkconfig --add nginx
# chkconfig --level 3 nginx on
4. 编译安装 PHP
# php-cgi –fpm 方式
# tar –jxvf php-5.2.8.tar.gz
# gzip -cd php-5.2.8-fpm-0.5.10.diff.gz | patch -d php-5.2.8 -p1 为 php 打补丁
# cd php-5.2.8
# ./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --with-
mysql=/usr/local/mysql --with-mysql-sock=/tmp --with-libxml-dir --with-gd --with-
jpeg-dir --with-png-dir --with-freetype-dir --with-iconv-dir --with-zlib-dir --with-
mcrypt= --enable-soap --enable-gd-native-ttf --enable-ftp --enable-mbstring --enable-
exif --enable-zend-multibyte --disable-ipv6 --enable-fastcgi --enable-fpm
# make
# make install
# mkdir /usr/local/php/etc
# cp php.ini-dist /usr/local/php/etc/php.ini
编辑/usr/local/php/etc/php-fpm.conf
# vim /usr/local/php/etc/php-fpm.conf
修改用户和组的名称为”www”
13. 去掉注释
Unix user of processes
<value name="user">www</value>
Unix group of processes
<value name="group">www</value>
#/usr/local/php/sbin/php-fpm start
# echo ‘/usr/local/php/sbin/php-fpm start’ >> /etc/rc.local
5.安装 Eaccelerator php 加速器
# cd /usr/local/src
# tar jxvf eaccelerator-0.9.5.2.tar.bz2
# cd eaccelerator-0.9.5.2
# /usr/local/php /bin/phpize phpize 命令是用来准备 PHP 外挂模块的编译环境的
# ./configure
--enable-eaccelerator=shared
--with-php-config=/usr/local/php/bin/php-config
--with-eaccelerator-shared-memory
--with-eaccelerator-sessions
--with-eaccelerator-content-caching
# make
# make install
# mkdir /usr/local/php/ext
#cp modules/eaccelerator.so /usr/local/php/ext/
6. 安装 memcache 扩展 php 扩展
# cd /usr/local/src/
# tar zxvf memcache-2.2.3.tgz
# cd memcache-2.2.3
# /usr/local/php/bin/phpize
#./configure --with-php-config=/usr/local/php/bin/php-config --enable-
memcache --with-zlib-dir
# make
# make install
# cp modules/memcache.so /usr/local/php/ext/
# 安装为 Zend 扩展
# vim /usr/local/php/etc/php.ini
插入
zend_extension="/usr/local/php/ext/eaccelerator.so"
eaccelerator.shm_size="16"