Common PostgreSQL, SOAP, and Linux Administration Commands

Loading CSV Data into PostgreSQL To import a flat file into a specific table using the PostgreSQL interactive terminal, utilize the \copy meta-command. It is recommended to provide the full absolute path to the file to avoid permission or path resolution issues. \copy pm_faultcontent from '/mnt/postgresdata/inst/data/pm_faultcontent.csv' with c ...

Posted on Tue, 03 Nov 2026 16:25:58 +0000 by lc21

Configuring Firewall with Firewalld on CentOS 7

Firewalld Service Management CentOS 7 utilizes systemctl as the primary service management tool, combining functionality from previous service and chkconfig commands. # Check firewall status using legacy service command service firewalld status # Check firewall status using systemctl systemctl status firewalld Firewalld Service Control Comma ...

Posted on Sat, 03 Oct 2026 16:57:42 +0000 by richei

Configuring Zabbix for Direct IP Access Without the /zabbix Path

Modifying Web Server Configuration To enable direct access to the Zabbix web interface via an IP address without the /zabbix suffix, you need to adjust the web server configuration. 1. Open the main Apache configuraton file: sudo nano /etc/httpd/conf/httpd.conf 2. Locate the DocumentRoot directive. Comment out the existing line and add a new ...

Posted on Sat, 19 Sep 2026 16:20:17 +0000 by Braet

Managing Firewalls and Diagnostic Utilities on CentOS 6 and 7 Systems

To identify the specific Linux distribution version, inspect the release file: cat /etc/redhat-release CentOS 6 Firewall Configuration (iptables) In legacy systems, iptables manages packet filtering. Rules can be applied via CLI or edited directly in the configuration file. Method 1: Command-Line Interface Apply rules to the INPUT chain. Use A ...

Posted on Wed, 16 Sep 2026 16:17:43 +0000 by s_bastian

Configuring and Managing Linux Firewall Rules with firewalld

System Initialization & Security Module Alignment Before applying network policies, ensure underlying security modules align with you're operational requiremants. Disabling SELinux enforcement and halting the firewall daemon can be executed via the following sequence: # Immediately disable SELinux enforcing state setenforce 0 >/dev/null ...

Posted on Fri, 29 May 2026 17:45:02 +0000 by matto

Linux Daily Operations: Firewall, Port Management, and Process Queries

Firewall Management Check firewall status: systemctl status firewalld Start firewall: systemctl start firewalld List all firewall rules and open ports: firewall-cmd --list-all Open a specific port (e.g., 8080/tcp): firewall-cmd --add-port=8080/tcp --permanent Reload firewall to apply changes: firewall-cmd --reload Verify if a port is open: ...

Posted on Thu, 28 May 2026 16:42:32 +0000 by HuggieBear

Remote Access to Tomcat on Linux Blocked by Firewall

After installing Apache Tomcat on a CentOS server, you can successfully access it via http://localhost:8080 from the local machine. However, attempts to reach the server from other devices on the same network fail, eventhough ICMP ping requests are answered. The root cause is typically the system firewall blocking incoming connections on port 8 ...

Posted on Mon, 25 May 2026 21:24:33 +0000 by webdesco

CentOS System Administration: Common Configuration Tasks

Setting Up YUM Repository sudo mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak sudo curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo sed -i -e '/mirrors.cloud.aliyuncs.com/d' -e '/mirrors.aliyuncs.com/d' /etc/yum.repos.d/CentOS-Base.repo sudo yum makecache Initial Configuration ...

Posted on Sun, 10 May 2026 04:38:23 +0000 by JukEboX

Essential Linux System Tuning for Performance and Usability

Accelerate SSH Connections To reduce SSH connection latency, adjust the server-side configuration in /etc/ssh/sshd_config. First, back up the original file: cp /etc/ssh/sshd_config /etc/ssh/sshd_config.bak Edit the configuration file and apply these changes: Set GSSAPIAuthentication to no (typically around line 79). Uncomment and set UseDNS t ...

Posted on Fri, 08 May 2026 04:23:42 +0000 by inferium