Tasty
Posts: 29
Joined: Fri Nov 16, 2012 2:33 pm

Kind of Plesk for Raspberry Pi?

Fri Feb 22, 2013 12:34 pm

Hey,

I'm searching an Web Control Panel for my Raspberry Pi, something like plesk. I've found webmin, which looked pretty perfect, but it didn't let me install:

Code: Select all

[email protected] ~ $ sudo apt-get update && sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python && wget http://prdownloads.sourceforge.net/webadmin/webmin_1.620_all.deb && sudo dpkg --install webmin_1.620_all.deb
The response was:

Code: Select all

Get:1 http://archive.raspberrypi.org wheezy InRelease [7,737 B]
Get:2 http://mirrordirector.raspbian.org wheezy InRelease [12.5 kB]
Get:3 http://archive.raspberrypi.org wheezy/main armhf Packages [6,474 B]
Get:4 http://mirrordirector.raspbian.org wheezy/main armhf Packages [7,401 kB]
Ign http://archive.raspberrypi.org wheezy/main Translation-en_GB              
Ign http://archive.raspberrypi.org wheezy/main Translation-en
Get:5 http://mirrordirector.raspbian.org wheezy/contrib armhf Packages [23.3 kB]                                                                                        
Get:6 http://mirrordirector.raspbian.org wheezy/non-free armhf Packages [47.8 kB]
Get:7 http://mirrordirector.raspbian.org wheezy/rpi armhf Packages [14 B]
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en_GB                                                                                                
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en                                                                                                    
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en_GB                                                                                                    
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en                                                                                                      
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en_GB                                                                                                
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en                                                                                                  
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en_GB                                                                                                    
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en                                                                                                        
Fetched 7,499 kB in 1min 48s (69.1 kB/s)                                                                                                                                
Reading package lists... Done
Reading package lists... Done
Building dependency tree      
Reading state information... Done
libpam-runtime is already the newest version.
openssl is already the newest version.
openssl set to manually installed.
The following extra packages will be installed:
 idle libapt-pkg-perl perl-base perl-modules python-minimal
Suggested packages:
 perl-doc libterm-readline-gnu-perl libterm-readline-perl-perl libpod-plainer-perl python-doc
The following NEW packages will be installed:
 apt-show-versions libapt-pkg-perl libauthen-pam-perl libio-pty-perl libnet-ssleay-perl
The following packages will be upgraded:
 idle perl perl-base perl-modules python python-minimal
6 upgraded, 5 newly installed, 0 to remove and 42 not upgraded.
Need to get 9,299 kB of archives.
After this operation, 1,683 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://mirrordirector.raspbian.org/raspbian/ wheezy/main perl armhf 5.14.2-18+rpi1 [3,661 kB]
Get:2 http://mirrordirector.raspbian.org/raspbian/ wheezy/main perl-base armhf 5.14.2-18+rpi1 [1,467 kB]                                                                
Get:3 http://mirrordirector.raspbian.org/raspbian/ wheezy/main perl-modules all 5.14.2-18+rpi1 [3,442 kB]                                                              
Get:4 http://mirrordirector.raspbian.org/raspbian/ wheezy/main python all 2.7.3-4 [180 kB]                                                                              
Get:5 http://mirrordirector.raspbian.org/raspbian/ wheezy/main idle all 2.7.3-4 [3,022 B]                                                                              
Get:6 http://mirrordirector.raspbian.org/raspbian/ wheezy/main python-minimal all 2.7.3-4 [42.6 kB]                                                                    
Get:7 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libapt-pkg-perl armhf 0.1.26+b1 [80.9 kB]                                                                
Get:8 http://mirrordirector.raspbian.org/raspbian/ wheezy/main apt-show-versions all 0.20 [34.9 kB]                                                                    
Get:9 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libauthen-pam-perl armhf 0.16-2 [31.2 kB]                                                                
Get:10 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libio-pty-perl armhf 1:1.08-1 [39.3 kB]                                                                
Get:11 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libnet-ssleay-perl armhf 1.48-1 [317 kB]                                                                
Fetched 9,299 kB in 1min 7s (137 kB/s)                                                                                                                                  
(Reading database ... 59216 files and directories currently installed.)
Preparing to replace perl 5.14.2-16+rpi1 (using .../perl_5.14.2-18+rpi1_armhf.deb) ...
Unpacking replacement perl ...
Preparing to replace perl-base 5.14.2-16+rpi1 (using .../perl-base_5.14.2-18+rpi1_armhf.deb) ...
Unpacking replacement perl-base ...
Processing triggers for man-db ...
Setting up perl-base (5.14.2-18+rpi1) ...
(Reading database ... 59216 files and directories currently installed.)
Preparing to replace perl-modules 5.14.2-16+rpi1 (using .../perl-modules_5.14.2-18+rpi1_all.deb) ...
Unpacking replacement perl-modules ...
Then it stopped reacting for like an hour and I switched from ssh to direct hdmi output, and saw much errors, some of them:

