Install LibreOffice 5.2/5.1 on Fedora 24/23, CentOS/RHEL 7.2/6.8

This is guide, howto to install LibreOffice 5.2.0 (testing) / 5.1.4 (testing) / 5.1.3 (stable) / 5.0.6 (stable) on Fedora 24/23/22/21/20/19/18/17/16/15/14/13/12, CentOS 7.2/6.8 and Red Hat (RHEL) 7.2/6.8 using LibreOffice's original RPM packages. This guide's idea is offer one method to all LibreOffice versions and also one method to all Fedora 24/23/22/21/20/19/18/17/16/15/14/13/12, CentOS/Red Hat (RHEL) 7.2/6.8 users. 1. Download LibreOffice 5.2.0/5.1.4/5.1.3/5.0.6 Linux...

CentOS 6.8 Netinstall Guide – Network Installation Screenshots

This step-by-step walkthrough with screenshots, howto install CentOS (The Community ENTerprise Operating System) 6.8 Linux with Network installation (NetInstall). CentOS 6.8 is released and it brings all Red Hat (RHEL) 6.8 goodnes to all users CentOS 6 users. Have fun! Want just CentOS 6.8 Netinstall mirror URL? Goto CentOS 6.8 Netinstall URL 1. Download CentOS 6.8 Net Install (NetInstall) image Select mirror here: CentOS 6.8 i386 version CentOS 6.8 x86_64 version Select...

Upgrade Fedora 24 from Fedora 23 Using DNF (F23 to F24)

This is guide, howto upgrade Fedora 23 to Fedora 24 using DNF. I have tested this method on several machines, but if you have problems, please let me know. Always remember backup, before upgrade! 1. Before Upgrade 1.1 Backup Your Data Before doing anything, do full system backup or backup at least your important data: documents, pictures, videos, config files, log files, databases etc. This is very important step, because if something goes wrong and you have to do fresh...

Install Oracle Java 7u79/80 on Fedora 24/23, CentOS/RHEL 7.2/6.8/5.11

Please note: This guide still working normally if you want install Sun/Oracle Java 7, but if you want Java 8 version, then check Install Oracle Java JDK/JRE 8 on Fedora, CentOS/RHEL. This is guide, howto Install Sun/Oracle Java JDK and JRE 7 CPU (7u79) and PSU (7u80) on Fedora 24/23/22/21/20/19/18/17/16/15/14/13/12, CentOS 7.2/6.8/5.11, Red Hat (RHEL) 7.2/6.8/5.11. Read more, what is difference between CPU and PSU release. If you're looking instruction for Sun/Oracle Java JDK/JRE...

Install Apache OpenOffice 4.1.2 on Fedora 24/23, CentOS/RHEL 7.2/6.8

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...

Install Eclipse Mars 4.5 on Fedora 24/23, CentOS/RHEL 7.2/6.8/5.11

This is guide, howto install latest Eclipse Mars.2 4.5.2 on Fedora, CentOS and Red Hat (RHEL). This guide should work with Fedora 24/23/22/21/20/19/18/17/16/15/14/13/12, CentOS 7.2/6.8/5.11 and Red Hat (RHEL) 7.2/6.8/5.11 and even with earlier versions. Latest working version on CentOS/RHEL 5.11 is Eclipse Luna 4.4.2. Eclipse is a multi-language software development environment comprising an integrated development environment (IDE) and an extensible plug-in system. It is written primarily in...

PHP stdClass to Array and Array to stdClass – stdClass Object

I think every PHP coders have come accross Arrays and stdClass Objects (belongs to PHP Predefined Classes). Sometimes it's very useful convert Objects to Arrays and Arrays to Objects. This is easy if arrays and objects are one-dimensional, but might be little tricky if using multidimensional arrays and objects. This post defines two ultra simple recursive function to convert multidimensional Objects to Arrays and multidimensional Arrays to Objects. [inttf_post_ad1] Function to...

PHP: Remove Last Character from String – substr/substr_replace/rtrim

This is a very common PHP question, how to remove last character from string in PHP? So here are three ways how to delete last character from string in PHP. [inttf_post_ad1] Method 1 - PHP: Remove Last Character from String using substr and mb_substr substr and mb_substr commands usage substr($string, 0, -1); mb_substr($string, 0, -1); substr and mb_substr example: $string = "This is test string.."; echo $string . "\n"; // substr function echo "substr: " ....

Format bytes with PHP – B, KB, MB, GB, TB, PB, EB, ZB, YB converter

