Showing posts with label #CWP. Show all posts
Showing posts with label #CWP. Show all posts

Monday, January 2, 2017

How to limit process number per user for linux user and apache/cgi

How to limit process number per user for linux user and apache/cgi



Instructions for installing PostgreSQL and Management over users and databases.

Included instructions for rebuilding of php with pgsql so you could use phpPgAdmin.


Monday, November 21, 2016

php.ini per folder CentOS WebPanel CWP

All server with CWP can have custom php.ini file set per user account or per folder.
User can manually create php.ini file and add values which needs to be changed in it.

Location of the global server php.ini file is

/usr/local/php/php.ini

Location of the global per account php.ini file is

/home/USERNAME/php.ini
You can also have per folder changes, example:
/home/USERNAME/public_html/website1.com/php.ini
/home/USERNAME/public_html/website2.com/php.ini
/home/USERNAME/public_html/website2.com/myapp/php.ini
How to test php.ini changes?
Simple create phpinfo.php file in the users public_html folder and add the following content in it.
Example location: /home/USERNAME/public_html/phpinfo.php
<?php
phpinfo();
?>

Now open url in your browser (Apache restart is NOT needed):
http://your-domain.com/phpinfo.php
PHP.ini values
http://php.net/manual/en/ini.list.php

Friday, November 18, 2016

CentOS Web Panel (CWP) features and services


CentOS Web Panel (CWP) is a free web panel to manage your Dedicated Server and Virtual Private Server. Basically it is a replicate of Cpanel with main features integrated for enhanced server management.

Here are our features and services at CentOS Web Panel:

***currently including Admin and Client panel***


CWP automatically installs full LAMP on your desired server featuring:
(apache,php, phpmyadmin, webmail, mailserver…)

What are the Installation and Configuration characteristics during Installation of CWP?
- Apache Web Server (Mod Security + OWASP rules optional)
- PHP 5.4 (suPHP, SuExec + PHP version switcher)
- MySQL/MariaDB + phpMyAdmin
- Postfix + Dovecot + roundcube webmail (Antivirus, Spamassassin optional)
- CSF Firewall
- File System Lock (no more website hacking, all your files are locked from changes)
- Backups (optional)
- AutoFixer for server configuration

3rd Party Aplications
- CloudLinux + CageFS + PHP Selector
- Softaculous – Script Installer (Free and Premium)

CentOS Web Panel (CWP)
- Setups Server for Web Hosting (websites like WordPress…)
- API for easier account management, and whmcs billing api
- NAT-ed version, support for NAT-ed IPs
- Free Hosting Module, account activation provisioning for sites that have a free hosting

Web Server
- Varnish Cache server (improve your server performances up to three times)
- Nginx Reverse Proxy (get you static files delivered in the fastest way)
- Compiles Apache from source (improves performance up to 15%)
- Apache reCompiler + Additional modules installation with one click
- Apache server status, configuration
- Apache Redirects Manager
- Edit apache vhosts, vhosts templates, include configuration
- Rebuild all apache Virtual hosts with one click
- suPHP & suExec (improved security)
- Mod Security + OWASP rules (one click install, easy management)
- Tomcat 8 server management & install in one click
- DoS protection from the Slow-Loris attacks
- Apache with spamhaus RBL protection (Protecting http PUT,POST,CONNECT)
- Perl cgi script support

PHP
- Compiles PHP from source (improves up to 20% on performances)
- PHP Switcher (switch between PHP versions like: 5.2, 5.3, 5.4, 5.5, 5.6, 7.x)
- PHP Selector select PHP version per user or per folder (PHP 4.4, 5.2, 5.3, 5.4, 5.5, 5.6, 7.x)
- Simple php editor
- Simple php.ini generator in the users panel
- PHP addons with one click
- PHP.ini editor & PHP info & List modules
- php.ini per user account (you can add changes in /home/USER/php.ini)
- FFMPEG, For Video streaming websites)
- CloudLinux + PHP Selector
- ioncube, php-imap …

User Management
- Add, List, Edit adn Remove Users
- User Monitoring (list users open files, listening sockets…)
- Shell access management
- User Limit Managment (Quota and Inodes)
- Limit Processes: The maximum available number of processes per account.
- Limit Open Files: The maximum available number of open files per account.
- User FTP & File Manager
- CloudLinux + CageFS
- Dedicated IP per account

DNS
- FreeDNS (Free DNS Server, no need for additional IPs)
- Add, Edit, List and Remove DNS zones
- Edit nameserver IPs
- DNS zone template editor
- New Easy DNS Zone Manager (with ajax)
- New DNS Zone list with Additional resolving information using google (also checking rDNS, nameservers….)

