Difference between revisions of "Main Page"

From Brian Nelson Ramblings
Jump to: navigation, search
(Centos 6)
(Centos 7)
(36 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
  --> [[Install (LAMP) Linux Apache MySQL and PHP Centos 7]]
 
  --> [[Install (LAMP) Linux Apache MySQL and PHP Centos 7]]
 
  --> [[Install Redis on Centos 7 How To]]
 
  --> [[Install Redis on Centos 7 How To]]
  --> [[How To Configure SWAP on Centos 7]] [[File:New.jpg|35px|frameless]]
+
  --> [[How To Configure SWAP on Centos 7]]  
  --> [[How to find user memory usage in linux]][[File:New.jpg|35px|frameless]]
+
--> [[How to find user memory usage in linux]]
 +
--> [[How to Configure letsencrypt with Apache on Centos 7 Server]]
 +
--> [[How to configure Gmail as a Mail Relay with Postfix]]
 +
--> [[How use GeoIP on the command line Centos7]]
 +
--> [[Protecting Folders with .htpasswd/.htaccess]]
 +
--> [[Linux setfacl command]]
 +
--> [[How to disable SSH timeout]]  [[File:New.jpg|35px|frameless]]
 +
  --> [[How to Install Squid Proxy Server on Cento7]] [[File:New.jpg|35px|frameless]]
  
 
===Centos 6===
 
===Centos 6===
Line 26: Line 33:
 
  --> [[How to install Sphinx on Centos Server]]
 
  --> [[How to install Sphinx on Centos Server]]
 
  --> [[How to install Redis on a Centos 6.4 Server]]
 
  --> [[How to install Redis on a Centos 6.4 Server]]
  --> [[Basic Redis commands - Cheat Sheet]][[File:New.jpg|35px|frameless]]
+
  --> [[Basic Redis commands - Cheat Sheet]]
 
  --> [[Adding a New Disk Drive with Centos]]
 
  --> [[Adding a New Disk Drive with Centos]]
 
  --> [[Creating Backups using rsync with Examples]]
 
  --> [[Creating Backups using rsync with Examples]]
Line 43: Line 50:
 
  --> [[Fix corrupted RPM database]]
 
  --> [[Fix corrupted RPM database]]
 
  --> [[Crontab Usage]]
 
  --> [[Crontab Usage]]
  --> [[Make an ISO from a Folder with mkisofs]][[File:New.jpg|35px|frameless]]
+
  --> [[Make an ISO from a Folder with mkisofs]]
  --> [[How to setup a VPN server with CentOS PPTPD]][[File:New.jpg|35px|frameless]]
+
  --> [[How to setup a VPN server with CentOS PPTPD]]
  --> [[APF Firewall -Advanced Policy Firewall - Basics]][[File:New.jpg|35px|frameless]]
+
  --> [[APF Firewall -Advanced Policy Firewall - Basics]]
  --> [[How to Block Bittorrent Traffic with IPtables]][[File:New.jpg|35px|frameless]]
+
  --> [[How to Block Bittorrent Traffic with IPtables]]
  --> [[How to find user memory usage in linux]][[File:New.jpg|35px|frameless]]
+
  --> [[How to find user memory usage in linux]]
  --> [[How to install ccsrch on Centos 6]][[File:New.jpg|35px|frameless]]
+
  --> [[How to install ccsrch on Centos 6]]
 
  --> [[How to install jpegoptim for CentOS]]
 
  --> [[How to install jpegoptim for CentOS]]
 
  --> [[How to install optipng for CentOS]]
 
  --> [[How to install optipng for CentOS]]
 
  --> [[How to install gifsicle for CentOS]]
 
  --> [[How to install gifsicle for CentOS]]
 +
--> [[How to install jpegtran for CentOS]]
 +
--> [[IPTABLES quick command list]]
 +
--> [[Linux setfacl command]]
  
 
[[File:Magentos.jpg|100px|frameless|right|alt=Magento How To's]]
 
[[File:Magentos.jpg|100px|frameless|right|alt=Magento How To's]]
Line 72: Line 82:
 
  --> [[Install Redis Full Page Caching for Magento Enterprise]]
 
  --> [[Install Redis Full Page Caching for Magento Enterprise]]
 
  --> [[Setting up a Second Instance of Redis]]
 
  --> [[Setting up a Second Instance of Redis]]
  --> [[Magento Setup Return-Path Email]] [[File:New.jpg|35px|frameless]]
+
  --> [[Magento Setup Return-Path Email]]
 
  --> [[Magento Server Compatibility Check]]
 
  --> [[Magento Server Compatibility Check]]
  --> [[Magento Database Optimization - Log Cleaning Script]][[File:New.jpg|35px|frameless]]
+
  --> [[Magento Database Optimization - Log Cleaning Script]]
  --> [[Magento Site Performance Optimization]] [[File:New.jpg|35px|frameless]]
+
  --> [[Magento Site Performance Optimization]]  
  --> [[Magento Log Rotate with logrotate]] [[File:New.jpg|35px|frameless]]
+
  --> [[Magento Log Rotate with logrotate]]
  --> [[How to use CDN with Webfonts with Magento]] [[File:New.jpg|35px|frameless]]
+
  --> [[How to use CDN with Webfonts with Magento]]  
 
  --> [[How to Disable Magento Newsletter Module]]
 
  --> [[How to Disable Magento Newsletter Module]]
 +
 +
[[File:Magentos.jpg|100px|frameless|right|alt=Magento2 How To's]]
 +
 +
===Magento 2 Community Edition===
 +
--> [[Upgrade Magento2 via CLI]]
 +
--> [[Enable/Disable Magento2 Maintenance Page]]
 +
--> [[How to set Magento 2 permissions and avoid installation errors]]
  
 
[[File:Memcahed.jpg|100px|frameless|right|alt=Mecache Caching]]
 
[[File:Memcahed.jpg|100px|frameless|right|alt=Mecache Caching]]
Line 96: Line 113:
  
 
  --> [[Redirect site to www or non www]]
 
  --> [[Redirect site to www or non www]]
 +
--> [[Restrict POST request to Website]]
 
  --> [[Install Tomcat6 Server on Centos 6]]
 
  --> [[Install Tomcat6 Server on Centos 6]]
 
  --> [[How to setup an SSL Certificate for Free]]
 
  --> [[How to setup an SSL Certificate for Free]]
Line 114: Line 132:
 
  --> [[Install the Latest version PHP on CentOS]]
 
  --> [[Install the Latest version PHP on CentOS]]
 
  --> [[How to bypass .htpasswd for certain IPs Apache]]
 
  --> [[How to bypass .htpasswd for certain IPs Apache]]
  --> [[Clear mod_pagespeed cache ]][[File:New.jpg|35px|frameless]]
+
  --> [[Clear mod_pagespeed cache ]]
  --> [[Install GeoIP for Apache and PHP]][[File:New.jpg|35px|frameless]]
+
  --> [[Install GeoIP for Apache and PHP]]
  --> [[How to block or allow countries using GeoIP and .htaccess]][[File:New.jpg|35px|frameless]]
+
  --> [[How to block or allow countries using GeoIP and .htaccess]]
  --> [[How to disable mod_security per vhost]][[File:New.jpg|35px|frameless]]
+
--> [[How to disable mod_security per vhost]]
 
+
--> [[Force HTTPS for entire website via htaccess]]
 +
--> [[Restrict Access to wp-login.php and xmlrpc.php]]
 +
--> [[The X-Frame-Options response header]]
 +
--> [[Install Xdebug with php-fpm per pool]]
 +
  --> [[How to Enable Gzip Compression]]
 +
--> [[Enable Apache rewrite logging]]
 +
--> [[Protecting Folders with .htpasswd/.htaccess]]
 +
--> [[How to Disable PHP Execution in Certain Directories]]
 +
--> [[Directory listing in htaccess. Allow, Deny, Disable, Enable Directory Listing in .htaccess]]
 
[[File:Logo percona server new.png|100px|frameless|right|alt=Mysql Percona]]
 
[[File:Logo percona server new.png|100px|frameless|right|alt=Mysql Percona]]
  
Line 129: Line 155:
 
  --> [[How to install Percona Database Server]]
 
  --> [[How to install Percona Database Server]]
 
  --> [[How to Access the MySQL via Shell]]
 
  --> [[How to Access the MySQL via Shell]]
  --> [[How to Add a User in MySQL]][[File:New.jpg|35px|frameless]]
+
  --> [[How to Add a User in MySQL]]
  --> [[How to Drop a User in MySQL]][[File:New.jpg|35px|frameless]]
+
  --> [[How to Drop a User in MySQL]]
 
  --> [[How to Create and Delete a MySQL Database]]
 
  --> [[How to Create and Delete a MySQL Database]]
 
  --> [[How to Create a Table in MySQL Database]]
 
  --> [[How to Create a Table in MySQL Database]]
Line 136: Line 162:
 
  --> [[How to Import a MySQL Database]]
 
  --> [[How to Import a MySQL Database]]
 
  --> [[How to update the max_connections setting in MySQL]]
 
  --> [[How to update the max_connections setting in MySQL]]
  --> [[How to view a list of MySQL users and their privileges]][[File:New.jpg|35px|frameless]]
+
  --> [[How to view a list of MySQL users and their privileges]]
  --> [[Save MySQL query results into a text or CSV file]][[File:New.jpg|35px|frameless]]
+
  --> [[Save MySQL query results into a text or CSV file]]
 +
--> [[How to optimize a MySQL database using phpMyAdmin]]
  
  
Line 162: Line 189:
 
  --> [[Setup up Nginx Caching]]
 
  --> [[Setup up Nginx Caching]]
 
  --> [[Nginx Magento vhost Configuration]]
 
  --> [[Nginx Magento vhost Configuration]]
  --> [[Basic HTTP Authentication with Nginx]][[File:New.jpg|35px|frameless]]
+
  --> [[Basic HTTP Authentication with Nginx]]
 
  --> [[Protecting Folders with Nginx]]
 
  --> [[Protecting Folders with Nginx]]
  
Line 170: Line 197:
 
===Other===
 
===Other===
 
  --> [[How to add trusted root certificates]]
 
  --> [[How to add trusted root certificates]]
 +
--> [[Find:_10_Useful_Examples_of_Find]]
 +
--> [[Send email from PHP to a log file instead of sendmail]]
 
  --> [[Debugging Wordpress]]
 
  --> [[Debugging Wordpress]]
 
  --> [[How to install Linux via USB]]
 
  --> [[How to install Linux via USB]]
Line 185: Line 214:
 
  --> [[How to check Used IP on your Home Network]]
 
  --> [[How to check Used IP on your Home Network]]
 
  --> [[How to find GMAIL IPs to allow at Firewall]]
 
  --> [[How to find GMAIL IPs to allow at Firewall]]
  --> [[Useful TCPDUMP commands]][[File:New.jpg|35px|frameless]]
+
  --> [[Useful TCPDUMP commands]]
 
  --> [[Remove Email Block Lists]]
 
  --> [[Remove Email Block Lists]]
 
+
--> [[How to disable qmail vpopmail email user]]
 +
--> [[Git Cheat Sheet - Git made easy]]
 +
--> [[Top Chmod Command Examples for Beginners]]
 
  --> [[Benchmarking and Load Testing with Siege]]
 
  --> [[Benchmarking and Load Testing with Siege]]
 
  --> [[Benchmarking and Load Testing with Apache Bench(AB)]]
 
  --> [[Benchmarking and Load Testing with Apache Bench(AB)]]
  
  --> [[Top Command Line Games - Linux CLI Games]] <sub>Cause Linux can be fun</sub>[[File:New.jpg|35px|frameless]]
+
  --> [[Top Command Line Games - Linux CLI Games]] <sub>Cause Linux can be fun</sub>
  
 
  --> [[Centos Oneliners]]
 
  --> [[Centos Oneliners]]

Revision as of 16:24, 19 May 2018

Welcome to Ramblings of a Centos Ninja

Centos How-Tos

Centos 7

--> Install Remi and EPEL yum repo Centos 7
--> Install Mysql Database Centos 7
--> Install Apache Web Server Centos 7
--> Install PHP/PHP-FPM 5.4 Centos 7
--> Install (LAMP) Linux Apache MySQL and PHP Centos 7
--> Install Redis on Centos 7 How To
--> How To Configure SWAP on Centos 7 
--> How to find user memory usage in linux
--> How to Configure letsencrypt with Apache on Centos 7 Server
--> How to configure Gmail as a Mail Relay with Postfix
--> How use GeoIP on the command line Centos7
--> Protecting Folders with .htpasswd/.htaccess
--> Linux setfacl command
--> How to disable SSH timeout  New.jpg
--> How to Install Squid Proxy Server on Cento7  New.jpg

Centos 6

--> Change Runlevel
--> Check Current Runlevel
--> Change Run Level at Bootup
--> How to change the Hostname on Centos
--> chkconfig settings
--> How to extract a tar.gz file
--> Install SIM - System Integrity Monitor
--> Use Bash on a Non Bash User
--> Quit Bash Shell without Saving Bash History
--> Change the Timezone Centos
--> Check the Version of Package
--> How to install Sphinx on Centos Server
--> How to install Redis on a Centos 6.4 Server
--> Basic Redis commands - Cheat Sheet
--> Adding a New Disk Drive with Centos
--> Creating Backups using rsync with Examples
--> Expand your bash_history to 2500
--> Setup logrotate to rotate your logs
--> GPG: Encrypt And Decrypt Files With A Password
--> Install Remi and EPEL yum repo 
--> Install NewRelic on Centos6
--> Setting Up An NFS Server And Client On CentOS 6
--> Sar is not working how to restart
--> Batch jpeg Image Optimization
--> Howto Block or Open HTTP/HTTPs Ports IPTables
--> Reset Root Password in CentOS
--> Setup vsftp with SELinux
--> Howto Setup NTP on CentOS
--> Fix corrupted RPM database
--> Crontab Usage
--> Make an ISO from a Folder with mkisofs
--> How to setup a VPN server with CentOS PPTPD
--> APF Firewall -Advanced Policy Firewall - Basics
--> How to Block Bittorrent Traffic with IPtables
--> How to find user memory usage in linux
--> How to install ccsrch on Centos 6
--> How to install jpegoptim for CentOS
--> How to install optipng for CentOS
--> How to install gifsicle for CentOS
--> How to install jpegtran for CentOS
--> IPTABLES quick command list
--> Linux setfacl command
Magento How To's

Magento Community Edition/Magento Enterprise Edition

--> What is Magento?
--> Clear Magento Cache
--> Disable Magento Modules
--> Turn on Manual Indexing
--> How to Reset Magento Password
--> How to Create Users in Mageento
--> Enable Mysql Slow Query Logging
--> Magento Connect is not Working
--> Magento will NOT save my Product Updates
--> Magento Internal Cron not Running
--> Setting up the System Cron Job
--> Magento Connect is not Working
--> Changing the Minimum Search Query - MySQL Full Text Only
--> Install Redis Caching for Magento
--> Install Redis Full Page Caching for Magento Enterprise
--> Setting up a Second Instance of Redis
--> Magento Setup Return-Path Email
--> Magento Server Compatibility Check
--> Magento Database Optimization - Log Cleaning Script
--> Magento Site Performance Optimization 
--> Magento Log Rotate with logrotate
--> How to use CDN with Webfonts with Magento 
--> How to Disable Magento Newsletter Module
Magento2 How To's

Magento 2 Community Edition

--> Upgrade Magento2 via CLI
--> Enable/Disable Magento2 Maintenance Page
--> How to set Magento 2 permissions and avoid installation errors
Mecache Caching

Memcached Server

--> Memcached Monitor Tool
--> Setup Multi Instance Memcache
--> Check if Memcached is Running
--> Flush Your Memcached Instance
--> Check Memory Usage of Memcached
--> Memcache running out of Memory?
--> Memcached List all Keys
Apache How Tos

Apache/PHP

--> Redirect site to www or non www
--> Restrict POST request to Website
--> Install Tomcat6 Server on Centos 6
--> How to setup an SSL Certificate for Free
--> Enable Apache to Create Core Dumps
--> Enable php-fpm to create core dumps
--> Debug PHP Enabling slow_log 
--> Block Bots by User Agent String
--> Install mod_extact_forward - Show Real IP behind Proxy
--> Install ionCube Loaders for Centos
--> Install Zend Guard with PHP 5.3 on Centos
--> Install Zend Guard 6.0 with PHP 5.4 on Centos
--> Disable Mod_Security for a single vhost
--> Hide PHP Version(X-Powered-By) in Headers
--> Sessions are ending before MaxLifetime
--> Apache mod_speling case insensitive urls issue
--> Restrict access via htaccess via ipaddress
--> Howto install mod_evasive with fail2ban
--> Install the Latest version PHP on CentOS
--> How to bypass .htpasswd for certain IPs Apache
--> Clear mod_pagespeed cache 
--> Install GeoIP for Apache and PHP
--> How to block or allow countries using GeoIP and .htaccess
--> How to disable mod_security per vhost
--> Force HTTPS for entire website via htaccess
--> Restrict Access to wp-login.php and xmlrpc.php
--> The X-Frame-Options response header
--> Install Xdebug with php-fpm per pool
--> How to Enable Gzip Compression
--> Enable Apache rewrite logging
--> Protecting Folders with .htpasswd/.htaccess
--> How to Disable PHP Execution in Certain Directories
--> Directory listing in htaccess. Allow, Deny, Disable, Enable Directory Listing in .htaccess
Mysql Percona

Mysql/Percona

--> How to Optimize/Repair a Table
--> MySQL - Check Which Query is Consuming Resources
--> How to Set your MySQL Password
--> Rest your MySQL Admin Password
--> How to Convert Table to InnoDB 
--> How to install Percona Database Server
--> How to Access the MySQL via Shell
--> How to Add a User in MySQL
--> How to Drop a User in MySQL
--> How to Create and Delete a MySQL Database
--> How to Create a Table in MySQL Database
--> How to Create a MySQL Database Backup
--> How to Import a MySQL Database
--> How to update the max_connections setting in MySQL
--> How to view a list of MySQL users and their privileges
--> Save MySQL query results into a text or CSV file
--> How to optimize a MySQL database using phpMyAdmin


Varnish How tos

Varnish Cache

--> Setup Varnish Cache
--> Setup Varnish for Magento
--> Setup Varnish for Wordpress
--> Setup Varnish for MediaWiki
--> Setup Varnish - Multiple Domains
--> Setup Varnish - Multiple Ipaddress
--> Script to Clear a Page from Varnish Cache
--> Varnish will not restart WHY?
--> Warm up Varnish Script using Sitemap.xml
--> Varnish How to redirect non-www URLs to www
--> Install libvmod-header with Varnish
Nginx How tos

Nginx Web Server

--> Setup Nginx PHP FPM Percona Mysql
--> Wordpress Ngnix Rewrite Rules
--> Setup up Nginx Caching
--> Nginx Magento vhost Configuration
--> Basic HTTP Authentication with Nginx
--> Protecting Folders with Nginx


Brian Nelson

Other

--> How to add trusted root certificates
--> Find:_10_Useful_Examples_of_Find
--> Send email from PHP to a log file instead of sendmail
--> Debugging Wordpress
--> How to install Linux via USB
--> Network Subnet Mask Cheat Sheet
--> Linux Keyboard Shortcuts
--> Setup a SSH Tunnel for Secure Browsing
--> Install OpenSSH on Windows
--> Install Qmail on a Fresh Centos Server
--> Setup Qmail to Listen on port 587 for SMTP
--> Qmail catch-all account with vpopmail
--> Setup Incoming Email Pipe to Script for Qmail
--> Qmail Control Files
--> Install qmqtool for Qmail on Centos Server
--> Rest Email Password for vpopmail
--> How to check Used IP on your Home Network
--> How to find GMAIL IPs to allow at Firewall
--> Useful TCPDUMP commands
--> Remove Email Block Lists
--> How to disable qmail vpopmail email user 
--> Git Cheat Sheet - Git made easy
--> Top Chmod Command Examples for Beginners
--> Benchmarking and Load Testing with Siege
--> Benchmarking and Load Testing with Apache Bench(AB)
--> Top Command Line Games - Linux CLI Games Cause Linux can be fun
--> Centos Oneliners