Posts

Mastering the screen command on Linux: Installation, Usage, and Troubleshooting

Introduction Learn how to install and effectively use the screen command on CentOS/RHEL and Ubuntu-based systems. This guide covers installation, session management, common issues, and FAQs to enhance your Linux terminal experience. In the world of Linux, the terminal is the heart of operations. Whether you're managing servers, running long processes, or multitasking across various projects, keeping your terminal sessions active and organized is essential.  This is where the screen command comes in—a powerful utility that allows you to run multiple terminal sessions from a single console. This article will guide you through the installation, usage, and troubleshooting of the screen command on Linux systems, ensuring you can manage your terminal sessions like a pro. How to Install the screen Command Before diving into the functionalities of the screen command, it’s important to ensure it’s installed on your system. The installation process varies depending on your Linux distribu...

How to install ibus-bogo on fedora 25: A Comprehensive Guide

Image
Introduction Installing ibus-bogo on Fedora 25 might seem like a daunting task, especially if you're new to Linux. This guide will walk you through the entire process, from downloading the necessary files to configuring ibus-bogo for optimal performance. Whether you're a seasoned Linux user or a beginner, this article is designed to help you get ibus-bogo up and running on your Fedora 25 system. We'll also cover specific configurations for QT-based programs like Skype and provide troubleshooting tips to ensure everything works smoothly. What is ibus-bogo? ibus-bogo is an intelligent input method framework used primarily for typing in different languages. It’s a popular choice among Fedora users, especially those who need to type in multiple languages seamlessly. Fedora 25 users often install ibus-bogo to enhance their typing experience, as it offers a range of features that make switching between languages and input methods easier. Why Install ibus-bogo on Fedora 25? Fedo...

How to install mediawiki on centos 6

Image
Links to below you maybe likes: How to install php7 on centos 6 How to install and configure redmine on centos 6 How to owncloud 9 install ssl certificate centos 7 How To Install the BIND DNS Server on CentOS 6 KeepAlived IP Failover on CentOS & Red Hat How to install mediawiki on centos 6 To require nginx php MySQL Step 1: To update and install epel repo, ntpd #yum update -y #yum install -y epel-release #yum install -y ntp #chkconfig ntpd on #ntpdate pool.ntp.org #service ntpd start Step 2: To install the dependencies #yum install gd sendmail gcc pcre yum-utils wget Step 3:  To install php7 for nginx remi centos 6 Step 4: To install ImageMagick #yum install php-mbstring php-fpm php-devel php-mysql php-pear ImageMagick ImageMagick-devel --enablerepo=remi-php70 #pecl install imagick #echo "extension=imagick.so" > /etc/php.d/imagick.in Step 5: To enable module php-mbstring for nginx #find / -name mbstring.so The result /opt/remi/php70/roo...

Linux basic commands for Every User

Introduction Learn the essential Linux basic commands that every user and administrator should know. From checking your Ubuntu version to managing users, this comprehensive guide provides step-by-step instructions for each command. Linux is a versatile and powerful operating system, popular among both tech enthusiasts and professionals. Whether you are a beginner or an experienced user, mastering the basic commands is crucial for managing and operating a Linux system efficiently. This guide will walk you through the essential Linux commands, helping you understand how to check system information, manage users, and more. By the end of this guide, you'll be equipped with the foundational skills needed to navigate and control your Linux environment with confidence. How to Check Your Ubuntu Version One of the first tasks when working with a Linux system is to know which version of Ubuntu you are running. This information is vital when installing software, troubleshooting issues, or co...

How to install php7 on centos 6: A Step-by-Step Guide

Introduction Learn how to install PHP7 on CentOS 6 using the Remi repository with our detailed step-by-step guide. Includes instructions for setting up PHP7 for Nginx with PHP-FPM and PHP-MySQL. PHP7 brings significant improvements in performance and new features compared to its predecessors. If you're running CentOS 6 and looking to upgrade to PHP7, this guide will help you through the installation process using the Remi repository. We will cover the basic steps and provide additional instructions for setting up PHP7 for Nginx. Prerequisites Before you begin, ensure you have the following: A CentOS 6 server Root access or a user with sudo privileges Step 1: Update the System Start by updating your system to ensure all existing packages are up to date. Copy code yum update -y Step 2: Install Required Packages Install wget and yum-utils to facilitate the installation of the Remi repository. Copy code yum install wget yum-utils -y Step 3: Add the Remi Repository Download and insta...

