A baby in linux and every thing basic questions

8 posts / 0 new
Last post
#1 Sun, 11/07/2010 - 23:31
08a4210
08a4210's picture

A baby in linux and every thing basic questions

I am now learning linux and just learning command and every thing my brain is empty right now trying to install virtualmin and did not work I got bunch of errors

First of all I did not even know I should install webmin or virtual min on a VPS so I first installed web min then I found Out I needed virtual min so I added virtual min as a module

then I found out the virtual min as a module is not giving me enough capability and I got some errors so I uninstalled webmin and tried to install virtual min how ever it does not work I get fatal errors How to start from scratch and make a big clean up?

Question:

I want to clean up every and every thing so that I can do a fresh start

Mon, 11/08/2010 - 04:35
Locutus

Especially for a "linux baby" it's highly recommended to use the Virtualmin automated installer (which will get you all dependencies like Webmin and Usermin, all required modules and Linux packages) on a freshly installed Grade-A supported system. :) That gives the least trouble, and I also use that method. ;)

So the course of action would be: Have the VPS reinstalled (usually the hoster should offer an automatic function to do that in the web panel or so), and make sure you get one of the "Grade A supported systems", which are listed here: http://www.virtualmin.com/os-support

CentOS 4 and 5 on i386 or x86_64
RHEL 5 on i386 and x86_64
Debian 4.0 and 5.0 on i386 or amd64
Ubuntu 8.04 LTS and 10.04 LTS on i386 or amd64

Make sure not to install any server packages like Postfix, Apache, BIND etc. Just install a basic system including SSH.

Then you download the installer script directly to your root home directory and execute it:

wget http://software.virtualmin.com/gpl/scripts/install.sh
/bin/sh install.sh

The rest should run automatically. :)

Mon, 11/08/2010 - 05:15
08a4210
08a4210's picture

Thanks a lot I tried to install it but I get this error

INFO - 2010-11-05 13:08:24 - Started installation log in /root/virtualmin-install.log
DEBUG - 2010-11-05 13:08:24 - Install mode: full
DEBUG - 2010-11-05 13:08:24 - Product: Virtualmin GPL
DEBUG - 2010-11-05 13:08:24 - Virtualmin Meta-Package list: virtualmin-base
DEBUG - 2010-11-05 13:08:24 - install.sh version: 1.0.4
INFO - 2010-11-05 13:08:24 - Checking for fully qualified hostname...
INFO - 2010-11-05 13:08:24 - Hostname OK: fully qualified as blabla.com
INFO - 2010-11-05 13:08:24 - Installing serial number and license key into /etc/virtualmin-license
INFO - 2010-11-05 13:08:24 - Loading OS selection library...
INFO - 2010-11-05 13:08:25 - Download of http://software.virtualmin.com/lib/oschooser.pl Succeeded.
INFO - 2010-11-05 13:08:25 - Loading OS list...
INFO - 2010-11-05 13:08:26 - Download of http://software.virtualmin.com/lib/os_list.txt Succeeded.
INFO - 2010-11-05 13:08:26 - Operating system name:    CentOS Linux
INFO - 2010-11-05 13:08:27 - Operating system version: 5
INFO - 2010-11-05 13:08:27 - Configuring package manager for CentOS Linux 5...
INFO - 2010-11-05 13:08:27 - Disabling SELinux during installation...
INFO - 2010-11-05 13:08:27 -   setenforce 0 failed: 1
INFO - 2010-11-05 13:08:28 - Download of http://software.virtualmin.com/gpl/rhel/5/x86_64/virtualmin-release-latest.noarch.rpm Succeeded.
INFO - 2010-11-05 13:08:41 -  Succeeded.
INFO - 2010-11-05 13:08:42 - Installing dependencies using command: /usr/bin/yum -y -d 2 install bind bind-utils caching-nameserver httpd postfix bind spamassassin procmail perl-DBD-Pg perl-DBD-MySQL quota iptables openssl python mailman subversion mysql mysql-server mysql-devel postgresql postgresql-server rh-postgresql rh-postgresql-server logrotate webalizer php php-domxl php-gd php-imap php-mysql php-odbc php-pear php-pgsql php-snmp php-xmlrpc php-mbstring mod_perl mod_python cyrus-sasl dovecot spamassassin mod_dav_svn cyrus-sasl-gssapi mod_ssl ruby ruby-devel rubygems perl-XML-Simple perl-Crypt-SSLeay
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: centos.tt.co.uk
 * base: centos.tt.co.uk
 * extras: centos.tt.co.uk
 * updates: centos.tt.co.uk
Excluding Packages from CentOS-5 - Base
Finished
Excluding Packages from CentOS-5 - Updates
Finished
Setting up Install Process
Package 30:bind-9.3.6-4.P1.el5_4.2.x86_64 already installed and latest version
Package 30:bind-utils-9.3.6-4.P1.el5_4.2.x86_64 already installed and latest version
Package 30:caching-nameserver-9.3.6-4.P1.el5_4.2.x86_64 already installed and latest version
Package 30:bind-9.3.6-4.P1.el5_4.2.x86_64 already installed and latest version
Package procmail-3.22-17.1.el5.centos.x86_64 already installed and latest version
Package perl-DBD-MySQL-3.0007-2.el5.x86_64 already installed and latest version
Package 1:quota-3.13-1.2.5.el5.x86_64 already installed and latest version
Package iptables-1.3.5-5.3.el5_4.1.x86_64 already installed and latest version
Package openssl-0.9.8e-12.el5_4.6.x86_64 already installed and latest version
Package openssl-0.9.8e-12.el5_4.6.i686 already installed and latest version
Package python-2.4.3-27.el5.x86_64 already installed and latest version
"virtualmin-install.log" [readonly] 649L, 45452C
<code>
Mon, 11/08/2010 - 05:36
Locutus

Hmm, unfortunately I'm not familiar with CentOS... Except for setenforce 0 failed: 1 I can't see errors in the log. Does the installation process abort after the lines you posted?

Mon, 11/08/2010 - 06:14
08a4210
08a4210's picture

In installed first webmin did not have any issue I removed webmin and tried to install virtualmin and got this issue not sure :)

Mon, 11/08/2010 - 07:41
Locutus

Well, as I outlined in my first post, before trying anything else, you should have the VPS reformatted with a grade-A supported system and not install any server packages etc. Then the Vmin install script should run just fine.

Mon, 11/08/2010 - 07:52
08a4210
08a4210's picture

OH OK so you mean when I get a VPS just a OS will do I do not need apache or mysql and when I install virtualmin it will install every thing else right?

I can ask my provider to reinstall every thing when reinstalling I can ask them to just install OS or OS + apache etc... should I just ask them to give me OS?

Mon, 11/08/2010 - 08:08
Locutus

Yepp exactly. That's what I wrote. ;) The Virtualmin installer will automatically install everything required (Virtualmin, Webmin, Usermin, Apache, BIND, MySQL, Postfix, Dovecot, SpamAssassin, ClamAV, PHP, ..., ...).

And it works best when you let the installer do that, since it knows exactly what the config files have to be and stuff.

Yes, ask the provider to just install the OS, no server packages whatsoever (except for SSH of course so that you can execute commands on the machine).

Topic locked