
PC✗3
656 FOLLOWERS
SysAdmin blog from a hosting perspective: WordPess, SQL, VMware, Linux.
PC✗3
3M ago
On cPanel and WHM servers, sensitive data may remain stored in the browser after logging into the panel. This can allow anyone who later accesses the same domain from the same browser to view potentially sensitive information, such as usernames, executed MySQL queries, installed packages, and other server-related details. Simply open the Dev Console and […]
The post Data Leakage in cPanel and WHM Browser Storage appeared first on PC✗3 ..read more
PC✗3
3M ago
This script will simply drop cache and clear SWAP, you can use it by scheduling it on a daily basis: Check if SWAP is more than 20% Set the script to run every 5 minutes: This script will check if the SWAP usage is above a threshold (20%) and if so, clear it:
The post Auto clear SWAP in Linux appeared first on PC✗3 ..read more
PC✗3
3M ago
This command will display all current SYN_RECV connections: and to count them: To block on the firewall all IPs that are sending multiple SYN_RECV connections first display the number of connections per IP: If there are multiple connections per IP, you can block them easily using the following script:
The post How to Monitor and Block Syn flood attacks – SYN_RECV Connections appeared first on PC✗3 ..read more
PC✗3
3M ago
To block attacks to server_ip and port 443, add the following code to /etc/apache2/conf.d/includes/pre_virtualhost_global.conf then save and restart apache. To test, try visiting IP:443 in your browser.
The post Blocking DDoS attacks on cPanel server IP :443 appeared first on PC✗3 ..read more
PC✗3
3M ago
Startng July 2024 there are numerous reports of fake/spam orders on WHMCS. Most of the orders have - or + in the email address and set country code to US, so we can block based on that. In your installation directory navigate to: /includes/hooks/ and create file checkuser.php with the following content:
The post Dealing with fake/spam WHMCS orders appeared first on PC✗3 ..read more
PC✗3
5M ago
Given the following options, which indicates the ideal source from which you should obtain your server’s resolver IP addresses? What happens when a domain with two NS records in its zone is queried for its NS records? Within which of the following WHM interfaces would you enter the default nameservers for accounts that a reseller creates? In what […]
The post WHM Administration Certification Exam (CWA) Answers 2024 appeared first on PC✗3 ..read more
PC✗3
5M ago
In the context of MySQL databases, which of the following is best described as “plaintext” output containing a re-usable set of MySQL data? Which of the following file extensions are associated specifically with MyISAM tables? In a cPanel & WHM environment, which of the following tools can best be described as the executable that creates grants_[cpuser].yaml files from existing MySQL grants, as […]
The post cPanel & WHM System Administrator I Certification Exam (CWSA-1) Answers 2024 appeared first on PC✗3 ..read more
PC✗3
5M ago
All of the following resource limits may be set in a package except … Which API allows you to manage cPanel licenses What is the purpose of the template file in a Plugin? The location of the branding files for root is found in which of these locations? The EasyApache profiles are found in which […]
The post cPanel & WHM Systems Administrator II Exam (CWSA-2) Answers 2024 appeared first on PC✗3 ..read more
PC✗3
5M ago
cPanel Certified Partner Accreditation (CPCP) Exam is divided in 6 sections, first 5 consist of 40 questions each, and last section has only 10 questions. Web Server Administration You deploy an updated website version, but it only displays a blank white page in Firefox and an HTTP Error in Chrome. You find an error in […]
The post cPanel Certified Partner Accreditation Exam (CPCP) Answers 2024 appeared first on PC✗3 ..read more
PC✗3
8M ago
Since OpenPanel offers a VPS-like enviroment to each user, user with sudo access can install Odoo 17.
NOTE: in these examples, OpenPanel username is stefan, postgres user is stefan, postgres password is stefan and domain is: stefi.openpanel.site – change those as needed.
Login as root
If you are an OpenAdmin user, then login to server SSH and run this command to gain root for that user:
opencli user-login stefan
If you want to allow OpenPanel user to install Odoo themselves, then you need to grant them sudo access:
opencli user-sudo stefan --enable
now the user stefan can login via ssh ..read more