LAMP on Fedora 28/27, CentOS/Red Hat (RHEL) 7.5/6.10

LAMP (Linux, Apache, MariaDB/MySQL, PHP) server is very powerful server setup behind any website or web based service. This guide is collection of Fedora/CentOS/Red Hat (RHEL), Apache, MariaDB/MySQL and PHP install guides. Today the Internet is full of instructions, which promises a LAMP server installation with a "One-Liner", and so forth. In fact, these "One-Liner" instructions assume that, Linux is already installed and installs just AMP (Apache, MariaDB/MySQL, PHP) pakages, without any...

Nano Text Editor and nanorc Tips and Tricks

Nano is easy to use and lightweight command line text editor for Linux and UNIX systems. Nano text editor can use either the default settings or improve settings with customized nanorc-file. Here are some tips that can improve the usability of Nano. Changes can be made to nanorc file, either locally or to all users or options can be used as command line options. First is good to check Nano compiled options, with command: nano -V Nano should be compiled with --enable-nanorc...

Upgrade Fedora 28 from Fedora 27 Using DNF (F27 to F28)

This is guide, howto upgrade Fedora 27 to Fedora 28 using DNF. This method works on desktop and server machines. 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...

Fedora 28 Workstation Install Guide

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

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 [inttf_post_ad1] 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...

Upgrade Fedora 27 from Fedora 26 Using DNF (F26 to F27)

This is guide, howto upgrade Fedora 26 to Fedora 27 using DNF. This method works on desktop and server machines. 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...

Fedora 27 Workstation Install Guide

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

GRUB2 runlevel 3 – Howto Change runlevel on GRUB2

This is quick guide howto change runlevel on GRUB2. Title says runlevel 3 (refer to changing runlevel from 5 to 3), but yes same method of course works, if you want to change runlevel from 3 to 5, from 5 to 1 or from 3 to 1. Whole process is actually add one additional boot parameter. This modification is not permanent, when you boot your system next time, it uses default parameters. This guide works all Linux distributions with GRUB2. Runlevels 0 - Halt Shuts down the system. 1 -...

DNF/YUM Autocomplete (package names/commands) on Fedora/CentOS/RHEL

This is quick tip, howto use Bash auto complete (autocomplete) with DNF/YUM (package names/commands) on Fedora, CentOS, Red Hat (RHEL). Dnf package manager is used on Fedora 26/25/24/23/22 and Yum package manager is used on Fedora 21/20/19/18, CentOS 7.3/6.9 and Red Hat (RHEL) 7.3/6.9. Autocomplete feature is familiar to many who have used the Debian based Linux, like Debian and Ubuntu. For some reason, this feature is not automatically activated/installed on Red Hat -based Linux distros,...

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

Fedora 26 Netinstall / Server Install Guide

This is guide with screenshots, howto install Fedora 26 (F26) Server using Fedora Netinstall image. This same Fedora Netinstall method work for desktop installation too. Desktop is possible select Software Selection step. 1. Before Fedora 26 Installation 1.1 Download Fedora 26 Netinstall Image Download Fedora 23 here. Select Fedora 26 Netinstall image. On this guide I use server install image. 1.2 Burn Fedora 26 Image to CD/DVD, Create Live USB or use image directly and boot...

Upgrade Fedora 26 from Fedora 25 Using DNF (F25 to F26)

This is guide, howto upgrade Fedora 25 to Fedora 26 using DNF. This method work on desktop and server machines. 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...

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. [inttf_post_ad1] 1. Get Internal IP Address(es) on Linux Shell / Command Line 1.1 Get IP and IPv6 Address by...

Hide Apache ServerSignature / ServerTokens / PHP X-Powered-By

By default almost all Apache installation shows sensitive server information with Apache version number, server operating system details, installed Apache modules, PHP-version and so on. Attackers can use this information when performing attacks. Some examples howto check server information that Apache sends Error page Use lynx $ lynx -head -mime_header http://www.ubuntu.com HTTP/1.0 200 OK Date: Fri, 20 Nov 2009 09:25:46 GMT Server: Apache/2.2.8 (Ubuntu)...

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). [inttf_post_ad1] Setup SVN (Subversion) Access Control with Apache and mod_authz_svn 1. Change root user su - ## OR ## sudo -i 2....

PHP mb_ucfirst Make a String’s First Character Uppercase-Multibyte (UTF-8) Function

PHP's ucfirst function is very usefull when you want to change words first letters to uppercase and other letters to lowercase. Currently on PHP does not have a multibyte (UTF-8) version of ucfirst function. So I decided write my own multibyte mb_ucfirst function. Perhaps the multibyte version of ucfirst function is added later on PHP, so that's why is better add this function only if it does not already exist. [inttf_post_ad1] <?php if (!function_exists('mb_ucfirst'))...

Upgrade Fedora 25 from Fedora 24 Using DNF (F24 to F25)

This is guide, howto upgrade Fedora 24 to Fedora 25 using DNF. This method work on desktop and server machines. 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...

Fedora 21 Install Guide

This is guide with screenshots, howto install Fedora 21 (F21) using Live DVD or Live USB. Fedora 21 Installation can be done also with using Fedora NetInstall (Net Install) with gPXE and BFO (boot.fedoraproject.org). Fedora 21 is "nameless" release, no code name, like Heisenbug (F20), Schrödinger's Cat (F19), Spherical Cow (F18), Beefy Miracle (F17) and Verne (F16). 1. Before Fedora 21 Installation 1.1 Download Fedora 21 Live DVD/USB Image Download Fedora 21 here. Select your...

Fedora 21 Upgrade From 20 using FedUp

This is guide, howto upgrade Fedora 20 (Heisenbug) to Fedora 21 using FedUp. 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, because if something go wrong and you have to do fresh...

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...
1 2 3 4 5 6 7 8 9
Close