Winnerwizards https://winnerwizards.net/ Navigating news, embracing truth Wed, 03 Jul 2024 10:23:57 +0000 en-US hourly 1 https://wordpress.org/?v=6.6.1 Easy Steps To Change Runlevels on AlmaLinux 9 https://winnerwizards.net/easy-steps-to-change-runlevels-on-almalinux-9/ https://winnerwizards.net/easy-steps-to-change-runlevels-on-almalinux-9/#respond Wed, 03 Jul 2024 10:23:57 +0000 https://winnerwizards.net/?p=72381

In this guide, you will learn to Change Runlevels on AlmaLinux 9. Runlevels are operational states that define what services and processes should be running on the system. They play a critical role in system administration, helping to manage system states and transitions smoothly.

Traditional Runlevels map to systemd targets in AlmaLinux 9

Runlevels are predefined modes of operation for a Unix-based operating system like Linux. Each Runlevel corresponds to a specific set of services that are started or stopped.

AlmaLinux 9, like many modern Linux distributions, uses systemd as its init system. Systemd has replaced the traditional SysV init system, introducing the concept of “targets” to replace runlevels. Targets provide a more flexible and powerful way to manage system states.

Here’s how traditional runlevels map to systemd targets in AlmaLinux 9:

Runlevel 0 → poweroff.targetRunlevel 1 → rescue.targetRunlevel 2, 3, 4 → multi-user.targetRunlevel 5 → graphical.targetRunlevel 6 → reboot.target

Now you can follow the steps below to Change Runlevels on AlmaLinux 9.

How To Change Runlevels on AlmaLinux 9?

To change Runlevels on AlmaLinux 9, you must log in to your server as a non-root user with sudo privileges. For this purpose, you can check this guide on Initial Server Setup with AlmaLinux 9.

Then, follow the steps below to complete this guide.

Check Current Runlevels:

First, you need to check the current runlevel (target) on AlmaLinux 9 by using the command below:

sudo systemctl get-default

With this command, you will see the default target that the system boots into.

Example Output
multi-user.target

Change Runlevels:

Now you can change the runlevel (target) by using the systemctl command followed by isolate and the desired target. For example, to switch to the graphical target (runlevel 5), you must run the following command:

sudo systemctl isolate graphical.target

To make your changes as the default target, so that the system boots into it automatically, use the following command:

sudo systemctl set-default graphical.target

Then, you can check your default target, you should see that it has been changed to your desired Runlevel.

That’s it, you are done.

Conclusion

Runlevels allow you to control the state and behavior of your system, ensuring that the right services are running for your needs, whether you’re operating a server, performing maintenance tasks, or using a desktop environment. At this point, you have learned to easily Change Runlevels on ALmaLinux 9.

Hope you enjoy it. Also, you may like to read the following articles:

Systemd Unit Files Full Guide with Examples

Disable systemd-resolved on Centos 7

]]>
https://winnerwizards.net/easy-steps-to-change-runlevels-on-almalinux-9/feed/ 0
Quick Fix: CSF Error Path to iptables Not Set or Incorrect https://winnerwizards.net/quick-fix-csf-error-path-to-iptables-not-set-or-incorrect/ https://winnerwizards.net/quick-fix-csf-error-path-to-iptables-not-set-or-incorrect/#respond Wed, 03 Jul 2024 10:20:57 +0000 https://winnerwizards.net/?p=72378

If you manage a server and use ConfigServer Security & Firewall (CSF), you might face an error that says “Path to iptables not set or incorrect.” This error can be frustrating, but it’s usually a straightforward fix. This guide will show you the steps to fix this issue quickly. First, let’s understand this error and why it happens.

Understanding CSF Error – Path to iptables Not Set or Incorrect

CSF depends on iptables for managing firewall rules. If the path to iptables is not set correctly, CSF cannot function correctly. This error typically indicates that CSF cannot locate the iptables binary on your system.

Common Causes of the Error:

Incorrect installation of iptablesMisconfiguration in the csf.conf filePath changes because of updates or system changesPermission issues with the iptables binary

The exact error looks like this:

Error
*Error* The path to iptables is either not set or incorrect for IPTABLES [/usr/sbin/ip6tables] in /etc/csf/csf.conf at /usr/local/csf/lib/ConfigServer/URLGet.pm line 26.
Compilation failed in require at /usr/sbin/csf line 21.
BEGIN failed–compilation aborted at /usr/sbin/csf line 21.

To resolve this CSF Error “Path to iptables Not Set or Incorrect”, follow the steps below.

Steps To Fix The path to iptables is either not set or incorrect for IPTABLES

Now that you have understood the causes of the error, you can easily do the following steps to fix CSF Error – Path to iptables Not Set or Incorrect.

Solution 1 – Install iptables

One of the causes of this issue is that you may have the incorrect installation of iptables. First, ensure that iptables is installed on your system. To do this, you can run the command below:

iptables –version

If iptables is not installed, you’ll need to install it. On most Linux distributions, you can install iptables by using the following commands:

sudo apt install iptables # For Debian/Ubuntu
sudo dnf install iptables # For CentOS/RHEL

Then, rerun the CSF config commands, if you don’t see any errors, means it is resolved.

Solution 2 – Update CSF Configuration File

If you have iptables installed on your server, you need to find the correct path to the iptables binary. To do this, you can run the command below:

which iptables

This command should return a path, typically it is located under /sbin/iptables or /usr/sbin/iptables.

Then, open your CSF config file with your desired text editor like Vi Editor or Nano Editor:

sudo vi /etc/csf/csf.conf

In the file, look for the following lines:

# Path to iptables binary
IPTABLES = “/sbin/iptables”

Then, update IPTABLES to your correct path of the iptables binary. Once you are done, save and close the file. After that, restart CSF and LFD to apply the changes:

sudo csf -r
sudo systemctl restart lfd

To verify everything is working correctly, check the status of CSF with the commands below:

sudo csf -e # Enable CSF
sudo csf -d # Disable CSF

If you don’t see any errors, the issue (Path to iptables Not Set or Incorrect) should be resolved.

Solution 3 – Check Permissions For iptables

Incorrect permissions can also cause this error. You can verify the permissions with the following command:

ls -l /usr/sbin/iptables
Or
ls -l /sbin/iptables

If the permissions are not set correctly, you can modify them using the command below:

sudo chmod 755 /usr/sbin/iptables
Or
sudo chmod 755 /sbin/iptables

To ensure everything is configured correctly, run a test command to see if iptables responds:

sudo iptables -L

Source: ConfigServer Community Forum

Summing Up

Dealing with the “Error The path to iptables is either not set or incorrect” error can be challenging, but with the right steps, it can be resolved efficiently. By verifying paths, adjusting configurations, and ensuring proper permissions, you can fix this issue. Regular maintenance and updates will help prevent similar issues in the future.

Hope you enjoy it. Also, you may like to read the following articles:

CSF Firewall on CyberPanel – Installation and Configuration

Enable and Configure the CSF Firewall on CWP

How to Allow a Specific Port for a Particular IP in CSF

Install and Configure CSF Firewall on cPanel

Fix Exceeded LOCALRELAY limit* Error

Fix Error Module Not Found named ‘distutils’

]]>
https://winnerwizards.net/quick-fix-csf-error-path-to-iptables-not-set-or-incorrect/feed/ 0
Exciting Updates in CachyOS June 2024 Release https://winnerwizards.net/exciting-updates-in-cachyos-june-2024-release/ https://winnerwizards.net/exciting-updates-in-cachyos-june-2024-release/#respond Wed, 03 Jul 2024 10:17:57 +0000 https://winnerwizards.net/?p=72375

CachyOS June 2024 Release: The CachyOS team has just released their latest ISO snapshot for June 2024, and it’s packed with exciting updates! This new release supports more hardware, includes a fresh edition for portable devices, and brings several other enhancements.

What’s New in CachyOS June 2024 Release

On 9 June 2024, the CachyOS team released their 7th release this year with amazing changes and improvements.

T2 MacBook Support

The June 2024 release now supports T2 MacBooks in the default CachyOS edition. However, a little heads-up: Wi-Fi and Bluetooth won’t work immediately after installation. You’ll need to follow specific instructions from the official website to patch the OS and get these features up and running.

New Handheld Edition

For those who prefer using Linux on portable devices, the CachyOS Handheld Edition is here! This edition is making its first stable appearance with the June 2024 snapshot. It’s perfect for devices like the Steam Deck, Lenovo Legion Go, and Asus ROG Ally. Now, you can enjoy Linux on the go with ease.

NVIDIA GPU Enhancements

This release includes the beta version of the upcoming NVIDIA 555 graphics driver series, featuring explicit GPU sync support and other improvements. There are also patched compositors with explicit sync support and better sleep functionality on Wayland.

Handy New Script: cachy-chroot

A new script, cachy-chroot, has been introduced to guide you through the chroot process. It helps you correctly mount partitions and properly detect Btrfs subvolumes, making the setup process smoother and more efficient.

Additional Updates and ImprovementsISO to RAM: If you have enough space, you can now copy the CachyOS ISO to your computer’s RAM for a faster boot experience.File System: Btrfs is now the default file system for new installations, replacing XFS.Firewall: The firewalld firewall has been replaced with ufw for better security management.Component Updates: Various system components have been updated to their latest versions.Get the Latest Version of CachyOS

The new CachyOS version is available for download now in both Desktop and Handheld editions from the official website. The Desktop edition features the latest KDE Plasma 6.0.5 desktop environment and is powered by Linux 6.9.

Source: CachyOS Announcement Page

Get more news and guides on the Orcacore website.

]]>
https://winnerwizards.net/exciting-updates-in-cachyos-june-2024-release/feed/ 0
Fix CSF Error: Warning Binary Location for HOST Incorrect https://winnerwizards.net/fix-csf-error-warning-binary-location-for-host-incorrect/ https://winnerwizards.net/fix-csf-error-warning-binary-location-for-host-incorrect/#respond Wed, 03 Jul 2024 10:14:57 +0000 https://winnerwizards.net/?p=72372

If you use CSF firewall for managing your server firewall, you might face this error Warning Binary Location for HOST Incorrect. The full error looks like this :

Error
*WARNING* Binary location for [HOST] [/usr/bin/host] in /etc/csf/csf.conf is either incorrect, is not installed or is not executable

The error message you saw indicates that the ConfigServer Security & Firewall (CSF) is having trouble finding or executing the host command, which is typically located in /usr/bin/host. Now you can follow the steps below to resolve CSF Error: Warning Binary Location for HOST Incorrect.

Quick Solution To Resolve CSF Error: Warning Binary Location for HOST Incorrect

As we said, the cause of this warning message is that CSF can’t find or execute the host command. To fix this issue, follow the steps below:

1- Check if the host is Installed:

First, you need to verify if the host command is installed on your system. To do this, you can run the command below:

which host

If you don’t see anything in your output, means the host is not installed on your server.

2- Install host:

If the host is not installed, you need to install it. The host command is part of the bind-utils package on CentOS/RHEL and dnsutils on Debian/Ubuntu. You can use the following commands to install it:

sudo dnf install bind-utils #Centos/RHEL
sudo apt install dnsutils #Debian/Ubuntu

After your installation is completed, verify the host command again:

which host

In your output, you should see /usr/bin/host or another valid path.

3- Update CSF Config File:

At this point, you must edit the CSF config file, find the Host line, and update it to the correct path. To do this, you can use the following command:

sudo vi /etc/csf/csf.conf

Find the line with HOST and update it to the correct path. For example:

# If the output of `which host` was /usr/local/bin/host, update to:
HOST = “/usr/local/bin/host”

When you are done, save and close the file.

4- Check the Correct Permissions:

Now you need to be sure that the host binary is executable. To do this, you can run the command below:

sudo chmod +x /usr/bin/host

Adjust the path if the host is located elsewhere.

Finally, restart the CSF to apply the changes:

sudo csf -r

At this point, you should be able to fix CSF Error: Warning Binary Location for HOST Incorrect.

Additional Tips For WARNING Binary location for [HOST]

Here are some additional tips to fix the binary location for the host in CSF:

Log Files: If the problem persists, check the CSF log files for more detailed error messages. The logs are typically located in /var/log/lfd.log.Reinstall CSF: In a few cases, if the issue persists even after following these steps, consider reinstalling CSF to ensure all configurations are correct.

By following these steps, you should be able to resolve the error related to the binary location for the host command in your CSF configuration.

Conclusion

If your CSF firewall having trouble finding and executing the Host command, you need to install the host command and update the correct path in the CSF config file. You can easily do the above steps to Fix CSF Error: Warning Binary Location for HOST Incorrect.

Hope it was helpful. Also, you may like to read the following articles:

Fix unknown filesystem type NTFS error in Linux

Fix APEI Generic Hardware Error Source in Linux

How To Clear Yum Cache on Centos 7

Fix APT Error Download is performed unsandboxed as root

Fix Error Group development tools is not available

]]>
https://winnerwizards.net/fix-csf-error-warning-binary-location-for-host-incorrect/feed/ 0
Easy Way To OpenLiteSpeed Setup on Ubuntu 24.04 (LOMP Stack) https://winnerwizards.net/easy-way-to-openlitespeed-setup-on-ubuntu-24-04-lomp-stack/ https://winnerwizards.net/easy-way-to-openlitespeed-setup-on-ubuntu-24-04-lomp-stack/#respond Wed, 03 Jul 2024 10:11:57 +0000 https://winnerwizards.net/?p=72369

This guide intends to teach you OpenLiteSpeed Setup on Ubuntu 24.04 with MariaDB and PHP which means LOMP Stack. The LOMP stack is a set of open-source software used together to run dynamic websites and servers. LOMP stands for:

Linux: The operating systemOpenLiteSpeed: The web serverMySQL/MariaDB: The database management systemPHP: The server-side scripting language

Now proceed to the following steps to start OpenLiteSpeed Setup on Ubuntu 24.04 with MariaDB and PHP.

OpenLiteSpeed Setup on Ubuntu 24.04 – Install LOMP Stack

Before you start OpenLiteSpeed Setup on Ubuntu 24.04, you need to log in to your server as a non-root user with sudo privileges and set up a basic UFW firewall on Ubuntu 24.04. Then, follow the steps below to complete this guide.

Step 1 – Install and Configure OpenLiteSpeed on Ubuntu 24.04

First, you need to run the system update and upgrade with the command below:

sudo apt update && sudo apt upgrade -y

Then, add the OpenLiteSpeed repository to your server with the following command:

sudo wget -O – https://repo.litespeed.sh | sudo bash

Once you are done, run the system update to apply the new repository:

sudo apt update

Now complete your OpenLiteSpeed Setup on Ubuntu 24.04 by using the command below:

sudo apt install openlitespeed -y

Next, your OpenLiteSpeed must be enabled and activated. To verify this, you can run the following command:

sudo systemctl status lsws

In your output, you should see:

At this point, you need to update the firewall rules for OpenLiteSpeed on Ubuntu 24.04. To do this, you must allow the following ports through your UFW firewall:

sudo ufw allow 7080,80,443,8088/tcp

Reload the firewall to apply the changes:

sudo ufw reload

In your terminal, you need to set the OpenLiteSpeed administrator account credentials with the following command:

sudo /usr/local/lsws/admin/misc/admpass.sh

Finally, you can access your OpenLiteSpeed Admin panel by following the URL below:

http://your_server_ip:7080
Or
http://localhost:7080

You will see your OpenLiteSpeed Admin login screen. Enter the credentials you have made and click login to access your admin dashboard.

OpenLiteSpeed Admin Dashboard Ubuntu 24.04

To get more information, you can visit the official website.

Step 2 – Install MariaDB For OpenLiteSpeed on Ubuntu 24.04

At this point, you can install MariaDB as your database engine. To do this, you can simply run the command below:

sudo apt install mariadb-server -y

Then, run the security script for the initial setup:

sudo mysql_secure_installation

Set a password for your MariaDB and accept the other questions to continue.

Step 3 – Install PHP For OpenLiteSpeed on Ubuntu 24.04

As you may know, the OpenLiteSpeed web server comes bundled with one PHP version. To know which version of PHP was pre-installed with your OpenLiteSpeed server, click the button in the Test PHP section of the example website or visit the following URL:

http://your_server_ip:8088/phpinfo.php
Or
http://localhost:8088/phpinfo.phpOpenLiteSpeed PHP Info Check

As you can see, Ubuntu 24.04 ships with the latest PHP version which is PHP 8.3. From there, you can host a variety of PHP applications and frameworks.

Conclusion

OpenLiteSpeed is designed for high performance and can handle a large number of simultaneous connections, making it ideal for busy websites. At this point, you have learned OpenLiteSpeed Setup on Ubuntu 24.04 with MariaDB and PHP which is LOMP Stack. Hope you enjoy it.

Also, you may like to read the following articles:

How To Install LEMP Stack on Ubuntu 22.04

Install LAMP Stack on Debian 12 Bookworm

LEMP Stack Setup with Docker Compose on Debian / Ubuntu

LAMP Stack Setup on Fedora 39 From Terminal

]]>
https://winnerwizards.net/easy-way-to-openlitespeed-setup-on-ubuntu-24-04-lomp-stack/feed/ 0
What’s New in PHP 8.4? Release Date and Top Features Explained https://winnerwizards.net/whats-new-in-php-8-4-release-date-and-top-features-explained/ https://winnerwizards.net/whats-new-in-php-8-4-release-date-and-top-features-explained/#respond Wed, 03 Jul 2024 10:08:56 +0000 https://winnerwizards.net/?p=72366

Are you excited about the upcoming release of PHP 8.4 and What’s New in PHP 8.4? If you’re a developer, you know how important it is to stay updated with the latest versions of programming languages. Let’s see What’s New in PHP 8.4 and its expected release date.

Release Date of PHP 8.4

As you may know, the development process includes multiple phases, including alpha and beta testing, ensuring that the final release is stable and robust. PHP 8.4 is scheduled to launch on November 21, 2024.

What’s New in PHP 8.4 – Major Features

PHP 8.4 will come with exciting new features that will significantly impact how developers write and manage their code. Here are some of the most notable features:

Improved Performance: One of the standout features of PHP 8.4 is its enhanced performance. This version introduces optimizations that boost execution speed and improve memory management.

New Syntax Improvements: PHP 8.4 brings several syntax improvements that make the language more intuitive and easier to use.

Enhanced Error Handling: Error handling in PHP 8.4 has received a significant upgrade. Debugging becomes a breeze with better exception handling and more descriptive error messages.

Security Enhancements: Security is always a top priority, and PHP 8.4 delivers with new security features designed to protect your applications.

Better Compatibility: PHP 8.4 ensures seamless compatibility with existing codebases, minimizing the risk of breaking changes. Additionally, it offers improved support for popular frameworks and libraries, making the transition smoother for developers.

Deprecations and Removals: As with any major release, PHP 8.4 includes the deprecation and removal of certain features.

As we eagerly await its release, it’s essential to start preparing for the upgrade. By staying informed and planning, you can ensure a seamless transition to PHP 8.4 and take full advantage of its capabilities.

Source: PHP 8.4: What’s New and Changed

Note: The current stable version of PHP is PHP 8.3, which you can get more information by visiting PHP 8.3 and New Improvements.

]]>
https://winnerwizards.net/whats-new-in-php-8-4-release-date-and-top-features-explained/feed/ 0
PostgreSQL Setup on Ubuntu 24.04: Easy Installation and Configuration https://winnerwizards.net/postgresql-setup-on-ubuntu-24-04-easy-installation-and-configuration/ https://winnerwizards.net/postgresql-setup-on-ubuntu-24-04-easy-installation-and-configuration/#respond Wed, 03 Jul 2024 10:05:56 +0000 https://winnerwizards.net/?p=72363

