Skip to content
Marc Pignat edited this page Mar 9, 2016 · 1 revision
  • Create a new instance of centos 7 minimal
  • Choose at least 20 GB disk
  • connect through ssh
  • resize the partitions
    • delete the current /dev/vda1, recreate with full space
    • reboot
    • resize2fs /dev/vda1
  • install tools
yum -y install epel-release
sed -i -e "s/\]$/\]\npriority=5/g" /etc/yum.repos.d/epel.repo # set [priority=5]
yum -y groups install "Xfce"
* sudo yum install -y bzip2-libs expat fontconfig freetype giflib glib2 glibc libdrm libpng12 unzip java vnc-server bc htop

create the file /etc/systemd/system/vncserver@:0.service with this content:

[Unit]
Description=Remote desktop service (VNC)
After=syslog.target network.target

[Service]
Type=forking
# Clean any existing files in /tmp/.X11-unix environment
ExecStartPre=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'
ExecStart=/usr/sbin/runuser -l cluster -c "/usr/bin/vncserver %i -alwaysshared -SecurityTypes None -localhost"
PIDFile=/home/cluster/.vnc/%H%i.pid
ExecStop=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'

[Install]
WantedBy=multi-user.target
  • enable the service systemctl daemon-reload && systemctl enable vncserver@:0.service && service vncserver@:0 start

  • unzip ELECTRONICS_170_LINX64.zip

  • now connect through vnc

mkdir /opt/AnsysEM && chmod a+rwx /opt/AnsysEM export ANS_IGNOREOS=1 export ANSOFT_DEBUG_MODE=1 ./Electronics_170_linx64/install * Install Electromagnetic suite * Do not allow read/write access for all users to default Temp Directory * ansyslm.hevs.ch port 1055

run

export ANS_IGNOREOS=1 export ANSOFT_DEBUG_MODE=1 /opt/AnsysEM/AnsysEM17.0/Linux64/ansysedt

Clone this wiki locally