How to automate iso install questions via VBoxManage/VirtualBox cli?
I'd like to pass answers to the questions normally asked during installation. The questions like Language, Keyboard layout, timezone, encrypt drive, etc.
I've found ways to create a VM given a starting ISO, something like Ubuntu-Server. The result of which is a new entry in the VirtualBox UI. When starting the image of course it walks through these questions. I'd like to automate that portion. I'd don't want to use Vagrant because I might use this to setup a cluster of VMs and need to know the details rather than template out a Vagrantfile. I'd rather use something like Terraform provider for VirtualBox, but I haven't found one that truly works.
How can I fully automate an Ubuntu fresh install on VirtualBox?
See also questions close to this topic
Install mysql pdo for php 7.1 for Ubuntu
I'm trying to install pdo mysql on ubuntu for php 7.1
sudo apt-get install php7.1-mysql
But I got E: Unable to locate package php7.1-mysql
Then I tried install from ondrej repository
sudo add-apt-repository ppa:ondrej/php sudo apt-get update sudo apt-get install php7.1-mysql
Still I got
Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package php7.1-mysql E: Couldn't find any package by regex 'php7.1-mysql'
Can someone help please?
Missing connections in Dymola Diagram view
I am using Dymola to design a small model of some DC motors and a power source. After I finished my work I saved everything and closed Dymola. When I opened it the next time some (not all) of the connections did not show up anymore. So I tried to draw them again, but Dymola tells me that the connections already exist. When I look at the connections in the Text section they are still there.
I am using Ubuntu 18.04 and Dymola Version 2019 FD01 (64-bit), 2018-10-10. I also tried to open the model in Openmodelica. But there also were the same connections missing.
and the text representation:
connect(controlSoftware.s1, switches.s1); connect(controlSoftware.s12, switches.s12); connect(controlSoftware.s2, switches.s2); connect(controlSoftware.r1, switches.r1); connect(controlSoftware.r2, switches.r2); connect(switches.p, constantVoltage.p); connect(switches.pin_n, motorWithCurrentSensor.n); connect(switches.pin_n1, motorWithCurrentSensor1.n); connect(controlSoftware.cur1, motorWithCurrentSensor.Currenctsensor); connect(motorWithCurrentSensor.pin, constantVoltage.n); connect(motorWithCurrentSensor1.pin, constantVoltage.n); connect(motorWithCurrentSensor.Speedsensor, controlSoftware.speed1); connect(controlSoftware.speed2, motorWithCurrentSensor1.Speedsensor); connect(controlSoftware.cur2, motorWithCurrentSensor1.Currenctsensor); connect(ground.p, constantVoltage.n);
What can I do to get the connections back? I have a really hard time fixing things without graphical representation.
Thank you for your help
Best regards Gerald
how to monitor sails js application with 100% cpu usage?
sailsjs application is jumping to 100% cpu usage and becomes extremely slow while using. Sailsjs is running on ubuntu.
Tried disabling grunt with no success.
Unable to import module in Google Colab after installing it
I was trying to clone and install the "Equal Groups K-Means Clustering" Repository from GitHub. Here is the link: Link of repository.
Problem: I am unable to import the module.
On my local PC it is easy. I simply clone the repository. I created my file in the folder which is named as "notebooks". Then I did this:
from clustering.equal_groups import EqualGroupsKMeans
That's it. It was working!
Now I want to do the same in my Google Colab file. This is what I did (maybe it's wrong, I tried to do the same as this guy: similar problem):
!git clone https://github.com/ndanielsen/Same-Size-K-Means.git cd Same-Size-K-Means cd clustering
Assuming I am in the correct folder (which I am not sure!), I did this:
!pip install clustering.equal_groups
It doesn't work. I get error messages.
Since the last step did not work, the following step failed as well:
from clustering.equal_groups import EqualGroupsKMeans
Do you have any suggestions? You can try yourself. For Google Colab all you need is an Google account. Its for free!
Here is a screenshot of my problem:
I cannot enable ASP Classic on Windows 8.1
I am tyring to enable ASP Classic on my local PC windows 8.1. I have followed the steps to enable ASP in this Windows KB > https://docs.microsoft.com/en-gb/iis/application-frameworks/running-classic-asp-applications-on-iis-7-and-iis-8/classic-asp-not-installed-by-default-on-iis#installing-classic-asp-on-windows-8-or-windows-81
However when I go to the simple ASP Classic page I have created in a folder under inetpub/wwwroot/test/test.asp which just tries to do a simple Response.Write("TEST") on the page when I go to file:///C:/inetpub/wwwroot/test/test.asp all I see is my ASP code in text on the page. I enabled ASP, ISAPI filters and anything else that seemed relevant but it doesn't seem to run.
Is there not a VBScript DLL that needs to be enabled somewhere that isn't present in the Application Development Features under World Wide Web Services as I thought both VBScript and the ASP DLLS were needed to run ASP Classic?
Anyway I followed the KB article and still all I see are the text of the ASP page when I go to the local URL.
I also have WAMPServer installed on my PC but I have that under a different port 8888 so that I can toggle between the two. I have no problems starting WAMP and running PHP code it is just the IIS I am having issues with.
If I just enable IIS and go to localhost I get the default IIS page e.g file:///C:/inetpub/wwwroot/iis-85.png but I cannot get the ASP code to actually execute, it just shows up as text on the page.
Does anyone have any ideas how I can get this to work. I never used to have problems switching between the two servers ASP and WAMP but after a factory reset on this laptop I am having issues.
Thanks for any help in advance.
Problem with installation and using OpenBLAS and Armadillo at Ubuntu 12.04
I need to install OpenBLAS and Armadillo at Ubuntu 12.04. Despite following steps from instructions and readme, I can't do this. In fact it is even hard to describe what I do wrong, or what is the problem exactly.
I am aware that I am asking a lot, however I a quite desperate right now. If somebody would be capable of guiding me, from the very beginning to the end I would be very greatfull. What to do, in which directory etc.
The effect I expect: I can compile programs, which uses Armadillo library.
Thank you all in advance.
How to install Fedora 30 on Virtualbox VM without partitions
I'm installing Fedora 30 on a virtualBox VM guest OS.
create virtual hard disk nowand then
VDI (VirtualBox disk Image).
Once the Fedora is installed the disk is partitioned into 3 disks.
$ df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 3.9G 0 3.9G 0% /dev tmpfs 3.9G 16M 3.9G 1% /dev/shm tmpfs 3.9G 1.1M 3.9G 1% /run tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup /dev/mapper/fedora_localhost--live-root 69G 8.1G 57G 13% / tmpfs 3.9G 12K 3.9G 1% /tmp /dev/sda1 976M 183M 727M 21% /boot /dev/mapper/fedora_localhost--live-home 41G 15G 25G 37% /home tmpfs 798M 72K 798M 1% /run/user/1000
If you see above the disk got partitioned into 3. I don't want to because I couldn't use the mount directories.
$ cd /dev/mapper/fedora_localhost--live-root bash: cd: /dev/mapper/fedora_localhost--live-root: Not a directory $ cd /dev/mapper/fedora_localhost--live-home bash: cd: /dev/mapper/fedora_localhost--live-home: Not a directory
How can I create the OS without any partitions?
setup-alpine results in http://dl-8.alpinelinux.org/alpine/v3.9/main IO ERROR
When I run setup-alpine and put the parameters a problem occurs:
http://dl-8.alpinelinux.org/alpine/v3.9/main IO ERROR
Couldn't access the container running in virtualBox on my Windows?
I visited this link How to connect to a docker container from outside the host (same network) [Windows] , Addressing localhost from a VirtualBox virtual machine and Can't access publicly exposed Docker container port from external machine, only from localhost?
But it didn't help me much. I'm behind corporate firewall. I have been provided with jar files (artifacts) and docker compose file. The ports has been exposed like
ports: - 8080:8080
I installed Docker tool box and Virtual Box.
I tried with & without port forwarding in Virtual box and connected to NAT.
I used the following command (inside folder)
docker-compose up -d
I saw that the containers are running in the Docker terminal.
Then I opened cmd and typed ip config. I used the IPv4 Address of Wireless LAN adapter as well as IP of the docker machine.
http://ip-add-LAN:8080 & http://ip-of-the-dockermachine:8080
It doesn't work.
What I'm missing?