With this step-by-step guide, you will learn PostgreSQL Setup on Ubuntu 24.04. PostgreSQL is a powerful, open-source relational database management system (RDBMS). It’s known for its scalability, and support for advanced data types and performance optimization features.

Why Choose PostgreSQL on Ubuntu 24.04?

Ubuntu 24.04, being a stable and popular Linux distribution, provides an excellent environment for running PostgreSQL. The combination of Ubuntu’s user-friendliness and PostgreSQL’s powerful features ensures a seamless and efficient database management experience.

Prerequisites

Before you begin the PostgreSQL setup on Ubuntu 24.04, you need the following requirements:

A system running Ubuntu 24.04A user account with sudo privilegesAn active internet connection

By following the steps below, you can easily start your PostgreSQL setup on Ubuntu 24.04 and get it up and running on your server. Let’s begin the installation process.

Step 1 – PostgreSQL Setup on Ubuntu 24.04 – Installation Process

First, you must run the system update and upgrade by using the following command:

# sudo apt update
# sudo apt upgrade -y

Then, you must install the postgresql-common package which includes utilities for managing PostgreSQL. To do this, run the following command:

sudo apt install postgresql-common -y

Next, add the PostgreSQL repository to your Ubuntu 24.04 which includes the latest version of PostgreSQL. To do this, run the command below:

sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh

This script will add the PostgreSQL Global Development Group (PGDG) APT repository to Ubuntu 24.04.

Again run the system update with the following command:

sudo apt update

Now use the following command to install PostgreSQL on Ubuntu 24.04:

sudo apt install postgresql -yStep 2 – Start and Enable PostgreSQL Service

After your PostgreSQL setup on Ubuntu 24.04 is completed, you need to start and enable your service with the following commands:

# sudo systemctl start postgresql
# sudo systemctl enable postgresql

Then, verify PostgreSQL service is active and running on Ubuntu 24.04 with the command below:

sudo systemctl status postgresql

In your output, you should see:

Step 3 – Access and Secure PostgreSQL Service on Ubuntu 24.04

PostgreSQL uses the psql command-line interface to interact with the database. By default, PostgreSQL creates a user named postgres. Switch to this user and access the PostgreSQL prompt with the following command:

sudo -i -u postgres psql

In your output, you should see:

access the PostgreSQL prompt

Now to secure your PostgreSQL, you can change your postgres user password. To do this, from your PostgreSQL shell, run the following command:

postgres=# password postgres

You will be asked to enter a password. Once you are done, exit from your PostgreSQL shell with the command below:

postgres=# qStep 4 – Configure Remote Access For PostgreSQL Server

By default, PostgreSQL only allows local connections. To enable remote access, you need to modify the PostgreSQL configuration files.

First, you need to open the postgresql.conf file in your preferred text editor like Vi Editor or Nano Editor:

sudo vi /etc/postgresql/16/main/postgresql.conf

Find the line that starts with listen_addresses, uncomment it, and modify it to allow connections from all IP addresses:

listen_addresses=”*”

When you are done, save and close the file.

Next, open the pg_hba.conf file to configure client authentication:

sudo vi /etc/postgresql/16/main/pg_hba.conf

Add the following line at the end of the file to allow remote connections:

host all all 0.0.0.0/0 md5

Once you are done, save and close the file.

Restart the PostgreSQL service to apply the changes:

sudo systemctl restart postgresql

You can verify if PostgreSQL is installed and running correctly by logging in to the PostgreSQL shell with the postgres user:

sudo -i -u postgres psqlStep 5 – Creating a New PostgreSQL Database and User

At this step of PostgreSQL setup on Ubuntu 24.04, you can learn to create a new user and database. From your PostgreSQL shell, you can use the following commands to create a new database and a user with privileges to manage it:

