Install WordPress 4.1.1 on Fedora 21/20, CentOS/RHEL 7/6.6/5.11

This is guide, howto install WordPress 4.1.1 with Nginx or Apache on Fedora 21/20/19, CentOS 7/6.6/5.11 and Red Hat (RHEL) 7/6.6/5.11 servers. WordPress needs web server with PHP and MariaDB or MySQL database. This guide uses Apache web server with PHP 5.6 or Nginx web server with PHP 5.6 (PHP-FPM) and MariaDB 10/5.5 database server or Mysql 5.6 database server. If you want to install WordPress with Apache then use a – [Apache] sections and if you want install WordPress with Nginx then use b – [Nginx] sections.
Read more →

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 version 6 installation on Fedora 20/19/18, CentOS/Red Hat (RHEL) 6.
Read more →

Find If Not True Then False on Facebook

I would like to welcome all new and old visitors to If Not True False Then site Facebook pages. Hopefully, this new Facebook page also helps to follow new blog posts. Of course, there is also other ways to follow this blog posts, simply using RSS Feed and Twitter. So following step is check out If Not True Then False Facebook page and like it. :) Like If Not True Then False on Facebook:
Read more →

Apache Userdir with SELinux on Fedora 31/30, CentOS/RHEL 8.0/7.7

This is quick guide howto enable Apache userdirs with SELinux on Fedora 31/30/29/28, CentOS 8.0/7.7/6.10 and Red Hat (RHEL) 8.0/7.7/6.10. This guide assumes that you have Apache (httpd) server installed on your system. This guide uses separeted userdir.conf without touching httpd.conf so later default httpd.conf can be overrided or whole configuration moved simply. This guide uses user called testuser and should be replaced by real user name(s). Enable Apache Userdirs 1.
Read more →

Fedora 14 Laughlin – Screenshots, Guides, Overview, What’s New, Features

Fedora 14 codename Laughlin is coming soon (2010-11-02) and Fedora 14 Beta final version is available very soon (2010-09-28). Check also Fedora 14 Install Guide or upgrade Fedora 13 to Fedora 14. I have done some testing with Fedora 14 (Alpha, Beta RC1 and Beta RC2) on my laptop and everything works smoothly. Soon I will revise all this blog Fedora guides and software installation instructions and update them to work with Fedora 14 Laughlin.
Read more →

List tar/tar.gz/tar.bz2 Contents – List all files in archive.tar

This is quick tip, howto list contents of tar, tar.gz and tar.bz2 files without unpacking file. This is very useful on server environment where any graphical tool is not available. This method is also very useful when tar, tar.gz or tar.bz2 packages are really big, something like hundreds of megabytes or gigabytes (for example backups). Overall, the key is the tar command with -t option. List the Contents of tar File List tar contents short command tar -tvf archive.
Read more →

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. 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: " .
Read more →

Install SVN Server on Fedora 31/30, CentOS/RHEL 8.0/7.7

This is guide, howto install SVN (Subversion) server on Fedora 31/30/29/28, CentOS 8.0/7.7/6.10, Red Hat (RHEL) 8.0/7.7/6.10. What is SVN (Subversion)? Subversion is a free/open-source version control system. Subversion manages files and directories, and the changes made to them, over time. This allows you to recover older versions of your data, or examine the history of how your data changed. In this regard, many people think of a version control system as a sort of “time machine”.
Read more →

SVN (Subversion) Access Control with Apache and mod_authz_svn

I just wrote guide, howto install SVN (Subversion) Server on Fedora, CentOS and Red Hat (RHEL). No I decided to write more information about SVN Access Control. This guide works if you have installed Apache, Subversion (SVN) and mod_dav_svn on any Linux system, like Ubuntu, Debian, Arch, Gentoo, not only Fedora, CentOS or Red Hat (RHEL). Setup SVN (Subversion) Access Control with Apache and mod_authz_svn 1. Change root user su - ## OR ## sudo -i 2.
Read more →

Show Linux Version, Distribution (Distro), System Information

This is quick guide howto show Linux version, howto show Linux distributin (distro) info, howto show Linux System information, kernel version and kernel information on command line. Show Linux Version Linux version information can be checked using the following commands: cat /proc/version Another way to check Linux Version information is following: dmesg | grep "Linux version" Example output: Linux version 4.11.10-300.fc26.x86_64 ([email protected]) (gcc version 7.1.1 20170622 (Red Hat 7.1.1-3) (GCC) ) #1 SMP Wed Jul 12 17:05:39 UTC 2017 Show Linux Distribution/Distro information Use lsb_release command to show Linux distribution information: lsb_release -a Example output:
Read more →

Linux Encrypt Files/Decrypt Files – GPG Interactive/Non Interactive Modes

GNU Privacy Guard (GnuPG or GPG) is a free software alternative to the PGP suite of cryptographic software. This is quick guide, howto Encrypt and Decrypt files on Linux with password using GPG. This guide deals with both the interactive mode and the non interactive mode. Interactive mode is useful when the purpose is encrypt some files on the command line. Non interactive mode is useful when the purpose is encrypt files using scripts.
Read more →

