Showing posts with label webmin. Show all posts
Showing posts with label webmin. Show all posts

Sunday, April 15, 2018

Installing lamp and webmin on raspbian


Another writeup on installing a lamp server setup on a Raspberry Pi.  Probably need a 3 or 3+ to have any real justification, YMMV



sudo groupadd -f -g33 www-data
sudo apt-get update
sudo apt-get install apache2 php5 libapache2-mod-php5
sudo apt-get install mysql-server mysql-client php5-mysql
sudo apt-get  install  phpmyadmin
sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl \
libpam-runtime libio-pty-perl apt-show-versions python 
 

webmin:

mkdir webmin
cd webmin
wget http://prdownloads.sourceforge.net/webadmin/webmin-1.580.tar.gz
gunzip webmin-1.580.tar.gz
tar xf webmin-1.580.tar
cd webmin-1.580
sudo ./setup.sh /usr/local/webmin
 
http://yourPiipaddress:10000 
 

*****************
another install page for raspbian
*****************
http://www.instructables.com/id/Adding-Webmin-to-manage-a-Raspberry-Pi/

-30-

Wednesday, March 30, 2016

Securing Webmin with SSL


This discusses after the fact addition of SSL to webmin.  Installation and support may already be present.

http://hints.macworld.com/article.php?story=20020226235050467

Secure Connection Failed when accessing webmin

Webmin may have 1024 SSL certificates.

SSL_ERROR_WEAK_SERVER_CERT_KEY

Upgrade Webmin certificate to 2048 bit

You can replace your webmin certificate with a new one by running this command:
file=/etc/webmin/miniserv.pem
openssl req -x509 -newkey rsa:2048 -keyout $file  -out $file \
 -days 3650 -nodes -subj \
 "/C=US/ST=Denial/L=Springfield/O=Dis/CN=www.example.com" 
openssl x509 -x509toreq -in $file -signkey $file >> $file
/etc/init.d/webmin restart
This command will create a 'pem' file with both the private key and self-signed certificate in the same file.  -nodes will let you create the file without a passphrase.  The -subj option saves you having to manually enter certificate details.

http://blog.rimuhosting.com/2014/11/18/webmin-sec-err-invalid-key/