postgres=# CREATE DATABASE mydatabase;
postgres=# CREATE USER myuser WITH ENCRYPTED PASSWORD ‘mypassword’;
postgres=# GRANT ALL PRIVILEGES ON DATABASE mydatabase TO myuser;

To see the list of databases, you can run:

postgres=# l

To exit the PostgreSQL prompt, run the command below:

postgres=# qStep 6 – Backup and Restore PostgreSQL Databases

Regular backups are essential to safeguard your data. PostgreSQL provides tools to perform backups and restore databases.

To backup a database, you can use the pg_dump utility:

pg_dump mydatabase > mydatabase_backup.sql

To restore a database from a backup file, you can use the psql command:

psql mydatabase < mydatabase_backup.sql

That’s it, you are done with the PostgreSQL setup on Ubuntu 24.04. For more information, you can visit the official website.

Conclusion

PostgreSQL Setup on Ubuntu 24.04 is straightforward when you follow these steps. With PostgreSQL’s powerful features and Ubuntu’s stable environment, you’ll have a robust database system ready to handle your applications. Hope you enjoy it. Also, you may like to read the following articles:

OpenLiteSpeed Setup on Ubuntu 24.04 (LOMP Stack)

Change Ubuntu 24.04 Desktop to Cinnamon

Install Grafana on Ubuntu 24.04

Enable ionCube Loader on Ubuntu 24.04

FAQs

How do I check the version of PostgreSQL installed?You can check the installed PostgreSQL version by running psql –version in the terminal.

How can I change the password for a PostgreSQL user?To change a user’s password, log into the PostgreSQL prompt and run: ALTER USER username WITH PASSWORD ‘newpassword’;

How do I create a backup of all databases?Use the pg_dumpall utility to create a backup of all databases: pg_dumpall > all_databases_backup.sql

Can I run PostgreSQL on a different port?Yes, you can change the port by modifying the port parameter in postgresql.conf file and restart the PostgreSQL service.

]]>
https://winnerwizards.net/postgresql-setup-on-ubuntu-24-04-easy-installation-and-configuration/feed/ 0
Wine 9.12 Development Release: Experience the Latest Breakthroughs Now! https://winnerwizards.net/wine-9-12-development-release-experience-the-latest-breakthroughs-now/ https://winnerwizards.net/wine-9-12-development-release-experience-the-latest-breakthroughs-now/#respond Wed, 03 Jul 2024 10:02:38 +0000 https://winnerwizards.net/?p=72360

Have you ever wanted to run your favorite Windows applications on Linux without the complications of dual-booting or using virtual machines? For years, Wine has been the preferred solution, effectively bridging the gap between Windows and Linux. The newest Wine 9.12 Development Release enhances this experience, making it even smoother and more reliable. Let’s explore why this release is essential for any Linux user.

What’s New in Wine 9.12 Development Release?

Wine 9.12 has been released as the latest bi-weekly development update, marking roughly the halfway point before the anticipated Wine 10.0 stable release expected in early 2025.

In this release, CodeWeavers has rewritten the CMD.EXE engine to resolve several bugs related to the previous version’s command interpretation. The new implementation is now handling more commands correctly.

Additionally, Wine 9.12 introduces initial support for user32 data structures within shared memory, updates the Mono engine to version 9.2, improves handling async I/O status in WOW64 mode, and addresses 24 known bugs. These bug fixes include resolving window border issues and problems with games like Assassin’s Creed.

Wine 9.12 Development Release marks a significant milestone in running Windows applications on Linux. With its performance improvements, enhanced compatibility, and user-friendly features, it’s a game-changer for Linux users worldwide. Whether you’re a gamer, a professional, or a casual user, Wine 9.12 offers a seamless and reliable way to enjoy your favorite Windows applications on Linux.

Source and Download: Official WineHQ Website

Note: You can search the Orcacore website for WineHQ installation and configuration on Linux distros.

Newsletter Updates

