Control Panels

I have tried to install SysCP, but I had to give up because SysCP requires the use of crond, a daemon which I know nothing about. Also, SysCP is well documented for use on the Debian distribution, but very poorly documented for all other Linux distributions (such as the one I am using, Fedora 2).

WebCP

Required For WebCP:

JPEG 6b → libjpeg en libjpeg-devel

Sendmail

(On my system, procmail - which is needed by Sendmail - was already installed, but not recognised upon installation of Sendmail itself. Simply unstalling and reinstalling procmail was enough to solve this issue).

Location of config file:

/etc/mail/sendmail.cf

DBD::MySQL

(Not really sure if they mean this specific library:)

[root@1038 /]# /usr/bin/yum install libdbi-dbd-mysql
Gathering header information file(s) from server(s)
Server: Fedora Core 2 - i386 - Base
Server: Fedora Core 2 - i386 - Released Updates
Finding updated packages
Downloading needed headers
Resolving dependencies
.Dependencies resolved
I will do the following:
[install: libdbi-dbd-mysql 0.6.5-8.1.i386]
I will install/upgrade these to satisfy the dependencies:
[deps: libdbi 0.6.5-8.1.i386]
Is this ok [y/N]: y
Downloading Packages
Getting libdbi-0.6.5-8.1.i386.rpm
libdbi-0.6.5-8.1.i386.rpm 100% |=========================|  31 kB    00:00
Getting libdbi-dbd-mysql-0.6.5-8.1.i386.rpm
libdbi-dbd-mysql-0.6.5-8. 100% |=========================|  14 kB    00:00
Running test transaction:
Test transaction complete, Success!
libdbi 100 % done 1/2
libdbi-dbd-mysql 100 % done 2/2
Installed:  libdbi-dbd-mysql 0.6.5-8.1.i386
Dep Installed:  libdbi 0.6.5-8.1.i386
Transaction(s) Complete

MyDNS

Mod_Watch

ProFTP

[Required For WebCP

Download JPEG 6b → libjpeg en libjpeg-devel

Download Sendmail

Install DBD::MySQL

Download MyDNS –> Not found in repository

Download Mod_Watch –> idem

Download ProFTP –> installed through psa]

I have partly followed a Redhat 7 manual for WebCP, as the Fedora manual assumed the presence of rpmbuild (which does not seem to exist for Fedora Core 2). It did not work out however:

[root@1038 webcp]# /home/webcp/server/webcp.php
-bash: /home/webcp/server/webcp.php: /usr/bin/php: bad interpreter: No such file or directory
[root@1038 webcp]# /home/webcp/server/webcp.php

ZPanel

I have installed Zpanel. Very easy process, but lacking in features. No integration with Apache (vhosts, etc.). So I have uninstalled it again.

Webmin

Here's a guide to installing Webmin under Debian or Ubuntu

I have previously installed Webmin in much the same way:

[root@1038 src]# gunzip webmin-1.170.tar.gz
[root@1038 src]# tar xf webmin-1.170.tar
[root@1038 src]# cd webmin-1.170
[root@1038 webmin-1.170]# ./setup.sh /usr/local/webmin
***********************************************************************
*            Welcome to the Webmin setup script, version 1.170        *
***********************************************************************
Webmin is a web-based interface that allows Unix-like operating
systems and common Unix services to be easily administered.
 
Installing Webmin from /usr/src/webmin-1.170 to /usr/local/webmin ...
 
***********************************************************************
Webmin uses separate directories for configuration files and log files.
Unless you want to run multiple versions of Webmin at the same time
you can just accept the defaults.
 
Config file directory [/etc/webmin]:
Log file directory [/var/webmin]:
 
***********************************************************************
Webmin is written entirely in Perl. Please enter the full path to the
Perl 5 interpreter on your system.
 
Full path to perl (default /usr/bin/perl):
 
Testing Perl ...
Perl seems to be installed ok
 
***********************************************************************
Operating system name:    Redhat Linux
Operating system version: Fedora 2
 
