After installing the package, enable it on the Proxmox VE Web interface (GUI). This is done under VM > Options section. You can see it’s disabled in our instance. Double click to open the dialog used to enable the feature.
Tick the checkbox to enable QEMU Agent for your VM.
QEMU Guest Agent will be enabled but a manual instance stop and start procedure is required.
Choose the instance and click on the dropdown list under “Shutdown”.
Confirm you want the Virtual Machine stopped.
Wait for it to go down then use the “Start” button to bring the instance up.
Once it’s live, you’ll see “QEMU Guest Agent” is fully “Enabled”.
Virtual Machine details such as IP address will appear on the Proxmox VE web interface.
wget -nv https://d3rnber7ry90et.cloudfront.net/linux-x86_64/node-v18.17.1.tar.gz
mkdir /usr/local/lib/node
tar -xf node-v18.17.1.tar.gz
mv node-v18.17.1 /usr/local/lib/node/nodejs
### Unload NVM, use the new node in the path, then install some items globally.
echo "export NVM_DIR=''" >> /home/ec2-user/.bashrc
echo "export NODEJS_HOME=/usr/local/lib/node/nodejs" >> /home/ec2-user/.bashrc
echo "export PATH=\$NODEJS_HOME/bin:\$PATH" >> /home/ec2-user/.bashrc
### Reload environment
. /home/ec2-user/.bashrc
### Verify NodeJS v18.x is operating
node -e "console.log('Running Node.js ' + process.version)"
- Container Linux Preferred (Ubuntu 22.04)
- Access to Coolr Reporting Project
- Database access: username, password, IP
- Set up Docker's apt repository.
# Add Docker's official GPG key:
sudo apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
# Add the repository to Apt sources:
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
- Install the Docker packages.
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
- Verify Docker Engine installation by running the hello-world image.
sudo docker run hello-world
- Create Docker Volume.
docker volume create portainer_data
- Install Portainer Server.
docker run -d -p 8000:8000 -p 9443:9443 --name portainer \
--restart=always \
-v /var/run/docker.sock:/var/run/docker.sock \
-v portainer_data:/data \
portainer/portainer-ce:2.9.3
- Access Portainer Dashboard.
Portainer UI is accessible through a browser at:
- Navigate to the desired folder.
cd /opt/
- Clone the project.
git clone https://github.com/Coolr/coolr-reporting.git
- Go to the project folder.
cd coolr-reporting
- Create a Dockerfile.
nano Dockerfile
- Inside the Dockerfile, add instructions for running the project using Docker.
# Specify node version you want to use
FROM node:18
# Working directory
WORKDIR /opt/coolr-reporting
# Copy package.json files
COPY package*.json ./
# Install project dependencies
RUN npm install
# Copy source files
COPY . .
# Command to start the project
CMD [ "node", "index.mjs" ]
- Create .dockerignore file.
node_modules
build
npm-debug.log
.vscode
- Build the Docker container.
docker build /opt/coolr-reporting/ -t coolr-reporting:latest
- Start the container.
docker run -d \
--name coolr-reporting \
--env-file /opt/coolr-reporting/.env.local \
-p 3080:3080 \
coolr-reporting:latest
- Check logs for errors.
docker logs coolr-reporting
- Test the internal reporting site in a browser using the URL with port.
http://192.168.61.112:3080/
This guide provides step-by-step instructions on how to create user access on the GOCD dashboard for a specific project.
Step 1:
Login to the GOCD server.
Step 2:
Navigate to the configuration directory of GOCD server:
C:\Program Files (x86)\Go Server\config
Step 3:
Edit the configuration file named cruise-config.xml
.
Step 4:
Add the desired user(s) to the configuration. For example:
<server id="media-man" ip="127.0.0.1" hostname="localhost">
<filesystem/>
<security>
<passwordFile path="C:\Program Files (x86)\Go Server\Users\media-man.txt"/>
</security>
</server>
<server id="pcx" ip="127.0.0.1" hostname="localhost">
<filesystem/>
<security>
<passwordFile path="C:\Program Files (x86)\Go Server\Users\pcx.txt"/>
</security>
</server>
Step 5:
Restart the Go-server service.
Step 6:
Go to htpasswd-generator for password generation.
Step 7:
Generate a password for the same username used for login, select bcrypt, and download the file.
Step 8:
Navigate back to the server directory:
C:\Program Files (x86)\Go Server\Users
Step 9:
Create a new text file and paste the generated password value into it. Save and exit.
Step 10:
Access the GOCD dashboard: http://<GOCD_SERVER_IP>:<PORT>/go/admin/security/auth_configs
Step 11:
Navigate to the authentication configuration.
Step 12:
Click on "Add" to create a new authentication configuration.
Step 13:
Fill in the details as shown below:
Name: <Auth_Config_Name>
Plugin ID: Password File
Options: Path=<Path_to_password_file_created>
Step 14:
Done! Test the credentials by logging in incognito mode.