Simple PHP function that formats the bytes to the desired form. Possible unit options are: Byte (B) Kilobyte (KB) Megabyte (MB) Gigabyte (GB) Terabyte (TB) Petabyte (PB) Exabyte (EB) Zettabyte (ZB) Yottabyte (YB) Function takes three parameter: (bytes mandatory, unit optional, decimals optional) [inttf_post_ad1] PHP byteFormat function for formatting bytes <?php function byteFormat($bytes, $unit = "", $decimals = 2) { $units = array('B' =>...

PHP __DIR__, __FILE__, __FUNCTION__, __CLASS__, __METHOD__, __LINE__, __NAMESPACE__

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,...

Fedora 20 nVidia Drivers Install / Uninstall / Restore Plymouth

Looking Fedora 23/22/21 nVidia Drivers Install Guide? [inttf_post_ad1] This is guide, howto install nVidia proprietary drivers on Fedora 20 "Heisenbug" and disable Nouveau driver. This guide works with GeForce 6/7/8/9/200/300/400/500/600/700 series cards. Older GeForce series cards works with 304.xx nVidia drivers and newer 8/9/200/300/400/500/600/700 series cards works with 331.xx nVidia drivers. Fedora 20 nVidia driver installation is not much different from previous Fedora...

Fedora 23 Install Guide

This is guide with screenshots, howto install Fedora 23 (F23) using Live DVD or Live USB. Fedora 23 Installation can be done also with using Fedora NetInstall (Net Install) with gPXE and BFO (boot.fedoraproject.org). 1. Before Fedora 23 Installation 1.1 Download Fedora 23 Live DVD/USB Image Download Fedora 23 here. Select your version, Fedora 23 Workstation, Fedora 23 Server or Fedora 23 Cloud. On this guide I use Fedora 23 Workstation 64-bit. 1.2 Burn Fedora 23 Image to DVD,...

Upgrade Fedora 22 to Fedora 23 Using DNF (F22 to F23)

This is guide, howto upgrade Fedora 22 to Fedora 23 using DNF. I have tested this method on several machines, but if you have problems, please let me know. Always remember backup, before upgrade! 1. Before Upgrade 1.1 Backup Your Data Before doing anything, do full system backup or backup at least your important data: documents, pictures, videos, config files, log files, databases etc. This is very important step, because if something go wrong and you have to do fresh install,...

CentOS 5.11 Netinstall – Network Installation

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....

PHP: Calculate Real Differences Between Two Dates or Timestamps

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. So if we calculate year with using 365 or 365.25 days and...

PHP – Measure Scripts Execution Time and Page Generation Time

In many cases, it is really useful to know the exact time for how long a PHP script is running or how long will take PHP web page load. On the other hand it is also useful to know that how long a particular script operation or part of page load will take. Following PHP Timing class is very simple to use, only create class and start timing and stop timing. Elapsed time function can be used also (elapsed time is calculated from script start time). Statistics can be displayed in...

SVN Remove Added File From Repository and Keep Local File – Subversion

This is quick SVN (Subversion) tip, howto remove added file from SVN repository without deleting file from local filesystem. [inttf_post_ad1] Remove File From SVN Repository and Keep Local File svn delete --keep-local path/to/file.example Real example: svn delete --keep-local css/test.css [inttf_post_ad2] Real world usage example Adding a whole directory add a file that was not intended to SVN reads, but should be retained locally. svn add css/ A ...

SVN (Subversion) Backup and Restore

This is quick guide, howto Backup (dump) and Restore (load) SVN (Subversion) repository on Linux. This is actually very simple and important task. SVN backup and restore is useful when you want to move your repos to new server or you need to recover your data. I assume here that you have Subversion (SVN) installed and you have existing repositories. If you installed and created testrepo with earlier guide then you can check real examples. [inttf_post_ad1] 1. Backup (dump) SVN...

Solarized Linux

I like very much Ethan Schoonover Solarized color palette. So I decided write a guide, howto get Solarized colors to most commonly used Linux terminals (Gnome-Terminal, Konsole, XFCE Terminal, Mate-Terminal), Text editors (Gedit, Vim) and IDEs (Eclipse, NetBeans). These are not my projects, so the greatest honor belongs, of course, these projects owners and Ethan Schoonover. 1. Install Needed Tools (git, mercurial, 7-zip) 2. Create and Change to Solarized Directory 3. Solarized...

cURL Tip: Check that the Apache Compression (gzip, deflate) is Working

This is a quick method with using cURL to check that Apache Compression with mod_gzip and mod_deflate is working. Only the remote server headers are needed. [inttf_post_ad1] Check that the Apache Compression is Working Get headers curl -I -H 'Accept-Encoding: gzip,deflate' http://www.if-not-true-then-false.com -I option which will make just HEAD request to server and get headers. -H option add header for accecpt content-encondig gzip and deflate. Check headers ...
1 2 3 4 5 6 7 8 9
Close