Posts

Showing posts from April, 2017

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

How to send email using mail command in linux

Image
in my post, i'm use mail command to send message email. mail -s "Subject title huuphan.com" -S from=huupv@huuphan.com <<EOF ---------------------------------------- The content email Hello phan van huu My site: huuphan.com ----------------------------------------- EOF The script sending 100 email from command. #!/bin/sh i=1 for (( i = 1 ; i <= 100 ; i++ )); do  echo "Test Mail $i, Send from mail.huuphan.com" | mailx -v -r "huupv@mail.huuphan.com" -s "Test Mail $i" -a "/tmp/quotausage" -S smtp="mail.huuphan.com:25" -S smtp-auth=login -S smtp-auth-user="huupv@mail.huuphan.com" -S smtp-auth-password="123456789" -S ssl-verify=ignore -S nss-config-dir=/etc/ssl/certs another@mail.huuphan.com,pvhuu285@gmail.com done