Dev {Tricks}


  • Home
  • WordPress
  • OJS
  • Oxwall
  • Server and Hosting
You are here: Home / Archives for How to

December 21, 2020 by dev

100% Disk Usage Solved with 10 Tips for Windows 10

Many of windows 10 users are suffering from 100% Disk Usages. To give it a solution, you can try following 10 TIPs!

  1. Run Disk Check
  2. Reset Virtual Memory
  3. Disable Windows Search
  4. Disable Superfetch
  5. Disable DiagTrak
  6. High Performance Mode
  7. Disable Chrome Prefetch
  8. Update Windows
  9. PCI – Express Bug
  10. SATA Drivers

 

Filed Under: How to, PC Tips and Tricks Tagged With: 100% Disk, 100% Disk Usage, COM Surrogate, PC performance, Surrogate

December 21, 2020 by dev

How to increase computer Virtual Memory? Windows 10.

To reset virtual memory of your computer, follow the steps below:

  • Search Control Panel
  • Open “Control Panel” app
  • Click on “System and Security”
  • Then click on System
  • This will open Device and Windows specifications. You will find “Advanced system settings” here and click on it.
  • A popup window will appear. Click on “Settings” under Performance.
  • Another popup window will appear. Click on “Advanced” tab. Than click “Change” under Virtual memory.
  • Uncheck “Automatically manage paging file size for all drives” and set Custom size.
  • The custom Initial and Maximum size will be 1.5 times of your system memory.
  • Click “Set” and then “OK”
  • The changes you have made require you to restart your computer before they can take effect.

That’s all!

Filed Under: How to, PC Tips and Tricks Tagged With: COM Surrogate, Virtual Memory

September 12, 2020 by dev

How to Stop XML-RPC Attack in WordPress

WordPress utilizes XML-RPC to remotely execute functions for example JetPack, WordPress mobile application etc.  But XMLRPC Attack made web server jam. In HTTP access log, we saw a lot of requests like this:

61.135.232.103 - - [11/Sep/2020:10:27:20 -0500] "POST /xmlrpc.php HTTP/1.1" 200 401 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0"
91.132.142.57 - - [11/Sep/2020:10:39:03 -0500] "POST /xmlrpc.php HTTP/1.1" 200 401 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0"
5.33.187.36 - - [11/Sep/2020:10:43:28 -0500] "POST /xmlrpc.php HTTP/1.1" 200 401 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0"

You will also get “Error connecting to database” message when your WordPress site is down.

Solutions

We can secure server from XMLRPC attacks in several ways

  • We can add a HTTP directive to httpd.conf or .htaccess for denying all requests on /xmlrpc.php.
    <files xmlrpc.php>
      Order allow,deny
      Deny from all
    </files>

    If don’t have httpd.conf or .htaccess, we can simply rename the filename.

    • Where is httpd.conf?
      /etc/httpd/conf/httpd.conf
    • DirectAdmin: File Editor
    • Webmin: Others > File Manager
  • Installing the Jetpack Plugin can block the XML-RPC requests with its “Protect” function.

 

 

 

 

Filed Under: AWS, Bluehost, Contabo, Digitalocean, DirectAdmin, How to, Server and Hosting, VPSDime Tagged With: XML-RPC Attack, XMLRPC Attack

August 28, 2020 by dev

PopUp on WordPress with plugin

Generally we use two types of popup.

  1. On page landing popup
  2. On click popup

There are many plugins those can be used for these purpose. But you can check below two plugins.

For on page landing popup, we can use “Popup Builder” plugin. This plugin can also be connected with “Contact Form 7”.

For on click popup, we can use “Popup Maker“. This plugin can also be connected with “Contact Form 7”.

 

Filed Under: How to, How to, Plugins, Wordpress Tagged With: on click popup, popup, popup on different pages, popup on homepage

July 24, 2020 by dev

how to know file size in linux command

ls command for files
du command for directories

Checking File Size

ls -l filename #Displays Size of the specified file
ls -l * #Displays Size of All the files in the current directory
ls -al * #Displays Size of All the files including hidden files in the current directory
ls -al dir/ #Displays Size of All the files including hidden files in the ‘dir’ directory

