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
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:
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
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?
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.
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?
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).