Jump to navigation Jump to search

Main Page

2,718 bytes added, 15:12, 16 July 2019
Collectible Trading Cards
<seo title="Mike's" titlemode="append" keywords="michael jung, mike jung, jung, mike jung linux wiki,sysadmin lamp wiki,Mike Jung" description="A wiki created and maintained by Mike Jung. The wiki covers most of the LAMP stack,cPanel, as well as Windows tuning with a focus on performance and optimization of all the things"></seo>
==Wiki Landing Page==
Welcome to Hello there! My name is Mike Jung and this is my wiki. I hope some of the information here will help someone out or teach them something new. I realize you are likely here for technical content, which is exactly why you should check out these scanned vintage '''[[Real photo postcards]] from the 1900s''', some of them are kinda cool actually
== Wiki Navigation and Page List ==
===Collectible Trading Cards===
This section covers various collectable trading cards from the 1990s and 2000s as well as collectable trading card games such as Pokemon, Yu-Gi-Oh and Magic the Gathering. Many of these artists have done work for major comic book companies, movies, tv shows and other forms of media that have enhanced our lives over the years.
*[[Mike Ploog]] - Mike Ploog is a famous comic artist that has worked on countless movies, comics, tv shows and other works.
*[[Tim and Greg Hildebrandt]] - These two brothers have created Star Wars movie posters, drawn countless X-Men, worked on LOTR and countless other epic things, check out their work!
*[[Lady Death]] - Very badass stuff!
*[[1992 Boris Series 2 Trading Cards]] - Adult Fantasy Art. Mind blowing to say the least!
*[[Boris 3 Prism Trading Cards]] - The 3rd series from Boris Vallejo, featuring epic art and prism colors!
*[[Yu-Gi-Oh! Trading Cards]] - Check out these rare and cool looking cards!
*[[1993 SkyBox DC Cosmic Teams]] - One of my favorite trading card series from DC / SkyBox from the early 1990s, check out the cool holograms!
*[[Deathwatch2000 Collectible Trading Cards]] - Excellent sci fi series from 1993, brutal!
*[[Mighty Morphin Power Rangers]] - If you're a millennial, surely you must know about the power rangers!
*[[Legendary Ramp Druid]] - If you like Hearthstone, Legendary cards, and playing a Druid, visit this page!
===Windows 8.1 Utilities and Windows Tech Preview 10===
*[[MPC-HC Audio Configuration]] - While this page focuses on configuring MPC-HC for the best audio quality, it can still be used to configure Windows 8.1 audio for high end sound cards and speakers such as the Logitech Z 906 speakers and the Sound Blaster Z sound card.
*[[Windows 10 Tech Preview]] - Currently testing out Windows 10 Tech Preview, Build 9926. This wiki page will eventually have tons of information and updates on Windows 10.
=== GPU and Video Decoding Stuff (madVR, CUDA, MPC-HC) ===
*[[How_to_use_Geekbench_on_Windows_10|Geekbench4]] - How to use GeekBench4 to measure CPU and GPU compute performance.
*[[Nvidia Noise Reduction]] - Nvidia Noise Reduction reduces noise during video playback, how much does this improve quality? Not a ton, in some cases, anyway, check out the page for more info.
===cPanel Stuff===
*[[EasyApache 4]] -- cPanel EasyApache 4 guide
*[[CloudLinux]] -- Overview on what CloudLinux is and the types of resources that it limits for cpanel users.
*[[PHP Handlers]] - How to change cPanel's main PHP handler via CLI and via WHM.
*[[Whmcs plugin|LiquidWeb WHMCS Plugin]] - A FREE WHMCS plugin created by '''[ ModulesGarden]''' that allows anyone to resell SSD VPS servers, or whatever kind of servers you want. Basically this plugin is a Cloud Business in a box and it's free. *[[CPanel Statistics Software]] - Learn how to configure cPanel to process logs and bandwidth during low traffic hours of the day. This reduces the amount of Apache restarts. *[[Whmcs 6]] - Need help installing and configuring WHMCS 6? Visit this page! *[[Ioncube loader]] - Are you getting ioncube loader errors or encountering version issues? Visit my ioncube loader page to learn more!
=== Webserver Stuff ===
*[[Apache]] - Do you like websites? You can thank Apache! It's the most common webserver around. Nginx is gaining some steam, but Apache is still pretty awesome!
*[[GooglePageSpeed]] - How to install and configure the mod_pagespeed module with Apache, in addition, and really importantly, How to install Google's mod_pagespeed on a cPanel server via Easy Apache. lol
*[[WordPress Optimization]] - Guide on how to optimize a server for wordpress. Includes Apache Event configuration, PHP-FPM configuration, MySQL configuration and lots more!
=== MySQL, PHP and Caching ===
*[[MediaWiki Performance TweaksPHP 7]] - I use MediaWikiThis wiki page is still being worked on, if you can't tell already. I've created a page that lists all the caching settings / configurations to make this site somewhat fastbut it will focus specifically on PHP 7 and how awesome it is.
*[[HHVMPHP MySQL Extensions]] - Facebook's attempt to take PHP to Also still in the next level. HHVM uses a JIT compiler to significantly reduce works, will focus specifically on the amount of resources it takes to interpret and run a MySQL extensions for PHP script.
*[[Memcached]] - Caching makes everything faster! I like fast things, so I use memcached a lot and you should use memcached too! I'll show you how to use memcached to improve website load time and reduce latency when connecting to a database! All of this can be done if you know how to tame the mythical beast know as memcached.
*[[Php-fpm]] - Speaking of awesome...PHP-FPM is here. Are you still using mod_php and wondering why apche is slow? It's because you are doing php wrong! Check out this page for information on how to install, tune, and optimize php-fpm with apache
*[[Varnish]] - Varnish can be an excellent way to improve your website's response times by caching the most used static content, like images, varnish is able to significantly reduce the amount of work that apache has to do.
*[[MySQL]] - Learn all about the various my.cnf settings for MySQL 5.5 and MySQL 5.6. This page is less focused on optimizations, and more focused on covering the best practices for configuring a server to handle MySQL.
*[[MediaWiki Performance Tweaks]] - I use MediaWiki, if you can't tell already. I've created a page that lists all the caching settings / configurations to make this site somewhat fast.
*[[HHVM]] - Facebook's attempt to take PHP to the next level. HHVM uses a JIT compiler to significantly reduce the amount of resources it takes to interpret and run a PHP script.
=== Monitoring and Analysis ===
*[[Cloud Performance Tuning]] - High response times got you bummed out? Slow website? Fear not!
*[[Newrelic]] - Newrelic is pretty awesome. They offer a free tier which lets you monitor server resources for 24 hours. You can also utilize APM which is an application monitoring services which shows the response time if your application and database. If you are looking for common Newrelic agent commands or need help troubleshooting Newrelic's agents, check out this page!
=== Benchmarking and Performance Tuning Stuff ===
*[[Cloud Performance Tuning]] -- Learn how to diagnose and fix performance the cloud!
*[[Benchmarking]] -- A linux benchmarking reference wiki with many example commands and explanations for sysbench, fio, iozone and ioping tests.
*[[Sysbench]] -- Similar to the benchmarking wiki but with 100% focus on sysbench and how to benchmark vps and cloud servers.
*[[Google PerfKitBenchmarker]] -- How to install, configure and run benchmarks with Google PerfKitBenchmarker.
*[[Phoronix Test Suite]] -- How to install Phoronix Test Suite on CentOS and Ubuntu. Examples on how to use the test suite and an overview on what each test does.
*[[OS Tuning]] - You can't tune an application until you tune the operating system. Check out my OS system tuning wiki for tips and tricks on speeding up your slow CentOS server.
*[[NUMA]] -
*[[Siege]] - Learn how to compile siege so you can test website performance on http and https websites
*[[VMware Workstation Player Tuning]] - Want to learn more about VMware player's configurations settings?
=== Storage and File System Stuff ===
=== Other Stuff ===
*[[How to install Glibc-2.15 on CentOS6]] - CentOS 6 has old versions of everything, especially glibc. This guide shows you how to install an additional new version!
*[[Firewalld]] - Are you used to iptables and hate firewalld? It's ok, I feel your pain! Firewalld is actually pretty easy to use so if you're running CentOS 7 or Redhat 7 please visit this page.
*[[Hearthstone Combo Guide]] - I'm a Hearthstone nub, so I made a wiki on how to build a deck that will at least give you some options when it comes to minion combinations.
*[[Real photo postcards]] - Totally random old picture post card wiki. Completely unrelated to anything that has to do with the internet.
*[[CentOS 7]] - Main page for CentOS 7 which includes all kinds of performance tweaks for the 3.10 kernel or newer.
*[[Load Balancing]] - Learn more about the Stingray / Riverbed Traffic Manager! It's pretty cool and has a ton of options, if you are looking for some load balancing information, check out the wiki!
*[[Logs]] - A list of where the common cPanel log locations are and what type of information they hold.
*[[Modpagespeed]] - How to install Google's mod_pagespeed on a cPanel server via Easy Apache
*[[Sysstat]] - sysstat includes sar, which is awesome
== for loop example script ==
*These are just basic examples of what [[How to create a for loop script]] If you can do with for loops.  '''Locate files want to become a linux wizard and do things with them'''<pre>find /location/master the art of/files -n 'file' > somelistfor each in `cat somelist` ; do something $each ; done</pre>loops, check out this page!
== Sed ==
== Linux commands to check for DDoS and excessive connections ==
'''Check for a basic Dos, or heavy traffic:'''
netstat -tn 2>/dev/null | grep ':80 ' | awk '{print $5}' | cut -f1 -d: | sort | uniq -c | sort -rn | head
'''Check for SYN Floods'''
netstat -nap | grep SYN | wc -l
'''To display the IPs that have the most SYN connections to the server'''
netstat -tn 2>/dev/null | grep SYN | awk '{print $5}' | cut -f1 -d: | sort | uniq -c | sort -rn | head
'''Website connections and stats'''
---site connections
/usr/bin/lynx -dump -width 500 | awk 'BEGIN { FS = " " } ; { print $12 }' | sed '/^$/d' | sort | uniq -c
---busiest site
/usr/bin/lynx -dump -width 500 | grep GET | awk '{print $12}' | sort | uniq -c | sort -rn | head
---busiest script
/usr/bin/lynx -dump -width 500 | grep GET | awk '{print $14}' | sort | uniq -c | sort -rn | head
'''One liner that shows connections to all domains during a certain time. Change This section is being merged into the "hour" variable to the hour you want to search. 16= 4PMmain Apache wiki which can be found '''<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">cd /usr/local/apache/domlogs hour=16;for domain in $(cat /etc/userdomains | grep -v nobody |cut -d':' -f1); do if [ -e "$domain" ]; then for minute in $(seq 10 59); do count=$(cat $domain | grep "$hour:$minute"|wc -l);if [ "$count" -gt 1 ]; then echo "$domain : $hour:$minute : $count" >> /home/domlogreport.$hour;fi;done;echo;echo;fi;done cat /home/domlogreport.$hour | sort -g -k 3</pre>Report is in /home/domlogreport '''Apache Status'''<pre>/usr/bin/lynx -dump -width 500 http://127wiki.0mikejung.0.1biz/whm-server-status | less</pre> '''Apache connection'''<pre>/usr/bin/lynx -dump -width 500 | awk '{print $11" "$12}'| awk NF |grep [0-9].[0-9].[0-9].[0-9#How_to_check_for_excessive_connections_to_Apache here]|sort|uniq -c|sort -n|tail -50</pre>  '''Get a list of top IPs accessing the server (some false positives)'''<pre>tail -n50000 access_log | grep -o "[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}" | sort -n | uniq -c | sort -n</pre>
== Web Permissions | Files ==
If you are running into spam issues you can run the command below to find top sending IPs in exim logs:
<prestyle="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">
grep "SMTP connection from" /var/log/exim_mainlog |grep "connection count" |awk '{print $7}' |cut -d ":" -f 1 |cut -d "[" -f 2 |cut -d "]" -f 1 |sort -n |uniq -c | sort -n

Navigation menu