Checking Directory size

du -sh directory_name #Gives you the summarized(-s) size of the directory in human readable(-h) format
du -bsh * #Gives you the apparent(-b) summarized(-s) size of all the files and directories in the current directory in human readable(-h) format

For more information see man ls and man du

Filed Under: DirectAdmin, How to, Server and Hosting Tagged With: du, file size, linux file size, linux file size command, ls

  • 1
  • 2
  • 3
  • …
  • 7
  • Next Page »

Recent Posts

  • How to Create a Bootable USB Disk and Install Windows 10, Windows 8, Windows 7, Windows XP
  • 100% Disk Usage Solved with 10 Tips for Windows 10
  • How to increase computer Virtual Memory? Windows 10.
  • How to find spam users?
  • OJS production gallery loading
  • No response from subprocess (php)
  • Laragon – Powerful universal development environment
  • XAMPP Error: MySQL shutdown unexpectedly.
  • SSH commands for deleting file, files and folder
  • Gateway Timeout
  • Ioncube PHP loader with Plesk PHP packages | How to enable?
  • Artisan syntax error
  • Slick – Carousel you’ll ever need
  • Apache Server Status for 127.0.0.1 (via 127.0.0.1) Requests List
  • How to Stop XML-RPC Attack in WordPress
  • How to Install Webmin on CentOS 8
  • PopUp on WordPress with plugin
  • jQuery Add and Remove CSS Classes
  • An error has occurred while trying to update the license file | DirectAdmin
  • How to enable exec()

Categories

  • Affiliate Marketing (1)
  • Email Solutions (6)
    • Google Spreadsheet (2)
    • PHP Email Form (1)
    • Recaptcha (1)
    • Thunderbird (1)
    • WebMail (1)
  • FrontApp (1)
  • How to (31)
  • Joomla (1)
    • Akeeba (1)
  • jQuery (1)
  • jQuery Plugins (3)
    • BX Slider (1)
    • Slick (1)
  • Marketplace (3)
  • Miscellaneous (12)
  • MS Office (1)
    • PowerPoint (1)
  • Neuron TD (15)
    • Console Error (1)
    • functions (5)
      • register_post_type (1)
      • register_sidebar (1)
      • theme_files (1)
      • theme_supports (1)
    • Image Directory (1)
    • Menu (2)
    • Query (4)
  • OJS (18)
    • Help (9)
    • Installation (2)
      • Issues (2)
    • Theme Development (3)
    • TPL CSS JS (1)
    • Upgrade (4)
  • Oxwall (2)
  • Payment Methods (1)
    • Paypal (1)
  • PC Tips and Tricks (3)
  • PHP Parse error (1)
  • PolyMail (1)
  • Server and Hosting (94)
    • AWS (3)
    • Blesta (4)
    • Bluehost (2)
    • Boxbilling (1)
    • Contabo (5)
    • cPanel (6)
    • Digitalocean (33)
    • DirectAdmin (66)
      • Find & fix (27)
    • Email (4)
    • Error and Fix (5)
    • FTP (2)
    • HostGator (2)
    • Plesk (2)
    • Security (9)
    • SSH (1)
    • VPS Management (27)
    • VPSDime (4)
    • Webmin (1)
    • WHMCS (4)
  • Uncategorized (9)
  • Wordpress (50)
    • Elementor (1)
    • Functions (3)
    • Genesis (7)
    • Glossary (1)
    • How to (9)
    • Plugins (8)
      • Contact Form 7 (3)
      • Duplicator (1)
      • Essential Grid (2)
    • Speed and Security (4)
    • Stock Theme Development (6)
      • Header Footer (1)
      • PHP (1)
      • VC (1)
    • Theme Development (2)
      • Issues (1)
      • Menu (1)
    • Timer Theme Development (3)
    • Update (1)
    • WP Basic Guideline (7)
  • Home
  • WordPress
  • OJS
  • Oxwall
  • Server and Hosting

Copyright © 2021 · Executive Pro Theme on Genesis Framework · WordPress · Log in