Enter your email address below and subscribe to our newsletter

]]>
https://winnerwizards.net/wine-9-12-development-release-experience-the-latest-breakthroughs-now/feed/ 0
Best Steps To Install WineHQ on Ubuntu 24.04 https://winnerwizards.net/best-steps-to-install-winehq-on-ubuntu-24-04/ https://winnerwizards.net/best-steps-to-install-winehq-on-ubuntu-24-04/#respond Wed, 03 Jul 2024 09:59:48 +0000 https://winnerwizards.net/?p=72357

This guide intends to teach you to Install WineHQ on Ubuntu 24.04. WineHQ, also known as Wine, is a great tool that you can use to run Windows applications on your Linux distribution. With this step-by-step guide, you can easily run Wine on Ubuntu 24.04 and run Windows apps on your server.

Prerequisites

Before you start to install WineHQ on Ubuntu 24.04, you need the following requirements:

By following the steps below, you can easily start your Wine installation on Ubuntu 24.04 and get it up and running on your server. Let’s begin the installation process.

Step 1 – Enabling 32-bit architecture on Ubuntu 24.04

First, you need to run the system update and upgrade with the following command:

sudo apt update && sudo apt upgrade -y

Then, you need to check if 32-bit architecture is installed on your server with the command below:

sudo dpkg –print-foreign-architectures

If nothing is shown in your output, you must enable 32-bit architecture on your server with the command below:

sudo dpkg –add-architecture i386Step 2 – Adding WineHQ Repository To Ubuntu 24.04

To install WineHQ on Ubuntu 24.04, you must download and add the Wine repository to your server. To add the Wine repository key, you can run the following commands:

# sudo mkdir -pm755 /etc/apt/keyrings
# sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key

Next, download the WineHQ source code for Ubuntu 24.04 with the command below:

sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/noble/winehq-noble.sources

Now run the system update to apply the repositories:

sudo apt updateStep 3 – Install WineHQ on Ubuntu 24.04

At this point, you can easily use one of the following branches to install Wine on Ubuntu 24.04:

1.WineHQ Stable branch:

sudo apt install –install-recommends winehq-stable

2.WineHQ Development branch:

sudo apt install –install-recommends winehq-devel

3.WineHQ Staging branch:

sudo apt install –install-recommends winehq-staging

Note: It is recommended to use the stable branch. Once your installation is completed, you can verify it by checking its version:

wine –versionOutput
wine-9.11

Note: The latest Wine development release is available now, you can read more on Wine 9.12 Development Release.

Step 4 – Configure WineHQ on Ubuntu 24.04

At this point, you have learned to install WineHQ on Ubuntu 24.04. Now you must configure Wine on your server. To do this, run the command below with a regular user:

winecfg

Wait until your Wine configuration is updated. Then, you will be asked to set up the Wine Mono installer. Click on the Install button.

It will automatically begin downloading and installing Mono and related components. Next, you will see the following screen. From there you can adjust your desired settings and continue. When it is completed, you will be able to run Windows applications in Ubuntu 24.04.

Install WineHQ on Ubuntu 24.04Step 5 – Uninstall Wine From Ubuntu 24.04 (Optional)

If you no longer want to use Wine, you can easily remove it from your server. To do this run the following command:

sudo apt autoremove –install-recommends winehq-stable –purge

Note: If you use Wine Development or Wine Staging, replace the winehq-stable with either winehq-devel or with winehq-staging.

For complete removal, delete the repository file:

sudo rm /etc/apt/sources.list.d/winehq*

If you have removed the WineHQ repository, it is recommended to remove the GPG key:

sudo rm /usr/share/keyrings/winehq*

That’s it, you are done. For more information, you can check the official docs page.

Conclusion

With WineHQ on Linux, you can easily run your desired Windows applications on your server. At this point, you have learned to Install WineHQ on Ubuntu 24.04 and configure it. After that, you can easily download and run Windows apps on your Ubuntu server. Hope you enjoy it.

Also, you may like to read the following articles:

WineHQ LTS Setup on Fedora Linux 39

How To Install WineHQ on AlmaLinux 9

Install the Latest WineHQ on Linux Mint 21

]]>
https://winnerwizards.net/best-steps-to-install-winehq-on-ubuntu-24-04/feed/ 0