Email
- postfix & dovecot
- MailBoxes, Alias
- Roundcube webmail
- Postfix Mail queue manager
- rDNS Checker Module (check you rDNS records)
- AntiSPAM (Spamhaus cronjob)
- SpamAssassin, RBL checking, AmaViS, ClamAV, OpenDKIM
- SPF & DKIM Integration
- Re-Build Postfix/Dovecot Mail server with (AntiVirus, AntiSpam Protection)
- Email Auto Responder
- Email Explore, read all mailboxes from one location.
- Mail Routing (local or remote MX Exchanger)

System
- Hardware Information (CPU core and clock info)
- Memory Information (Memory usage info)
- Disk Info (Detailed Disk status)
- Software Info (kernel version, uptime…)
- Services Status (Quick services restart eg. Apache, FTP,Mail…)
- ChkConfig Manager (Quick list and manage your services)
- Services Monitor (automatic restart of services and email notifications)
- Network port usage
- Network configuration
- SSHD configuration
- Auto-Fixer (checks important configuration and tries to auto-fix issues)

Monitoring
- Live Monitoring (Monitor services eg. top, apache stats, mysql…)
- Use Java SSH Terminal/Console within panel
- Services Configuration (eg. Apache, PHP, MySQL…)
- Run shell commands in screen/background

Security
- CSF Firewall (Best Linux Firewall)
- SSL generator
- SSL Certificate Manager (quick and easy installation of SSL Certs)
- Letsencrypt, Free SSL certificates for all your domains
- CloudLinux + CageFS
- CSF/LFD BruteForce protection
- IP access control
- Mod Security + OWASP rules (one click install, easy management)
- DoS protection from the Slow-Loris attacks (for Apache)
- File System Lock (no more website hacking, all your files are locked from changes)
- PHP now shows the script name and path in top or process lists
- Apache is limiting number of php processes per user
- Automated Backups
- Hide system and other user processes

SQL
- MySQL Database Managment
- Add local or remote access user
- Live Monitor MySQL process list
- Create, Remove database
- Add additional users per database
- MySQL server configuration
- PhpMyAdmin (database managment)
- PostgreSQL, phpPgAdmin Support
- Remote MySQL support (remove mysql load from web server)
- MongoDB Manager/Installer

Additional options
- TeamSpeak 3 Manager (Voice servers)
- Shoutcast Manager (Shoutcast streaming servers)
- Auto-update
- Backup manager
- File Manager
- Scripts folder “/scripts” over 15+ scripts
- Virtual FTP users per domain
- cPanel Account Migration (restores files, databases and database users)
- Torrent SeedBox (one click install with Deluge WebGU)
- SSH key generator

and many many other options…

Tuesday, November 15, 2016

CENTOS WEB PANEL – SYSTEM REQUIREMENTS



Make sure that you complete the following tasks before you start the installation process:

1. Setup Hostname

This hostname cannot be the same as any domain that is on your server (for example, if example.com is a domain on your server, use hostname.example.com as your fully qualified hostname).

You can use the following command for hostname setup eg. srv1.example.com
hostname srv1.example.com
2. Setup Server IP addresses

  • Define additional IP address, subnet address, and default gateway IP address for your server — your service provider can provide you with this information.


3. Software Requirements

  • You must have a clean/fresh installation of supported operating systems:
  • CentOS 6, RedHat 6 or CloudLinux 6, MINIMAL installation and English version only!
  • CentOS 7 is NOT supported.


4. Hardware Requirements

  • 32 bit operating systems require a minimum of 512 MB RAM
  • 64 bit operating systems require a minimum of 1024 MB RAM (recommended)
  • Recommended System: 4 GB+ RAM so you would have the full functionality such as Anti-virus scan of emails.

Sunday, November 13, 2016

Saturday, November 12, 2016

How TO Setup Remote Backup CWP


Instructions for adding ssh pub key on the remote backup server.
Replace the USERNAME with the existing username on the remote server, it’s not recommended to use the root user.
This instructions are only for the backups on the remote server.
To Enable remote backup in your CWP.admin go to CWP Settings –> Backup Configuration
You will need to enter the login details into the fields of “Remote Backup Settings”
Don’t forget to generate the new remote access Key.
On the remote backup server you need to add the pub key
cd ~USERNAME
mkdir .ssh
chmod 700 .ssh
nano .ssh/authorized_keys

Now add all content from the file /root/.ssh/backup/id_rsa.pub to .ssh/authorized_keys
chmod 600 .ssh/authorized_keys
chown -R USERNAME:USERNAME .ssh
chown USERNAME:USERNAME .ssh/authorized_keys
You can use test connection button in CWP.admin to check connectivity with the remote backup server.
To connect and check content on the backup server you can use ssh key access:
ssh USERNAME@SERVER-IP -i /root/.ssh/backup/id_rsa