GithubHelp home page GithubHelp logo

Comments (21)

iliajie avatar iliajie commented on August 26, 2024

Have you ran apt-get update && apt-get upgrade before installing Virtualmin?

from virtualmin-install.

unsalkorkmaz avatar unsalkorkmaz commented on August 26, 2024

Have you ran apt-get update && apt-get upgrade before installing Virtualmin?

yeah, probably.
Installed this before btw;
https://medium.com/geekculture/how-to-install-the-ubuntu-desktop-with-the-graphical-user-interface-in-wsl2-71f4b78431a4

from virtualmin-install.

iliajie avatar iliajie commented on August 26, 2024

If you install fail2ban package manually on that system, and then try start/restart it, what error does it output?

from virtualmin-install.

unsalkorkmaz avatar unsalkorkmaz commented on August 26, 2024

Currently ubuntu system basically gives this error in anything install or update related:

Screenshot 2022-04-12 174102

from virtualmin-install.

unsalkorkmaz avatar unsalkorkmaz commented on August 26, 2024

this is the result of trying to purge:
Screenshot 2022-04-12 175158

from virtualmin-install.

iliajie avatar iliajie commented on August 26, 2024

This seems as a general system error and must be sorted out before Virtualmin can be installed.

There is not much we can do here.

from virtualmin-install.

iliajie avatar iliajie commented on August 26, 2024

Also, make sure that you are running as root.

from virtualmin-install.

swelljoe avatar swelljoe commented on August 26, 2024

We've never tested on WSL. It's not a high priority, as nobody would run that on a server.

from virtualmin-install.

unsalkorkmaz avatar unsalkorkmaz commented on August 26, 2024

Well.. Uninstalled ubuntu and restarted the process but this time directly tried to install virtualmin first;

sudo passwd root
sudo apt-get update -y && sudo apt-get upgrade -y
su
cd /tmp && wget http://software.virtualmin.com/gpl/scripts/install.sh && chmod +x install.sh && ./install.sh --minimal

Screenshot 2022-04-12 181706

from virtualmin-install.

unsalkorkmaz avatar unsalkorkmaz commented on August 26, 2024

Update: I retried the process but with changing hostname first with this:
https://www.srccodes.com/change-hostname-ubuntu-microsoft-windows-subsystem-for-linux-wsl-wsl2-wsl-conf-unable-resolve-hosts-name-service-not-known-list-running-shutdown-vm-srccodes/

it seems problem got fixed

from virtualmin-install.

unsalkorkmaz avatar unsalkorkmaz commented on August 26, 2024

I recommend using bridge connection:
microsoft/WSL#4150 (comment)

from virtualmin-install.

unsalkorkmaz avatar unsalkorkmaz commented on August 26, 2024

You can install mkcert for local SSL certification:
https://chocolatey.org/install#individual
choco install mkcert
https://github.com/FiloSottile/mkcert

from virtualmin-install.

unsalkorkmaz avatar unsalkorkmaz commented on August 26, 2024

Not sure why, but virtualmin doesnt start automatically;
/etc/init.d/webmin start

And this is the result;
Virtualmin in Windows 11.
Screenshot 2022-04-12 222725

from virtualmin-install.

iliajie avatar iliajie commented on August 26, 2024

Not sure why, but virtualmin doesnt start automatically;
/etc/init.d/webmin start

We have a fix for this in upcoming Webmin 1.991.

from virtualmin-install.

unsalkorkmaz avatar unsalkorkmaz commented on August 26, 2024

https://docs.microsoft.com/en-us/windows/wsl/wsl-config
https://www.srccodes.com/change-hostname-ubuntu-microsoft-windows-subsystem-for-linux-wsl-wsl2-wsl-conf-unable-resolve-hosts-name-service-not-known-list-running-shutdown-vm-srccodes/

sudo nano /etc/wsl.conf

[network]
hostname = korkmaz.local.dev
generateHosts = false

# Set a command to run when a new WSL instance launches. 
[boot]
command = /etc/init.d/webmin start

from virtualmin-install.

unsalkorkmaz avatar unsalkorkmaz commented on August 26, 2024

Current problem is, none of services starts automatically in start:
Screenshot 2022-04-12 225508

from virtualmin-install.

unsalkorkmaz avatar unsalkorkmaz commented on August 26, 2024

For automatically start the services;
System Settings -> Virtualmin Configuration -> Status collection -> Restart services that are detected as down -> YES

sudo nano /etc/wsl.conf
find:
command = /etc/init.d/webmin start
replace:
command = /etc/init.d/webmin start && sudo /etc/webmin/status/monitor.pl

from virtualmin-install.

unsalkorkmaz avatar unsalkorkmaz commented on August 26, 2024

ssh service doesnt start;
https://www.garron.me/en/linux/sshd-no-hostkeys-available-exiting.html

sudo ssh-keygen -A

from virtualmin-install.

iliajie avatar iliajie commented on August 26, 2024

None of this is Virtualmin installer issue.

from virtualmin-install.

unsalkorkmaz avatar unsalkorkmaz commented on August 26, 2024

None of this is Virtualmin installer issue.

Yeah. Sorry, trying to collect info for people who needs in future. Should I stop it here?

from virtualmin-install.

unsalkorkmaz avatar unsalkorkmaz commented on August 26, 2024
sudo apt remove openssh-server
sudo apt install openssh-server

Webmin -> Servers -> SSH Server -> Authentication -> Allow authentication by password? -> YES

from virtualmin-install.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.