This is a quick method to check with using cURL that Nginx/Apache (or any other web server) compression with Nginx ngx_http_gzip_module (gzip), Nginx google/ngx_brotli (br), Apache mod_brotli (br), Apache mod_gzip (gzip) and Apache mod_deflate (deflate) is working. Only the remote server headers are needed. Check that the Nginx/Apache Compression is Working Get headers curl -s -I -H 'Accept-Encoding: br,gzip,deflate' https://www.if-not-true-then-false.com -s option silent, disable progress bar. -I option which will make just HEAD request to server and get headers.
This is quick guide howto find files and directories quick and efficiently on Linux with locate command. Linux find command is outdated, slow and complicated to use, so locate command is much better option. Locate basic usage find files and directories locate file # example locate httpd.conf locate path # example locate /X11/ Find (locate) ignore-case (not case sensitive) locate -i file # example locate -i netbeans Find (locate) only file name (basename) locate -b file # example locate -b shadow Limit locate output locate -l 100 file # example locate -l 50 conf Print number of found entries locate -c file # example locate -c conf Find (locate) with full file info Simply locate something and pipe output to ls command.
I was using simple function to calculate difference between two dates and timestamps until I noticed, it’s not working correctly in long intervals. It’s very easy to calculate difference between two timestamps in seconds, but it’s much more complicated print difference in human readable format. The Internet can be found in a wide range of ways to do this thing, but as a rule they use a fixed amount of seconds for the year and the month.
Memcached is a high-performance, distributed memory object caching system, generic in nature, but originally intended for use in speeding up dynamic web applications by alleviating database load. Memcached is a very useful also in other cases, than only dynamic web applications. This guide explains howto install Memcached 1.6.14 stable version of distributed memory object caching system on Fedora 2 and CentOS / Red Hat (RHEL) 7.5/6.10. Fedora 29/28/27/26, CentOS 7/6 and Red Hat (RHEL) 7/6 has Memcached on default repos, so extra repositories is not needed.
This is a very typical case, the need to create a temp file on the command line quickly. Opening editor, writing content, save file and quit editor is not the fastest possible way. A faster way is to use the cat command with the name of the file and write contents of the file and give the end-of-file character (Ctrl-D). This is guide, howto create (or append to) text file without text editor on Linux shell / command line.
Oracle VirtualBox is a powerful x86 and AMD64/Intel64 virtualization product for enterprise as well as home use. VirtualBox is a general-purpose full virtualizer for x86 hardware. Targeted at server, desktop and embedded use, it is now the only professional-quality virtualization solution that is also Open Source Software. Check video guide howto install VirtualBox 7.0.8 on Fedora 38/37/36 using Oracle’s own dnf repo: Check video guide howto install VirtualBox 7.0.8 / 7.
Are you looking LibreOffice 5.2/5.1/5.0 Install guide? This is quick guide to install Apache OpenOffice 4.1.2 on Fedora 24/23/22/21/20/19/18/17/16/15/14/13/12, CentOS 7.2/6.8, Red Hat (RHEL) 7.2/6.8 with using Apache OpenOffice original RPM packages. What’s new in Apache OpenOffice 4.1.2 release New Sidebar – The Sidebar makes better use of today’s widescreen displays than traditional toolbars Interoperability Improvements DrawObject Improvements/Enhancements Extensions Improvements/Enhancements Many resource leaks were fixed Check full feature list here.
PHP has large number of predefined constants. This HOWTO will present the seven most important, most practical and most useful PHP Magic Constants. FILE – The full path and filename of the file. DIR – The directory of the file. FUNCTION – The function name. CLASS – The class name. METHOD – The class method name. LINE – The current line number of the file. NAMESPACE – The name of the current namespace This is example PHP script with comments, which demonstrate howto use all previously mentioned PHP Magic Constants.
This is a quick tip, howto find, query and list all available packages from a specific Yum repository/repositories on Fedora, CentOS, Red Hat (RHEL). This trick does not show the already installed packages from selected repository. List All Repositories and Check Repository ID’s $ yum repolist Loaded plugins: dellsysidplugin2, refresh-packagekit repo id repo name status adobe-linux-i386 Adobe Systems Incorporated enabled: 17 fedora Fedora 12 - i386 enabled: 15,366 google Google - i386 enabled: 4 livna rpm.
This guide explains howto install Google Chrome Web browser on Fedora 38/37/36/35 and CentOS Stream / Red Hat (RHEL) 9/8.5 / Rocky Linux 8.5. Best way to install and keep up-to-date with Google Chrome browser is use Google’s own YUM/DNF repository. Check video guide, howto install Google Chrome on Fedora 38/37/36/35: Subscribe and follow: Follow @inttf Check video guide, howto install Google Chrome on Red Hat (RHEL) 9.0/8.5: Check video guide, howto install Google Chrome on CentOS Stream 9/8: Subscribe and follow: Follow @inttf Check video guide, howto install Google Chrome on Rocky Linux 8.
I noticed that the Fedora Linux with KDE desktop, has reasonably poor support for laptop touchpad adjustment. For example, the KDE > System Settings > Keyboard & Mouse > Mouse options will not be able to enable vertical scrolling and touchpad tapping. So I decided to write this short guide, howto enable Touchpad vertical scrolling and tapping from command line without any GUI. Enable Laptop Touchpad Vertical Scrolling Simply write following on command line:
This is guide, howto install Mozilla Firefox 3.6 versions (currently 3.6.13) on Fedora 12 using Yum. Firefox 3.6 stable installation works also with older Fedora Linux versions, like f11, f10. Note: Fedora 13 and Fedora 14 already has Firefox 3.6 as default browser Install Mozilla Firefox 3.6 Stable Version on Fedora Linux Using Remi Repository 1. Change to root User su - ## OR ## sudo -i 2. Enable Remi Repository ## Fedora 12 rpm -Uvh http://rpms.
Updated 26.2.2010, Read First Currently, the latest version of the KDE desktop in Fedora is 4.3.5. I had some problems with its stability, so I decided to try out, how will work KDE 4.4.0 the latest stable version of KDE. At first I tried to install KDE 4.4 from Rawhide repository, but it failed to install from there. Here is instructions on how to install KDE 4.4 successfully using RPMFusion and KDE Packaging Project Repositories.
Fedora 13 Users check Fedora 13 ATI Drivers Guide » Like all ATI and Fedora users probably already knows, currently AMD’s ATI Catalyst 10.2 proprietary Linux display drivers are not working on Fedora 12. That is why I decided to write this guide for those who are fighting with ATI drivers in Fedora. As Fedora 12 release notes says: Improvements for graphics support – Introduces experimental 3D support for AMD Radeon HD 2400 and later graphics cards.
What is Gnome Shell? GNOME Shell is the defining technology of the GNOME 3 desktop user experience. It provides following core interface functions: Launching applications Opening files Switching between open windows Adding and deleting workspaces Moving windows between workspaces Dynamic system-related information display (including transient notifications) Providing a flat list of user-account related actions Logging out or switching the session, and stopping or restarting the machine GNOME Shell takes advantage of the capabilities of modern graphics hardware and introduces innovative user interface concepts to provide a delightful and easy to use experience.
What is Gnome Do? GNOME Do (Do) is an intelligent launcher tool that allows users to use the keyboard to rapidly perform tasks such as launching applications, manipulating files and data, running scripts, or sending e-mail. It is similar to the applications GNOME Launch Box (Linux Gnome), KRunner (Linux KDE), Quicksilver (Mac OS X), LaunchBar (Mac OS X) and Butler (Mac OS X). What is Gnome Do – Docky? Gnome Do – Docky is a nice frontend for GNOME Do (Do) which introduces an entirely new way to use Gnome Do.
What is MongoDB? MongoDB (from “humongous”) is a scalable, high-performance, open source, schema-free, document-oriented database. Written in C++. MongoDB bridges the gap between key-value stores (which are fast and highly scalable) and traditional RDBMS systems (which provide structured schemas and powerful queries). MongoDB is very interesting document-oriented database, because it has really awesome features: Document-oriented storage (the simplicity and power of JSON-like data schemas) Dynamic queries Full index support, extending to inner-objects and embedded arrays Query profiling Fast, in-place updates Efficient storage of binary data large objects (e.
PHP MongoDB (Mongo Database) Driver Installation on Linux, UNIX, BSD and Mac OS X MongoDB PHP driver is very simple install on Linux, UNIX, BSD and Mac OS X. You need just PEAR (PHP Extension and Application Repository) with PECL repository. Normally PHP development (dev) package and PHP Pear package installation from package management system is enough to get PEAR working. Also go-pear.php script can be used. Check that the PEAR and PECL are working with the following commands:
CentOS 7 is released, check CentOS 7.1 Netinstall guide. CentOS 6 is released, check CentOS 6.7 Netinstall guide. If the purpose is to upgrade from an older version of CentOS to CentOS 5.11 then read following guide: Upgrade to CentOS 5.11 From 5.10 (5.9, 5.8, 5.7, 5.6, 5.5, 5.4, 5.3, 5.2, 5.1, 5.0) guide This is CentOS (The Community ENTerprise Operating System) 5.11 Linux Network installation (NetInstall) step-by-step walkthrough with screenshots.
This is guide, howto install Adobe Flash Player Plugin version 32 (32-bit and 64-bit) with YUM/DNF on Fedora 32/31/30/29, CentOS 8.0/7.7/6.10 and Red Hat (RHEL) 8.0/7.7/6.10. Currently only Firefox is supported and you need firefox-x11 launcher or fallback to x11. Wayland and Google Chrome/Chromium is not supported anymore. Install Adobe Flash Player Plugin 32 Fedora 32/31/30/29, CentOS 8.0/7.7/6.10 and Red Hat (RHEL) 8.0/7.7/6.10 1. Change Root User sudo -i ## OR ## su - 2.