Fedora 14 Install Guide (Live CD/Live USB) – Windows Dual Boot

This is Fedora 14 Install Guide with screenshots using Live CD or Live USB and Dual Booting with Windows. Fedora 14 Installation is also possible with using Fedora NetInstall (Net Install) with gPXE and BFO (boot.fedoraproject.org). Read more info about Fedora 14 features. If the aim is upgrade to Fedora 14, then check Upgrade Fedora 13 to Fedora 14 guide.

  1. Before Fedora 14 Installation 1.1 Download Fedora 14 LiveCD Image Download Fedora 14 here.
Read more →

Upgrade Fedora 13 to Fedora 14 with Preupgrade – Screenshots

This is guide, howto upgrade Fedora 13 to Fedora 14 with Preupgrade, which download needed packages from the server and then just reboot to installer and after install boot the new system. It’s important backup your important files before upgrading. Read more info about Fedora 14 features. If the aim is to update older versions of Fedora to Fedora 14, then each version have to be updated step by step:
Read more →

Zend Framework on Fedora 18/17, CentOS/Red Hat (RHEL) 6.4/5.9

This is quick guide, howto install Zend Framework (ZF) 1.12.3 on Fedora 18/17/16/15, CentOS 6.4/6.3/6.2/6.1/6/5.9 and Red Hat (RHEL) 6.4/6.3/6.2/6.1/6/5.9. This guide also works with older Fedora releases, like Fedora 13/12/11 and also with older CentOS/Red Hat RHEL 5 releases. I use Remi repository here because it’s updated more frequently than example Fedora’s own repositories. What is Zend Framework? Zend Framework is a simple, straightforward, open-source software framework for PHP 5 designed to eliminate the tedious details of coding and let you focus on the big picture.
Read more →

Fedora 14 nVidia Drivers Install Guide (disable nouveau driver)

Looking Fedora 22/21 nVidia Drivers Install Guide? This is guide, howto install nVidia proprietary drivers on Fedora 14 and disable Nouveau driver. I write this guide about two weeks ago, but I Delayed the publication of this guide, because of pyxf86config bug, which cause following livna-config-display errors on boot: *Checking for module nvidia.ko: [ OK ] Enabling the nvidia driver: Traceback (most recent call last): File “/usr/sbin/nvidia-config-display”, line 28, in import livnaConfigDisplay.
Read more →

NetBeans 7.4 on Fedora 20/19, CentOS/RHEL 6.5/5.10

NetBeans 7.4 is released and this is guide with screenshots, howto install NetBeans 7.4 on Fedora 20/19/18/17/16/15, CentOS 6.5/5.10 and Red Hat (RHEL) 6.5/5.10. What is NetBeans? The NetBeans IDE (integrated development environment) is available for Windows, Mac, Linux, and Solaris. The NetBeans project consists of an open-source IDE and an application platform that enable developers to rapidly create web, enterprise, desktop, and mobile applications using the Java platform, as well as JavaFX, PHP, JavaScript and Ajax, Ruby and Ruby on Rails, Groovy and Grails, and C/C++.
Read more →

Quit Bash Shell Without Saving Bash History (5 Methods)

Sometimes it is very useful to delete / remove Bash history partially or completely when log out. Here is my favourite methods howto log out / quit / exit Bash shell without saving Bash history. Remove Only Current Session Bash History and Leave Older History Untouched 1. Quit Bash Shell Without Saving History: Unset HISTFILE unset HISTFILE && exit 2. Quit Bash Shell Without Saving History: Kill Console kill -9 $$ Remove/Delete Bash History Completely 3.
Read more →

Linux: Get IP / IPv6 (internal/external) on Command Line/Shell

This is quick tip, howto get internal IP address and external IP address on Linux Shell / Command Line. This guide also show, howto make useful Bash functions to get IP addresses quickly. Note: All functions could be named as you wish and to make functions permanent, add functions to ~/.bashrc or /etc/bashrc. Also all awk commands should work also with gawk and nawk.

  1. Get Internal IP Address(es) on Linux Shell / Command Line 1.
Read more →

Linux: Display / Show File Contents (tabs, line breaks, non-printing characters)

I write before guide, howto create file on Linux shell / command line without text editor (with cat command) and this is guick tip howto display / show file contents (tabs, line-breaks, non-printing characters (ASCII control characters: octal 000 – 037)) and display all on Linux shell / command line. This is very useful when you want to know the entire contents of the file. Example file I use /tmp/testing.
Read more →

Howto Play .wmv Files on Fedora 16 / 15 / 14

This is quick guide, howto play .vmw (Windows Media Video) on Fedora 16, Fedora 15 and Fedora 14. Howto Play .wmv Files on Fedora 16 / 15 / 14 1. Change root user su - ## OR ## sudo -i 3. Add RPMFusion Repositories (Free and Non-Free) 32-bit and 64-bit rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm 3. Install needed packages yum install gstreamer-plugins-ugly gstreamer-ffmpeg Note: I tested this with Totem Movie Player, MPlayer and VLC
Read more →
Subscribe and follow: