Posts

How to check accounts that are not active in zimbra

Image
Introduction Managing email accounts effectively is a critical task for system administrators using Zimbra, an open-source collaboration suite. Identifying inactive accounts ensures optimal server performance, security, and storage efficiency. In this article, we’ll explore how to check accounts that are not active in Zimbra using a streamlined approach. Why Check for Inactive Accounts in Zimbra? Benefits of Identifying Inactive Accounts Inactive accounts can lead to various issues, including: Wasted Storage : Dormant accounts consume server space. Security Risks : Unused accounts may become vulnerable to unauthorized access. Operational Efficiency : Regular cleanup enhances system performance and maintainability. By identifying and addressing inactive accounts, administrators can maintain a secure and efficient email environment. Step-by-Step Guide to Checking Inactive Accounts in Zimbra Prerequisites Before you begin, ensure you have: Admin Access : Permissions to execute commands on...

How to install 3proxy on centos 7

Image
In this tutorial, How to install 3proxy on centos 7 ? How to configure 3proxy for multiple 3G USB modems. Pre-install The package for Centos 7 $ sudo yum update $ sudo yum -y install wget nano epel-release net-tools $ sudo yum -y groupinstall "Development Tools" $ sudo systemctl stop firewalld && systemctl disable firewalld # For example, My LAB turn off firewalld. Installing 3proxy on Centos 7 $ wget https://github.com/z3APA3A/3proxy/archive/0.8.12.tar.gz $ tar zxfv 3proxy.gz $ cd 3proxy-0.8.12/ $ sudo make -f Makefile.Linux $ sudo mkdir /usr/local/3proxy $ sudo cp src/3proxy /usr/local/3proxy/ $ sudo chmod +x /usr/local/3proxy/3proxy Creating the main configurator 3proxy.cfg file. $ sudo nano /usr/local/3proxy/3proxy.cfg And paste the following content: #!/bin/bash IPv4=`ip addr list enp0s3 | grep " inet " | head -n 1 | cut -d " " -f 6 | cut -d / -f 1` IP=`ip addr list ppp0 | grep " inet " | head -n 1 | cut -d " ...

How to install wvdial on ubuntu 18.04: A Comprehensive Guide

Introduction Learn how to install wvdial on Ubuntu 18.04 with our detailed, step-by-step guide. Perfect for setting up your USB 3G/4G Modem. Includes troubleshooting tips and frequently asked questions. If you're working with USB 3G/4G modems on Ubuntu 18.04, you may find that wvdial is an essential tool for managing your modem connections. However, installing wvdial can be tricky, especially when it comes to resolving dependency issues. This comprehensive guide will walk you through the process of installing wvdial on Ubuntu 18.04, addressing common problems, and ensuring a smooth setup. Why Install wvdial on Ubuntu 18.04? wvdial is a versatile utility that simplifies the process of connecting to the internet via a modem. Although newer network managers are available, wvdial remains a preferred choice for many users who require a reliable, command-line interface for their 3G/4G modem connections. Ubuntu 18.04, while powerful and user-friendly, may not include all the necess...

INSTALLING AND CONFIGURING USB 3G DATA ON CENTOS/RHEL

In this tutorial, How to installing and configuring USB 3G/4G Data on CENTOS /RHEL. INSTALLING AND CONFIGURING USB 3G DATA ON CENTOS/RHEL To install wvdial usb_modeswitch usb_modeswitch packages for USB 3G modem. $ sudo yum install wvdial usb_modeswitch-data usb_modeswitch To check log $ dmesg | grep tty Plug and connected and detected for USB 3G modem on CENTOS/RHEL. To configure wvdial $ vi /etc/wvdial.conf  The content wvdial file as below [Dialer 3gviettel] Init1 = ATZ Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Init3 = AT+CGDCONT=1,"IP","e-internet" Stupid Mode = 1 Modem Type = Analog Modem ISDN = 0 Phone = *99# Modem = /dev/ttyUSB0 New PPPD = yes Username = { } Password = { } Baud = 460800 Auto DNS = off check DNS =no Auto Reconnect = on Loading module USB 3G/4G modem $ modprobe usb_wwan usb-storage usbserial Running wvdial for 3gviettel $ wvdial 3gviettel & Yeh, You can add DNS in /etc/resolv.conf fi...

Upgrading Fedora 28 to Fedora 29

