esxcli system version get
vim-cmd /hostsvc/maintenance_mode_enter
esxcli network firewall ruleset set -e true -r httpClient
name: Build and to DO Apps | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- 'release' | |
paths: | |
- '<my_workspace_name>/**' | |
env: |
val startTime = Clock.System.now() | |
/// DO STUFF HERE | |
val elapsedTime = Clock.System.now() - startTime | |
println("Execution Time: $elapsedTime seconds") |
[Unit] | |
Description=Oracle Session Delivery Manager Control Script | |
After=sshd.service | |
[Service] | |
User=nncentral | |
Group=nncentral | |
Type=oneshot | |
WorkingDirectory=/opt/AcmePacket/NNC81_1/bin | |
ExecStart=/opt/AcmePacket/NNC81_1/bin/startnnc.sh |
## Updated courtesy of (https://oracle-base.com/articles/linux/create-a-local-yum-repository-for-oracle-linux-7) | |
yum -y install yum-utils createrepo_c httpd | |
systemctl enable --now httpd | |
cp /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle /var/www/html/ | |
mkdir -p /u01/repo/{OracleLinux,logs,scripts,cache} | |
touch /u01/repo/scripts/repo_sync.sh | |
chmod u+x /u01/repo/scripts/repo_sync.sh |
import javax.annotation.PostConstruct; | |
import javax.annotation.PreDestroy; | |
import javax.servlet.sip.SipServletRequest; | |
import javax.servlet.sip.annotation.Invite; | |
import javax.servlet.sip.annotation.SipServlet; | |
import java.util.logging.Logger; | |
@SipServlet(name="MySipServlet", loadOnStartup = 1) | |
public class MySipServlet { |
#enable each service for boot | |
systemctl enable nodemanager | |
systemctl enable adminserver | |
#then reboot and test |
#install ovftool | |
# connect to system and check current virtual machines | |
ovftool vi://root:<password>@<ip-address>/ | |
#shut down VM's which you want to copy | |
#disable ssl verification if you need to, you can this with the following operations if you need to | |
ovftool --noSSLVerify |
#how to install the vmware labs ESXi Embedded Host Client | |
#https://labs.vmware.com/flings/esxi-embedded-host-client | |
#ssh into system | |
#enable http client | |
esxcli network firewall ruleset set -e true -r httpClient | |
#get latest offline bundle package | |
wget http://download3.vmware.com/software/vmw-tools/esxui/esxui-offline-bundle-6.x-3843236.zip |
yum -y install deltarpm
setenforce 0 && sed -i "s/SELINUX=enforcing/SELINUX=disabled/" /etc/selinux/config
systemctl disable --now firewalld