Anyone have any experience developing "apps" in th...
# water-cooler
d
Anyone have any experience developing "apps" in the Atlassian environment? I'm a total newb in this area, and also unfamiliar with basic setup of some of the enabling tech, would love to find someone I can ask stupid questions of.
z
like bitbucket?
d
WSL, Docker Desktop (I know, everyone knows Docker but me).
Just getting those installed on the VPS I'm on, every single step requires the long version of the process, which needs another later of dependencies and/or settings.
For instance, WSL says Ubuntu is installed, but:
Copy code
WslRegisterDistribution failed with error: 0x80370102
Please enable the Virtual Machine Platform Windows feature and ensure virtualization is enabled in the BIOS.
BIOS changes on a VM? Quack?
z
no your machine has some bios features turned off which are required to run VMs
d
The machine I develop on IS a VM, which as I understand it means:
Copy code
If your machine is a VM, please enable nested virtualization manually. Launch powershell with admin, and run:
Set-VMProcessor -VMName <VMName> -ExposeVirtualizationExtensions $true
Did that, got this:
Copy code
Set-VMProcessor : The term 'Set-VMProcessor' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
Now what? (And thanks for your help. Very newb over here.)
e
You have to have the Hyper-V tools installed.
d
Yes, as I said, the "machine" I develop on is itself a VM. MS seems to be saying that it's possible to run WSL in that environment via ExposeVirtualizationExtensions, but I could be wrong about that.
e
distro and host os? Known issues with ubuntu on win 10
on win 11, you have to enable it ..
Copy code
sudo usermod -a -G kvm ${USER}
edit /etc/wsl.conf add this:
Copy code
[wsl2]
nestedVirtualization=true
add this to the boot:
Copy code
[boot]
command = /bin/bash -c 'chown -v root:kvm /dev/kvm && chmod 660 /dev/kvm'
save and restart wsl
Copy code
wsl.exe --shutdown
d
It says these are the available distros, and the Windows version: Knowing nothing, I chose plain Ubuntu, the first one.
Windows 10.
installl that
after its run at the cmd line
yum install wget rsync
once installed,
or is installed
wget lucee download url.
once dhownloaded . chmod +x lucee-5 (hit tab it will auto complete)
type in ./lucee-5(hit tab)
follow the prompts
about a minute later, lucee stable running under WSL
d
Thanks for your help @Evil Ware, but... • We're ACF, not Lucee. • One of our systems folks said to install the Powershell module Hyper-V, that's what has the Set-VMProcessor cmd, doing that shortly. • I need to document what other folks coming down this path have to do, and going by the instructions from MS, Docker, and Atlassian is very much preferred.
And to be clear, this whole adventure isn't about running Lucee or ACF un WSL. It's about setting up to develop apps for the Atlassian envirnment.
e
You asked for help with virtualization and running Atlassian under your WSL, windows 10 has issues with nested virtualization with Debian and ubuntu. You may use the above or you could upgrade to Windows 11, use a Mac, or use another virtualization technology.
You can skip the install of lucee for wget download.adobe.com/downloadURLforCF/ and install that. You, technically have hyper-v installed if you have WSL installed.
d
@Evil Ware Can you point me to info on the Ubuntu issues running on Windows 10? All I found so far was about running it as a dual boot, which isn't what I'm trying to do.
e
@Dave Merrill I suggested Alama linux as its based upon RHEL, (Redhat Enterprise) and that is what the GOV and fortune 1000s use.