4 Ways to Speed Up SSH Connections in Linux
You can enable this in your ~/.ssh/config file.
You can enable this in your ~/.ssh/config file.
FG04-IAD2 (1) # set categorycategory ID 0 Unrated1 Drug Abuse2 Alternative Beliefs3 Hacking4 Illegal or Unethical5 Discrimination6 Explicit Violence7 Abortion8 Other Adult Materials9 Advocacy Organizations11 Gambling12 Extremist Groups13 Nudity and Risque14 Pornography15 Dating16 Weapons (Sales)17 Advertising18 Brokerage and Trading19 Freeware and Software Downloads20 Games23 Web-based Email24 File Sharing and Storage25 Streaming Media and Download26 Malicious […]
/usr/local/cpanel/scripts/sysup/usr/local/cpanel/scripts/check_cpanel_rpms –fix [[email protected] www]# /scripts/check_cpanel_rpms –fix [2020-05-15 22:43:38 -0700] [2020-05-15 22:43:38 -0700] Problems were detected with cPanel-provided files which are RPM controlled. [2020-05-15 22:43:38 -0700] If you did not make these changes intentionally, you can correct them by running: [2020-05-15 22:43:38 -0700] [2020-05-15 22:43:38 -0700] > /usr/local/cpanel/scripts/check_cpanel_rpms –fix [2020-05-15 22:43:38 -0700] The following RPMs are […]
/opt/cpanel/ea-php73/root/usr/bin/php -d allow_url_fopen=1 -d zend.detect_unicode=0 $(which composer) update
setup remote ping check Monitoring response-time via NSClient++ Add a command to NSClient++’s configuration file custom.ini:command[check_ping]=C:\plugins\check_ping.exe -H $ARG1$ -w $ARG2$ -c $ARG3$ Add a command to NSClient++’s configuration file op5.ini check_ping = cmd /c scripts\op5\check_ping.exe -H $ARG1$ -w $ARG2$ -c $ARG3$
Client asked to update our cert to their adfs. Couldn’t find a good way to troubleshoot this using google so started to examine all the configuration files in /etc/shibboleth. Led me to federationmetadata.xml. Found section keydescriptor that looked like a certificate so I added a new section with the new cert. <KeyDescriptor use=”signing”> <KeyInfo xmlns=”http://www.w3.org/2000/09/xmldsig#”> […]
Must have brew brew install mtr –HEAD
netironunified_06000d_releasenotes_v2
https://httpd.apache.org/docs/trunk/ssl/ssl_howto.html # “Modern” configuration, defined by the Mozilla Foundation’s SSL Configuration # Generator as of August 2016. This tool is available at # https://mozilla.github.io/server-side-tls/ssl-config-generator/ SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1 # Many ciphers defined here require a modern version (1.0.1+) of OpenSSL. Some # require OpenSSL 1.1.0, which as of this writing was in pre-release. SSLCipherSuite […]
[email protected]:~# ntpq -pn remote refid st t when poll reach delay offset jitter ============================================================================== -67.198.200.4 69.89.207.199 3 u 30 64 1 1.182 -0.029 0.000 +216.239.35.0 .GOOG. 1 u 20 64 1 52.571 0.660 0.240 +216.239.35.4 .GOOG. 1 u 20 64 1 36.033 1.016 0.176 -216.239.35.8 .GOOG. 1 u 24 64 1 140.712 1.154 0.286 *216.239.35.12 […]
Use Firefox and you’ll be able to download the file.
http://67.198.232.40/speedtest/
Need ports TCP 4213, 4214
magento 1.9.3.1 view.phtml around line 100 replace the if statement <?php if($_item->getColor()): ?> <?php $optionId = $_item->getColor(); $optionIdurl = Mage::helper(‘attributeoptionimage’)->getAttributeOptionImage($optionId) ?> <a href=”#” class=”color_swatch”> <?php if (strpos( $this->helper(‘catalog/image’)->init($_item, ‘small_image’)->resize(100, 150), ‘placeholder’)) { ?> <img src=”<?php echo $optionIdurl; ?>” /> <?php } else { ?> <img src=”<?php echo $this->helper(‘catalog/image’)->init($_item, ‘small_image’)->resize(100, 150); ?>” /> <?php } ?> […]
set ssl encrypt 3des sha-1
30 Hilarious Wi-Fi Network Names We All Want Passwords To
How to Install Redis Server on CentOS 7 http://redis.io/topics/quickstart
https://github.com/elkarbackup/elkarbackup ElkarBackup is a free open-source backup solution based on RSync/RSnapshot Automated Rsync Backup Here’s how to setup an automated backup process using Rsync. 1. Test rysnc using a password. Here we will be copying files from /src-dir to /dest-dir on [email protected] 1 > rsync -rvz -e ‘ssh -p 22’ –progress /src-dir [email protected]:/dest-dir 2. […]
Notice the threads are different
one of the nodes failed then the whole cluster went down. shutdown mysql on all nodes cat /var/lib/mysql/grastate.dat check which node has the highest seq number boot strap that node service mysql bootstrap-pxc then start the next node but before that mv /var/lib/mysql/grastate.dat ~ service mysql start this will start a full resync wait till it […]
trying out cloudrouter 3.0. Doesn’t seem like much of a router when it doesn’t have dhcp. How To Install DHCP Server on CentOS 7 https://devops.profitbricks.com/tutorials/deploy-outbound-nat-gateway-on-centos-7/
Installing Ubuntu 14.04 on RAID 1 and LVM
I remember installing this was much easier back in da day…. First problem Trying to find vmware update manager. There is no download link for it on vmware website. After much searching you’ll find it in the vcenter iso. Second problem .net 3.5 sp1 installation in windows 2012 can only be done through server manager. This […]
kinda old article but mostly worked. http://blog.manbolo.com/2013/02/04/how-to-install-python-3-and-pydev-on-osx to update java on Mac used this http://stackoverflow.com/questions/24342886/how-to-install-java-8-on-mac i installed minimal eclipse install and then added pydev
When you install magmi and you access magmi/web/magmi.php initial login/pass will be “magmi/magmi”. After you setup db connection info it will use magento back office login/password. create magmi/.htaccess Order deny,allow Deny from all then create magmi/web/.htaccess Order allow,deny Allow from all RewriteEngine On RewriteCond %{HTTP:Authorization} ^(.+)$ RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
You can still add a passphrase to a private key even after a certificate is generated. openssl rsa -des3 -in your.key -out your.encrypted.key mv your.encrypted.key your.key the -des3 tells openssl to encrypt the key with DES3. remove it openssl rsa -in your.key -out your.open.key you will be asked for your passphrase one last time by […]
extract magmi to your magento folder go to magmi/web/ create htpasswd using ‘/usr/local/apache/bin/htpasswd -c .htpasswd itheadaches’ set owner to files ‘chown -R fill4style.fill4style itheadaches’ set permission to files install php-mbstring, in my case I had to recompile apache with mbstring
[email protected]:~$ sudo >>> /etc/sudoers: syntax error near line 33 <<< sudo: parse error in /etc/sudoers near line 33 sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin [email protected]:~$ pkexec visudo -f /etc/sudoers ==== AUTHENTICATING FOR org.freedesktop.policykit.exec === Authentication is needed to run `/usr/sbin/visudo’ as the super user Multiple identities can […]
svchost.exe high cpu on windows 7 used process explorer to figure out what service is taking up all the cpu. process explorer is a free tool from microsoft. found it was dnscache. read here to try disabling the dns service. I disabled the service and DNS resolution was working, but after a while it would stop […]
Add this at the end of .htaccess file ## EXPIRES CACHING ## <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg “access 1 week” ExpiresByType image/jpeg “access 1 week” ExpiresByType image/gif “access 1 week” ExpiresByType image/png “access 1 week” ExpiresByType text/css “access 1 week” ExpiresByType application/pdf “access 1 week” ExpiresByType application/javascript “access 1 week” ExpiresByType application/x-javascript “access 1 […]
~/www/catalog/view/theme/default/template/download/download.tpl <?php echo $header; ?> <?php echo $content_top; ?> <div class=”container”> <div class=”row”><?php echo $column_left; ?> <?php if ($column_left && $column_right) { ?> <?php $class = ‘col-sm-6’; ?> <?php } elseif ($column_left || $column_right) { ?> <?php $class = ‘col-sm-9’; ?> <?php } else { ?> <?php $class = ‘col-sm-12’; ?> <?php } ?> […]
Use object-fit:contain in CSS styles to contain image inside width/height. <div class=”swatch-loader” style=”text-align:center;”><img src=”<?php echo $this->getSkinUrl(‘images/ajaxcartpopup/loading.gif’);?>” width=”17″ height=”17″ style=”object-fit:contain;display:inline;” /></div>
Test should work for any 1.6.x.x, but only tested on 1.6.0.9, 1.6.0.11, and 1.6.1.4 There is a problem with the token. orders.js is the new file and orders.js.bak is the original js file. You will see the token is pulled from the url/href. [email protected] [/home/bozzolo/www]# diff js/admin/orders.js js/admin/orders.js.bak 595c595 < token: window.location.href.split(‘token=’)[1].split(“&”)[0], — > token: token, […]
http://stackoverflow.com/questions/17341122/link-and-execute-external-javascript-file-hosted-on-github
I downloaded tftpserver for mac os x from here. It uses /private/tftpboot as the path. go to console and type chmod 777 /private/tftpboot when you try to upload a file you will get access violation. You must first create the file so it can be overwritten.
Headache: [ERROR] WSREP: failed to open gcomm backend connection: 131: invalid UUID: 00000000 (FATAL) at gcomm/src/pc.cpp:PC():271 Solution: rename /var/lib/mysql/gvwstate.dat to /var/lib/mysql/gvwstate.dat.bak service mysql start https://github.com/codership/galera/issues/354
-rw-rw—- 1 kolbe kolbe 8.4K Mar 26 17:57 #sql-f3be_1.frm -rw-rw—- 1 kolbe kolbe 24M Mar 26 17:57 #sql-f3be_1.ibd https://mariadb.com/blog/get-rid-orphaned-innodb-temporary-tables-right-way
http://pc-freak.net/blog/fix-mysql-ibdata-file-size-ibdata1-file-growing-large-preventing-ibdata1-eating-disk-space/ http://vdachev.net/2007/02/22/mysql-reducing-ibdata1/
On Linux you can use the command virt-what [[email protected]]# virt-what vmware
design/frontend/mogan/default/template/catalog/layer/view.phtml moved javascript to the very bottom <script> jQuery(document).ready(function(){ jQuery(document).on(‘click’,”#shop-by-header”,function(){ jQuery(“#shop-by-content”).slideToggle(); }); jQuery(document).on(‘click’,”dt[data-toggle=’true’]”,function(){ var elm=jQuery(this),name=jQuery(this).attr(‘data-name’).split(‘-‘)[1]; console.log(‘dd[data-toggle=”toggle-‘+name+'”]’); jQuery(‘.toggle-‘+name).slideToggle( “slow”,function(){ if(elm.text()===’- ‘){ elm.find(‘span’).text(‘+ ‘); }else{ elm.find(‘span’).text(‘- ‘); } }); }); }); </script>java
http://www.dnawebagency.com/displaying-new-products-in-magento-with-pagination/
The category page aka product-list page was really slow to load, about 25 seconds plus To troubleshoot Magento’s cpu usage, first enable varien profiler http://www.techawaken.com/enable-magento-profiler-identify-magento-performance-bottlenecks/ You can also try aoe_profiler Found out it was the configurable swatches. Tried the first method in this post. http://magento.stackexchange.com/questions/69863/configurable-swatches-slow-site-down My load time went from 25s to 10s. Then I […]
I used the export all products dataflow as a template then started modifying it from there. Put configurable product at the end. Added + in front of image url so that it will not add as exclude image http://magento.stackexchange.com/questions/29891/magmi-images-excluded added 3 columns: media_gallery,super_products_sku,configurable_attributes http://stackoverflow.com/questions/16166425/magmi-importing-configurable-product Used magmi to import the csv http://sourceforge.net/projects/magmi/ in magmi enabled itemprocessors, “Magmi Optimizer, Magmi Magento […]
Install old version of firefox https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/ change SSL authorization to “SSL v3 + TLS” once you are able to access Open-e
Problem: “PHP message: PHP Fatal error: Class ‘SoapClient’ not found in /usr/share/nginx/html/app/code/core/Mage/Usa/Model/Shipping/Carrier/Fedex.php on line 134” while reading response header from upstream, client: 173.197.173.75, server: papertine.com, request: “GET /zeki893.php HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9000”, host: “papertine.com” Fix: yum install php-soap
first installed mysql query https://wordpress.org/plugins/query-monitor/ this is a bad ass plugin this plug lead me to a huge mysql query then found it was a bug in wordpress v4.3 https://wordpress.org/support/topic/high-cpu-load-after-update-to-v43?replies=17#post-7330770
https://www.digitalocean.com/community/tutorials/understanding-nginx-server-and-location-block-selection-algorithms https://www.digitalocean.com/community/tutorials/understanding-and-implementing-fastcgi-proxying-in-nginx https://www.digitalocean.com/community/tutorials/how-to-setup-fastcgi-caching-with-nginx-on-your-vps https://rtcamp.com/wordpress-nginx/tutorials/single-site/fastcgi-cache-with-purging/ https://serversforhackers.com/nginx-caching/ http://myjeeva.com/php-fpm-configuration-101.html https://github.com/nicolargo/varnish-nginx-wordpress
Thank you kalpesh!!!! I’ve had problem for a long time only showing one page of Customers in my ‘Manage Customers’ list and I was running 1.8.1.0. I just upgraded to 1.9.2.1 and finally decided to try to tackle this issue while I was working on the server. Found this post, and now I can see […]
https://www.prestashop.com/forums/topic/328432-display-features-in-invoice/
Fixed our problem. https://blog.zimbra.com/2015/07/zimbra-mysql-java-leap-second-high-cpu-problem/