Install Firefox 5 on Fedora 15/14/13
New Guide, Howto Install Firefox 6 on Fedora 15/14/13/12/11 >>
Mozilla Firefox 5 is released and this is guide, howto install Firefox 5 on Fedora 15, Fedora 14 and Fedora 13 using YUM. It’s important to take backups of all Firefox profiles before install, because this major version upgrade and can behave in any unpredictable way.
What’s new in Firefox 5 Support for CSS animations The Do-Not-Track header preference has been moved to increase discoverability Tuned HTTP idle connection logic for increased performance Improved canvas, JavaScript, memory, and networking performance Improved standards support for HTML5, XHR, MathML, SMIL, and canvas Improved spell checking for some locales Improved desktop environment integration for Linux users Read full details from Firefox 5 release notes.
CentOS 6.10 Netinstall Guide – Network Installation Screenshots
Looking for CentOS 7 NetInstall Guide?
This step-by-step walkthrough with screenshots, howto install CentOS (The Community ENTerprise Operating System) 6.10 Linux with Network installation (NetInstall).
CentOS 6.10 is released and it brings all Red Hat (RHEL) 6.10 goodnes to all users CentOS 6 users. Have fun!
Want just CentOS 6.10 Netinstall mirror URL?
Goto CentOS 6.10 Netinstall URL
1. Download CentOS 6.10 Net Install (NetInstall) image Select mirror here:
CentOS 6.10 i386 version
CentOS 6.10 x86_64 version
Install Firefox 6 on Fedora 15 / 14 / 13 / 12 / 11
Mozilla Firefox 6 is released and this is guide, howto install Firefox 6 on Fedora 15, Fedora 14, Fedora 13, Fedora 12 and Fedora 11 using YUM. This is not big deal for Fedora 15 users, because Firefox 6 found on update repos, but this is good for older Fedora users.
What’s new in Firefox 6 The address bar now highlights the domain of the website you’re visiting Support for the latest draft version of WebSockets with a prefixed API Support for EventSource / Server-sent events Support for window.matchMedia Scratchpad, an interactive JavaScript prototyping environment New Web Developer menu item and moved development-related items into it Improved usability of the Web Console Improved the discoverability of Firefox Sync Reduced browser startup time when using Panorama Fixed several stability issues Fixed several security issues Read full details from Firefox 6 release notes.
Install Nginx/PHP-FPM on Fedora 29/28, CentOS/RHEL 7.5/6.10
This is guide howto install Nginx with PHP 7.2.12 and PHP-FPM on Fedora 29/28/27, CentOS 7.5/6.10 and Red Hat (RHEL) 7.5/6.10. PHP-FPM is easier to use and configure than FastCGI and some tests says that PHP-FPM is even much more efficient than FastCGI.
Nginx (engine x) is a robust, small and high performance http server, reverse proxy server and also mail proxy server.
PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites.
Fedora 16 “Verne” Install Guide with Screenshots
This is guide with screenshots, howto install Fedora 16 “Verne” (F16) using Live CD or Live USB. Fedora 16 “Verne” Installation can be done also with using Fedora NetInstall (Net Install) with gPXE and BFO (boot.fedoraproject.org).
1. Before Fedora 16 “Verne” Installation 1.1 Download Fedora 16 LiveCD Image Download Fedora 16 here.
Select your favorite Live CD (Gnome, KDE, LXDE, XFCE) and architecture i686 or x86_64. On this guide I use Fedora 16 Gnome Live CD and 64-bit version.
Fedora 16 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 16 and disable Nouveau driver. This guide works with GeForce 6/7/8/9/200/300 series cards.
Fedora 16 nVidia driver installation is not much different from previous Fedora versions. I have tested this guide with a couple computers, so let me know, if you have some problems.
Before nVidia drivers installation Check is your nVidia card supported lspci |grep -i VGA ## Example output ## 01:00.0 VGA compatible controller: nVidia Corporation GT215 [GeForce GT 240] (rev a2) List of Supported NVIDIA GPU Products, your card should found before 173.14.xx driver section.
PHP Memory Usage Information Class
Sometimes it’s nice to know or even very important to know, how much your PHP script is using memory. This is a simple example of a class, which can be used to collect the PHP script memory usage information and to print all information. It’s easy to reformat output, if you want to use it example on web page or command line script. Or even do another function for web pages and another for command line scripts.
Install Firefox 26 on Fedora 20/19, CentOS/Red Hat (RHEL) 6.5
Mozilla Firefox 26 is released and this is guide, howto install Firefox 26 on Fedora 20/19/18/17/16, CentOS 6.5/6.4/6.3/6.2/6.1/6 and Red Hat (RHEL) 6.5/6.4/6.3/6.2/6.1/6 using YUM. Firefox 17 ESR (Extended Support Release) is currently available on CentOS 6.5/5.10 and Red Hat (RHEL) 6.5/5.10 own repos, so with this guide you can also install Firefox 17 ESR on CentOS 5.10 and Red Hat (RHEL) 5.10.
What’s new in Firefox 26 All Java plug-ins are defaulted to ‘click to play’ Password manager now supports script-generated password fields Support for H.264 on Linux if the appropriate gstreamer plug-ins are installed Support for the CSS image orientation property There is no longer a prompt when websites use appcache Various security fixes What’s new in Firefox 17 (ESR) First revision of the Social API and support for Facebook Messenger Updated Awesome Bar experience with larger icons JavaScript Maps and Sets are now iterable Improvements that make the Web Console, Debugger and Developer Toolbar faster and easier to use New Markup panel in the Page Inspector allows easy editing of the DOM Sandbox attribute for iframes implemented, enabling increased security Over twenty performance improvements, including fixes around the New Tab page Security fixes Read full details from Firefox 26 release notes and Firefox 17 release notes.
Install Thunderbird 17 on Fedora 19/18, CentOS/Red Hat (RHEL) 6.4
Mozilla Thunderbid 17 is released and this is guide, howto install Thunderbird 17 on Fedora 19/18/17/16/15/14, CentOS 6.4/6.3/6.2/6.1/6 and Red Hat (RHEL) 6.4/6.3/6.2/6.1/6 using YUM. Thunderbird 10 is currently available on CentOS 6.4/5.9 and Red Hat (RHEL) 6.4/5.9 own repos, so with this guide you can also install Thunderbird 10 on CentOS 5.9 and Red Hat (RHEL) 5.9.
What’s new in Thunderbird 17 A Menu Button is now shown to new users by default Tabs are now drawn in the title bar on Windows RSS feeds can now be viewed in the Wide View Layout Various fixes and performance improvements Various security fixes What’s new in Thunderbird 10 New ability to search the Web Improvements to email search Several fixes when drafting email several other platform fixes Read full details from Thunderbird 17 release notes and Thunderbird 10 release notes.
Nginx and PHP-FPM Configuration and Optimizing Tips and Tricks
I wrote before a guide Howto install Nginx/PHP-FPM on Fedora 29/28, CentOS/RHEL 7.5/6.10, but this guide is just installation guide and many cases Nginx and PHP-FPM basic configuration is good enough, but if you want to squeeze all the juice out of your VPS or web server / servers and do your maintenance work little bit easier, then this guide might be useful. These tips are based entirely on my own experience, so they may not be an absolute truth, and in some situations, a completely different configuration may work better. It’s also good to remember leave resources for another services also if you run example, MySQL, PostgreSQL, MongoDB, Mail server, Name server and/or SSH server on same machine.
Upgrade Fedora 15 to Fedora 16 with Preupgrade – Screenshots
This is guide, howto upgrade Fedora 15 to Fedora 16 with Preupgrade. Preupgrade download needed packages from the server, set up everything ready and then reboot to Anaconda installer and after package installation it boots to the new system. It’s important backup your important files before upgrading.
If the aim is to update older versions of Fedora to Fedora 16, then each version have to be upgraded step by step:
Upgrade Fedora 12 to Fedora 13 with Preupgrade >>
Upgrade Fedora 13 to Fedora 14 with Preupgrade >>
Upgrade Fedora 14 to Fedora 15 with Preupgrade >>
LEMP on Fedora 28/27, CentOS/Red Hat (RHEL) 7.5/6.10
LEMP (Linux, Nginx, MySQL, PHP) server is extremely powerful setup behind any website or web based service. This guide is collection of Fedora/CentOS/Red Hat (RHEL), Nginx, MariaDB/MySQL and PHP (PHP-FPM) install guides.
This guide (more specifically this guide parts) try to explain in more detail LEMP (Linux, Nginx, MariaDB/MySQL, PHP (PHP-FPM)) server environment installation. This howto can be used to pre-installed Linux, and instructions can be used for various Fedora and Red Hat based Linux distros with YUM. This guide is also usable with setup where MariaDB/MySQL databases, Nginx servers and even PHP-FPM are on different server machines. So you could have different servers to process MariaDB/MySQL queries, Web Server requests and PHP requests.
Upgrade to CentOS 6.7 from CentOS 6.6/6.5/6.4/6.3/6.2/6.1/6.0
CentOS 6.6 is released. This is quick guide, howto upgrade to CentOS 6.7 from CentOS 6.6/6.5/6.4/6.3/6.2/6.1/6.0. I have tested this method on multiple CentOS 6 (servers / desktops) and everything looks work fine after upgrade.
Upgrade to CentOS 6.7 from CentOS 6.6/6.5/6.4/6.3/6.2/6.1/6.0 1. Change to root User su - ## OR ## sudo -i 2. Backup all important data Backup /etc diretory Backup important logs /var/log Backup web server configs and sites Dump MySQL databases Dump PostgreSQL databases Backup all what you need if something goes wrong 3. Check list of packages that are going to be updated yum list updates 4. Upgrade with yum update Official way to do upgrade:
Install LibreOffice 6.1/6.0 on Fedora 29/28, CentOS/RHEL 7.5
This is guide, howto to install LibreOffice 6.1.3 (or LibreOffice 6.0.7) on Fedora 29/28/27, CentOS 7.5 and Red Hat (RHEL) 7.5 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 29/28/27, CentOS/Red Hat (RHEL) 7.5 users.
1. Download LibreOffice 6.1.3/6.0.7 Linux Package LibreOffice 6.1.3 64-bit version wget http://download.documentfoundation.org/libreoffice/stable/6.1.3/rpm/x86_64/LibreOffice_6.1.3_Linux_x86-64_rpm.tar.gz LibreOffice 6.1.3 32-bit version wget http://download.documentfoundation.org/libreoffice/stable/6.1.3/rpm/x86/LibreOffice_6.1.3_Linux_x86_rpm.tar.gz LibreOffice 6.0.7 64-bit version wget http://download.documentfoundation.org/libreoffice/stable/6.0.7/rpm/x86_64/LibreOffice_6.0.7_Linux_x86-64_rpm.tar.gz LibreOffice 6.0.7 32-bit version wget http://download.documentfoundation.org/libreoffice/stable/6.0.7/rpm/x86/LibreOffice_6.0.7_Linux_x86_rpm.tar.gz 2. Change to root User su - ## OR ## sudo -i 3. Extract LibreOffice Package and Access Directory LibreOffice 6.1.3 tar -xvf LibreOffice_6.1.3* cd LibreOffice_6.1.3* LibreOffice 6.0.7 tar -xvf LibreOffice_6.0.7* cd LibreOffice_6.0.7* 4. Install / Update LibreOffice RPM packages Install LibreOffice 6.1.3/6.0.7 RPMs Fedora 29/28/27 dnf install RPMS/*.rpm CentOS 7.5 and Red Hat (RHEL) 7.5 yum localinstall RPMS/*.rpm 5. Start LibreOffice LibreOffice 6.1.3 Start LibreOffice with Clicking Icons (found normally from menus)
or Start LibreOffice with Following Command:
Gnome Shell Tweaking with Extensions and Themes on Fedora 16
This is a guide on howto modify and tweak Gnome 3.2 Gnome Shell on Fedora 16, easily with application called gnome-tweak-tool, using extensions and themes. With this guide you have two option, install all extensions and themes once or install just extensions and themes what you want to use. There’s a lot of other themes and the extension, but those which are presented in this guide can be installed via the YUM package management, as well as they are of good quality.
PHP / PDO / SQLite3 Example
This is a PHP, PDO and SQLite3 example, which demonstrates the SQLite3 databse usage with PHP-PDO. The PHP / PDO / SQLite3 example code demonstrates following things, and their use:
Create / Connect SQLite3 databases Use SQLite3 file and memory databases Create tables in SQLite3 database Use SQLite3 db different datetime formats Insert data to SQLite3 database PDO / SQLite3 prepared statements Bind parameters to statement variables Bind values to statement variables Quote a string for use in a query Update data in SQLite3 database Select / Query from SQLite3 database and print query output Drop SQLite3 table Close SQLite3 connections PHP / PDO / SQLite3 Example Code <?php // Set default timezone date_default_timezone_set('UTC'); try { /************************************** * Create databases and * * open connections * **************************************/ // Create (connect to) SQLite database in file $file_db = new PDO('sqlite:messaging.sqlite3'); // Set errormode to exceptions $file_db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); // Create new database in memory $memory_db = new PDO('sqlite::memory:'); // Set errormode to exceptions $memory_db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); /************************************** * Create tables * **************************************/ // Create table messages $file_db->exec("CREATE TABLE IF NOT EXISTS messages ( id INTEGER PRIMARY KEY, title TEXT, message TEXT, time INTEGER)"); // Create table messages with different time format $memory_db->exec("CREATE TABLE messages ( id INTEGER PRIMARY KEY, title TEXT, message TEXT, time TEXT)"); /************************************** * Set initial data * **************************************/ // Array with some test data to insert to database $messages = array( array('title' => 'Hello!', 'message' => 'Just testing...', 'time' => 1327301464), array('title' => 'Hello again!', 'message' => 'More testing...', 'time' => 1339428612), array('title' => 'Hi!', 'message' => 'SQLite3 is cool...', 'time' => 1327214268) ); /************************************** * Play with databases and tables * **************************************/ // Prepare INSERT statement to SQLite3 file db $insert = "INSERT INTO messages (title, message, time) VALUES (:title, :message, :time)"; $stmt = $file_db->prepare($insert); // Bind parameters to statement variables $stmt->bindParam(':title', $title); $stmt->bindParam(':message', $message); $stmt->bindParam(':time', $time); // Loop thru all messages and execute prepared insert statement foreach ($messages as $m) { // Set values to bound variables $title = $m['title']; $message = $m['message']; $time = $m['time']; // Execute statement $stmt->execute(); } // Prepare INSERT statement to SQLite3 memory db $insert = "INSERT INTO messages (id, title, message, time) VALUES (:id, :title, :message, :time)"; $stmt = $memory_db->prepare($insert); // Select all data from file db messages table $result = $file_db->query('SELECT * FROM messages'); // Loop thru all data from messages table // and insert it to file db foreach ($result as $m) { // Bind values directly to statement variables $stmt->bindValue(':id', $m['id'], SQLITE3_INTEGER); $stmt->bindValue(':title', $m['title'], SQLITE3_TEXT); $stmt->bindValue(':message', $m['message'], SQLITE3_TEXT); // Format unix time to timestamp $formatted_time = date('Y-m-d H:i:s', $m['time']); $stmt->bindValue(':time', $formatted_time, SQLITE3_TEXT); // Execute statement $stmt->execute(); } // Quote new title $new_title = $memory_db->quote("Hi''\'''\\\"\"!'\""); // Update old title to new title $update = "UPDATE messages SET title = {$new_title} WHERE datetime(time) > datetime('2012-06-01 15:48:07')"; // Execute update $memory_db->exec($update); // Select all data from memory db messages table $result = $memory_db->query('SELECT * FROM messages'); foreach($result as $row) { echo "Id: " . $row['id'] . "\n"; echo "Title: " . $row['title'] . "\n"; echo "Message: " . $row['message'] . "\n"; echo "Time: " . $row['time'] . "\n"; echo "\n"; } /************************************** * Drop tables * **************************************/ // Drop table messages from file db $file_db->exec("DROP TABLE messages"); // Drop table messages from memory db $memory_db->exec("DROP TABLE messages"); /************************************** * Close db connections * **************************************/ // Close file db connection $file_db = null; // Close memory db connection $memory_db = null; } catch(PDOException $e) { // Print PDOException message echo $e->getMessage(); } ?> Example Code Output Id: 1 Title: Hello! Message: Just testing... Time: 2012-01-23 06:51:04 Id: 2 Title: Hi''\'''\""!'" Message: More testing... Time: 2012-06-11 15:30:12 Id: 3 Title: Hi! Message: SQLite3 is cool... Time: 2012-01-22 06:37:48
Install phpMyAdmin 4.3.10 on Fedora 21/20, CentOS/RHEL 6.6/5.11
This is guide, howto install phpMyAdmin 4.3.10 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. phpMyAdmin needs web server with PHP and MySQL database. This guide uses Apache web server with PHP 5.6 or Nginx web server with PHP 5.6 (PHP-FPM) and MySQL 5.6 database server or MariaDB 10/5.5 database server. You can also use your already installed versions of web server, PHP and MySQL.
If you want to install phpMyAdmin with Apache then use a – [Apache] sections and if you want install phpMyAdmin with Nginx then use b – [Nginx] sections.
VI and VIM Syntax Highlighting on Fedora / CentOS / Red Hat (RHEL)
This is guide, howto enable Vi and Vim text editor syntax Highlighting on Fedora / CentOS / Red Hat (RHEL). Actually on Fedora, CentOS and Red Hat (RHEL) does only have Vim (Vi IMproved), but if you run vi command it works, because it runs small/minimal version of Vim, which is like original Vi.
I have seen too many guides howto enable Vi/Vim syntax highlighting, which says that you can turn syntax highlighting on/off with using :syntax on and :syntax off. It’s almost true, but actually on Fedora, CentOS and RHEL you can’t turn Vi syntax highlighting on with any command, because Vi (Vim minimal) does not have syntax highlighting feature included.
Fedora 17 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 17 “Beefy Miracle” and disable Nouveau driver. This guide works with GeForce 6/7/8/9/200/300 series cards.
Fedora 17 nVidia driver installation is not much different from previous Fedora versions. I have tested this guide with a couple computers, so let me know, if you have some problems.
Before nVidia drivers installation Check is your nVidia card supported lspci |grep -i VGA ## Example output ## 01:00.0 VGA compatible controller: nVidia Corporation GT218 [GeForce G210] (rev a2) List of Supported NVIDIA GPU Products, your card should found before 173.14.xx driver section.
Fedora 17 “Beefy Miracle” Install Guide with Screenshots
This is guide with screenshots, howto install Fedora 17 “Beefy Miracle” (F17) using Live CD or Live USB. Fedora 17 “Beefy Miracle” Installation can be done also with using Fedora NetInstall (Net Install) with gPXE and BFO (boot.fedoraproject.org).
1. Before Fedora 17 “Beefy Miracle” Installation 1.1 Download Fedora 17 LiveCD Image Download Fedora 17 here.
Select your favorite Live CD (Gnome, KDE, LXDE, XFCE) and architecture i686 or x86_64. On this guide I use Fedora 17 Gnome Live CD and 64-bit version.