How to install and configure redmine on centos 6

Image
How to install and configure redmine on centos 6. I'm running commands as root account! Links to below you maybe likes: How to install php7 on centos 6 How to install and configure redmine on centos 6 How to owncloud 9 install ssl certificate centos 7 How To Install the BIND DNS Server on CentOS 6 KeepAlived IP Failover on CentOS & Red Hat To require install redmine on centos 6 CentOS is installed and works Nginx   is installed and works MySQL is installed and works Your are logged as root To install the the dependence packages yum update yum install -y wget gcc gcc-c++ mysql-server mysql-devel openssl-devel readline-devel zlib-devel curl-devel libxslt-devel pcre ImageMagick-devel yum install -y epel-release  yum install -y ntp chkconfig ntpd on ntpdate pool.ntp.org service ntpd start To install ruby on centos 6 cd /usr/local/src/ wget -qO- https://cache.ruby-lang.org/pub/ruby/stable/ruby-2.3.4.tar.gz | tar xvz cd ruby-2.3.4/ ./configure --disable-ins...

Send Email Using Mail Command in Linux: 5 Easy Fixes

Image
To send email using mail command in Linux you need three things: a mail program that knows the options you use, a recipient, and an SMTP server to hand the message to. The old version of this post on how to send email using mail command showed two snippets and skipped all three. This rewrite runs the snippets on Debian 13 with s-nail 14.9.25 (the modern "mailx") and a throw-away SMTP server, then shows what fails: a missing recipient, a script that does not run under sh , options that are obsolete, and a password that anyone can read with ps . Lab limits: the original post used the mailx of CentOS, which is a different program (Heirloom mailx). It was not available here, so the results below apply to s-nail, and the last section shows that the other mail packages do not accept the same options. Contents Which mail command do you have before you send email using mail command? Send email using mail command: the minimum command Fix the script that sends 100 emails with the...

Log File Zimbra Script: 3 Easy Fixes, Avoid Lost Lines

Image
A log file zimbra script that reads only the new lines of /var/log/zimbra.log since its last run is useful for alerts and reports. The original post of this blog showed two Bash functions for that and no way to run them. This rewrite builds the missing main part, tests the functions with a sample Postfix-style log in a Debian 13 container, and shows that the old script loses lines in two situations: when the log is rotated and when lines arrive during a run. A corrected POSIX script follows. Scope: there is no Zimbra server in the lab, so the log is a sample file with five lines in the usual syslog format. The Zimbra Administrator Guide (read on 2026-11-01) says that /var/log/zimbra.log is the Zimbra syslog: it holds the activity of the MTA (Postfix, amavisd, anti-spam, anti-virus), the Logger, authentication (cyrus-sasl) and directory (OpenLDAP) components. The logic of the script does not depend on Zimbra. Contents How the old log file zimbra script works Bugs in the log file ...

curl: (35) SSL connect error

Image
How to solve problem " curl: (35) SSL connect error " For example, curl command to https://huuphan.com error and appear code 35 error as below [root@huupv httpdocs]# curl -v https://huuphan.com * About to connect() to huuphan.local port 443 (#0) *   Trying xxx.xxx.xxx.xxx... connected * Connected to huuphan.com (xxx.xxx.xxx.xxx) port 443 (#0) * Initializing NSS with certpath: sql:/etc/pki/nssdb *   CAfile: /etc/pki/tls/certs/ca-bundle.crt   CApath: none * NSS error -5990 * Closing connection #0 * SSL connect error curl: (35) SSL connect error Solve problem: To update curl and nss package For centos: # yum update curl nss For ubuntu: #apt-get update curl nss

Mastering xdotool − command−line X11 automation tool

Introduction Discover how to automate tasks on Linux using xdotool , the powerful command-line tool for X11 automation. Learn how to install xdotool , create scripts, and explore practical use cases. Optimize your Linux workflow with expert insights in this comprehensive guide. In the Linux ecosystem, the ability to automate repetitive tasks can significantly enhance productivity and efficiency. One of the most versatile tools available for automating tasks within the X11 graphical environment is xdotool . Whether you're looking to simulate mouse and keyboard actions, move windows, or execute complex workflows, xdotool provides the flexibility you need to streamline your operations. This guide will walk you through the process of installing xdotool on popular Linux distributions, demonstrate how to create simple yet powerful scripts, and explore real-world applications of this tool. By the end of this article, you'll have a solid understanding of how to use xdotool to impro...