***********************************************************************
Webmin uses its own password protected web server to provide access
to the administration programs. The setup script needs to know :
 - What port to run the web server on. There must not be another
   web server already using this port.
 - The login name required to access the web server.
 - The password required to access the web server.
 - If the webserver should use SSL (if your system supports it).
 - Whether to start webmin at boot time.
 
Web server port (default 10000):
Login name (default admin):
Login password:
Password again:
The Perl SSLeay library is not installed. SSL not available.
Start Webmin at boot time (y/n): y
***********************************************************************
Copying files to /usr/local/webmin ..
..done
 
Creating web server config files..
..done
 
Creating access control file..
..done
 
Inserting path to perl into scripts..
..done
 
Creating start and stop scripts..
..done
 
Copying config files..
..done
 
Configuring Webmin to start at boot time..
Created init script /etc/rc.d/init.d/webmin
..done
 
Creating uninstall script /etc/webmin/uninstall.sh ..
..done
 
Changing ownership and permissions ..
..done
 
Running postinstall scripts ..
..done
 
Attempting to start Webmin mini web server..
Starting Webmin server in /usr/local/webmin
..done
 
***********************************************************************
Webmin has been installed and started successfully. Use your web
browser to go to
 
  http://1038.flexservers.com:10000/
 
and login with the name and password you entered previously.

IMPORTANT: installing the Webmin modules does not install the actual Linux programs. So, for instance, if you install the Postfix module for Webmin, you still have to make sure that you have already installed the actual Postfix server on your computer.

Using SSL for Webmin

To use SSL with Webmin, you need OpenSSL and the SSLeay Perl module. This module can only be installed if atrpms is also present, so here we go:

[root@1038 onno]# rpm -i atrpms-61-1.at.noarch.rpm
warning: atrpms-61-1.at.noarch.rpm: V3 DSA signature: NOKEY, key ID 66534c2b
[root@1038 onno]# rpm -i --nosignature perl-Net_SSLeay.pm-1.25-2.rhfc2.at.i386.rpm

Important security issue: I have NOT been able to locate md5 keys for:

  • OpenSSL
  • Ats
  • perl-Net_SSLeay

This issue compromises the security of the whole system. If one of the modules contains a trojan horse, then the consequences might be very serious indeed.

Installing Virtualmin

Virtualmin requires Webalizer, which is apparently not available as an RPM for Fedora2. So I have installed Webalizer from source. Once installed, the setup procedure for Virtualmin will automatically recognize Webalizer.

Suexec troubles

The Suexec command on your system is configured to only run scripts under /var/www, but the Virtualmin base directory is /home. CGI and PHP scripts run as domain owners will not be executed.

If you run into this problem, then (in Virtualmin) go to System Settings → Server Templates → Default → Apache Website, then make sure “Automatically add appropriate SuExec directive” is set to “No”.

20060908 Bandwidth monitoring script bw.pl disabled

I have disabled bandwidth monitoring, because the script that does the monitoring, bw.pl, seems to consume an awfull lot of cpu cycles. Using the command top, I concluded that bw.pl takes up to 98.5% of the available CPU resources. Considering that bw.pl sometimes seems to run for over fifty minutes, this is unacceptable.

Bandwidth monitoring can be disabled through Virtualmin > Bandwidth Monitoring.

20200812 Primary Interface Issue

I can't get Virtualmin installed anymore. It's giving me this warning:

Device "link" does not exist.
[WARNING] Unable to determine IP address of primary interface.
Please enter the name of your primary network interface: 
venet0:0
install.sh: 450: install.sh: log_debugPrimary address detected as 127.0.0.1: not found
[SUCCESS] Installation Complete!

None of the suggested solutions, such as looking up the name of the interface with ip ro ls and adding a firewall rule seemed to work.

firewall-cmd --version
0.4.4.5
root:~# firewall-cmd --zone=public --add-port=10000/tcp --permanent
success
root:~# firewall-cmd --reload
success

Entering the device name as either venet0 or venet0:0 did not work either.

Installing Virtualmin: Update

If you first install Webmin, and then Virtualmin as a webmin module, things turn out alright.


Personal Tools