Code: Select all

Unable to handle kernel NULL pointer dereference at virtual address 00000028

Code: Select all

Internal error: Oops: 817 [#1] PREEMPT ARM

Code: Select all

Process usb-storage (pid: 48, stack limit = 0xc4c4e268)

Code: Select all

note: usb-storage[48] exited with preempt_count 1

Code: Select all

smsc95xx 1-1.1:1.0: eth0: kevent 2 may have been dropped
If someone knows the solution for this problem, I could use webmin, if not the: are there any working alternatives?

Thanks in advanced,
Greetz

Cloudcentric
Posts: 982
Joined: Fri Sep 14, 2012 9:13 am

Re: Kind of Plesk for Raspberry Pi?

Fri Feb 22, 2013 12:57 pm

Using the SEARCH function finds several hits and links like this:

http://www.randrade.tk/index.php/2013/0 ... from-home/
I know everything about nothing"

Tasty
Posts: 29
Joined: Fri Nov 16, 2012 2:33 pm

Re: Kind of Plesk for Raspberry Pi?

Fri Feb 22, 2013 1:01 pm

Thanks for your answer. The link you've posted shows webmin and raspcontrol, webmin doesn't want to install (see the first post), and raspcontrol can't do everything webmin can, for example its important for me to manage an apache server and an ftp server.

Tasty
Posts: 29
Joined: Fri Nov 16, 2012 2:33 pm

Re: Kind of Plesk for Raspberry Pi?

Fri Feb 22, 2013 3:33 pm

Another solution would be, if someone would be so nice and install webmin on an fresh wheezy image, write that to an image and send me. :)

Spid
Posts: 525
Joined: Sat Jan 19, 2013 12:47 pm

Re: Kind of Plesk for Raspberry Pi?

Fri Feb 22, 2013 6:46 pm

Selection_001.png
Selection_001.png (52.17 KiB) Viewed 6941 times
Tasty wrote:Another solution would be, if someone would be so nice and install webmin on an fresh wheezy image, write that to an image and send me. :)
http://www.webmin.com/deb.html works AOK.

Undertook the install in the LXDE Root Terminal, complained about missing dependencies, installed them as requested and eventually it automagically installed WebMin.
I will always assume you are running Raspbian for desktop and Raspbmc for XMBC !

Tasty
Posts: 29
Joined: Fri Nov 16, 2012 2:33 pm

Re: Kind of Plesk for Raspberry Pi?

Sun Feb 24, 2013 1:24 pm

Berryboot was the Problem, thanks.

I don't know if I should open an new Topic, thats why i'll just edit it here:
Does somebody knows or has knowledge in Webmin Programming?, because i wanted to add an custom menu option, which forwards to /phpmyadmin/. That's why I have read through all the docs webmin have for developers, but the Problem on the Raspberry PI was, that theres no libexec folder in /usr/?, after that I looked into the webmin folder (/usr/share/webmin) and saw that there are all the modules. Now i tryed to do an forward module myself, and ended with the script i attached, but it wont read in into modules when i click on "refresh modules", did i do something wrong?
Attachments
phpmyadmin.zip
(2.85 KiB) Downloaded 84 times

Tasty
Posts: 29
Joined: Fri Nov 16, 2012 2:33 pm

Re: Kind of Plesk for Raspberry Pi?

Sun Feb 24, 2013 3:51 pm

Found a solution, just had to add the module to my current user and then refresh the modules.

Tasty
Posts: 29
Joined: Fri Nov 16, 2012 2:33 pm

Re: Kind of Plesk for Raspberry Pi?

Sun Feb 24, 2013 5:45 pm

"Redirecting... (error: Error: Permission denied to access property 'document'"
getting that error, when i execute it, here is my updated code:

Code: Select all

BEGIN { push(@INC, ".."); };
use WebminCore;
init_config();

sub forward
{
	print redirect('http://192.168.0.105/phpmyadmin/index.php');
}

User avatar
tonyhughes
Posts: 951
Joined: Wed Dec 26, 2012 3:46 am

Re: Kind of Plesk for Raspberry Pi?

Sun Feb 24, 2013 7:33 pm

Baked Raspberry Pi Mod installs Webmin for you automatically with nothing more than a menu click.

Too easy.

Tasty
Posts: 29
Joined: Fri Nov 16, 2012 2:33 pm

Re: Kind of Plesk for Raspberry Pi?

Sun Feb 24, 2013 8:04 pm

Like i mentioned before, ive got it working, now my main problem is this msgbox popping up before doing the referring. ;)

Return to “General discussion”