Image
I using fedora 28 my laptop. Now I will "Upgrading Fedora 28 to Fedora 29" . Fedora 29 was just officially releases . Before not yet Upgrading to Fedora 29. [huupv@huupv huuphan.com]$ cat /etc/redhat-release Fedora release 28 (Twenty Eight) Using the command line to Upgrading Fedora 28 to Fedora 29 Update software and backup your system [huupv@huupv huuphan.com]$ sudo dnf upgrade --refresh Install the DNF plugin [huupv@huupv huuphan.com]$ sudo dnf install dnf-plugin-system-upgrade Start the update with DNF [huupv@huupv huuphan.com]$ sudo dnf system-upgrade download --releasever=29 Reboot and upgrade [huupv@huupv huuphan.com]$ sudo dnf system-upgrade reboot

Zimbra open source iptables Configuration

Image
Introduction Iptables is a vital component for managing firewall rules on Linux systems, and it plays a crucial role in securing email servers like Zimbra Open Source. Properly configuring iptables ensures your email server is shielded from unauthorized access and potential cyber threats. This guide dives deep into the essentials of iptables configuration for Zimbra, offering both fundamental and advanced examples to streamline your setup. Why Iptables is Essential for Zimbra What is Iptables? Iptables is a command-line firewall utility in Linux used to manage incoming and outgoing traffic. It defines rules to allow, block, or redirect network packets. Role of Iptables in Zimbra Security : Prevent unauthorized access to Zimbra services. Traffic Control : Manage incoming mail and client requests. System Stability : Block malicious traffic to ensure smooth server operations. How to Configure Iptables for Zimbra Open Source Step 1: Installing Iptables Before configuring, ensure iptables i...

top command in linux

Image
I guide to the Linux " Top command ". The top command allow monitor processes and system resource usage on Linux. It is a best tools for system admin. Top command in linux Getting start top command you can type "top" in terminal very simple. [huupv@huupv huuphan.com]$ top  If you want to quit, then press "q" The screen output terminal as below Top command usage example How to killing processes, sorting the process list, showing full paths, forest view and Listing processes from an user. Killing processes you want to kill a process, press "k" when top command is running and ask for the process ID and press enter. If you leave the process ID blank and hit enter. Sorting the process list The most frequent reasons to use a tool like top is to find out the consuming the most resources. you can press key for sorting list. ‘M’ to sort by memory usage ‘P’ to sort by CPU usage ‘N’ to sort by process ID ‘T’ to sor...

Solving the mount nfs stale file handle Solve Problem

Introduction The "mount.nfs stale file handle" error is a common issue faced by Linux users, particularly when dealing with Network File System (NFS). This error can be frustrating as it prevents users from executing commands on the NFS server terminal. It typically occurs when the NFS server experiences disruptions, such as a reboot, or when there are issues with the file system. This guide will walk you through the causes of this error and provide a detailed solution to fix it, ensuring that your NFS client and server continue to function smoothly. Understanding the "mount.nfs stale file handle" Error What Is the "mount.nfs stale file handle" Error? The "mount.nfs stale file handle" error occurs when a file system has been opened and then changed, moved, or deleted on the NFS server while the client is still trying to access it. This leads to a situation where the file handle that the client uses to reference the file system is no longer valid,...

How to Image compression faster web pages

Image
Introduction In today’s online world, website load speed is a crucial factor that not only impacts user experience but also affects the website's SEO ranking. One of the key elements influencing load time is the size of image files. Therefore, compressing and optimizing images is a necessary step to improve website performance. In this article, we will explore methods for fast and effective image compression, helping to reduce page load time while maintaining image quality. Web developers want to fast loading web pages. How to optimize image for web site with PNGs image. I using Linux operating system. Checking load web page I am use Browser Calories plugin add-ons to check web page. Web optimization Installing the tool gimp, imagemagick and optipng [huupv@huupv DR]$ sudo yum install gimp ImageMagick optipng Step 1: Get some basic information about Image Using the file command to get some information about this image [huupv@huupv Banner]$ file Devopsroles.png ...

ls command

Image
In this tutorial, How do i use ls command. The syntax ls command ls [Option] Full list [Option] of ls command ls -a list all files including hidden file starting with '.' ls -r list in reverse order ls -R list recursively directory tree ls -s list file size ls -S sort by file size ls -t sort by time & date ls -X sort by extension name ls --color colored list [=always/never/auto] ls -d list directories - with ' */' ls -F add one char of */=>@| to enteries ls -i list file's inode index number ls -l list with long format - show permissions ls -la list long format including hidden files ls -lh list long format with readable file size ls -ls list with long format with file size For example List all files and folder with option list reverse order, sort by time & date [huupv@huupv huuphan.com]$ ls -lrt The different between files and folders and symbolic link and other with ls -F option [huupv@huupv huuphan.com]$ ls -F Here, "/...