Thanks to US Army Corps of Engineers ,Hydrologic Engineering Center, the ownr of HEC-RAS, HEC-HMS https://www.hec.usace.army.mil/about/ HEC-RAS & HEC-HMS The Hydraulic and hydrological simulation software developed by The U.S. Army Corps of Engineers (USACE) Hydrologic Engineering Center are freely available to the public . These software are prepared to suit the Microsoft operating systems .Since these simulation software are very useful in advance hydraulic & hydrologic engineering and water resources planning;It has to be found a method to install the same on linux platforms . I have found that the software HEC-RAS 4.1 and HEC-HMS 4.0 can be installed and run successfully on wine after adding missing dependent files mfc40.dll and THREED32.OCX . Those files can be downloaded from following links https://www.dlldump.com/download-dll-files_new.php/dllfiles/M/mfc40.dll/4.1.001/download.html https://wordpress.com/post/bkjaya.wordpress.com/2294 It is very easy to use docker images on Ubuntu as those can be used without interfering with the system setup. Therefore a docker image bkjaya1952/q4wine-x11vnc-novnc-hec has been created by me. The following software have been installed within the above image. q4wine, x11vnc, noVNC, HEC-RAS, HEC-HMS, & icecat web browser bkjaya1952/q4wine-x11vnc-novnc-hec is based on bkjaya1952/q4wine-x11vnc-novnc-hec at https://hub.docker.com/r/bkjaya1952/q4wine-x11vnc-novnc-docker Please ref:-https://hub.docker.com/r/bkjaya1952/q4wine-x11vnc-novnc-hec Usage :- To create a q4whec container (name q4whec) using bkjaya1952/q4wine-x11vnc-novnc-hec On the Ubuntu terminal sudo apt install docker.io sudo docker create -t -p 8008:8080 --name q4whec --privileged=true bkjaya1952/q4wine-x11vnc-novnc-hec sudo docker start q4whec xdg-open http://localhost:8008/vnc_lite.htmlThen the novnc desktop with q4wine will appear on the web browser at the startup. At the first run of the docker container , you will have to run the first startup wizard to configure the q4wine as follows. Right click the mouse on winecfg and run Then it will automatically download wine and install. Figure:- 1 Q4Wine desktop Figure:- 2 HEC-RAS 4.1 Figure:- 3 HEC-HMS 4.0 Figure:- 3 icecat web browser
If you want to get the novnc desktop with q4wine after closing it, please follow the following steps On the desktop, right click the mouse to get the fluxbox menu To get the q4whec desktop with q4whec panel On the menu go to sub menus and ckick Applications>Shells>Bash How to change the timezone After quitting the q4whec On the terminal enter vim /etc/timezoneThen the timezone file is opened Go to the top line of the file , press insert key on your key board and enter your timezone ( ie Asia/Colombo) Then press the( Esc key ) and ( Shift : x ) to save & quit the file The HEC-RAS , HEC-HMS and icecat web server can be started by right clicking moue and run on respective icons of Q4Wine GUI as shown first figure of above
0 Comments
|
AuthorRetired Director of Irrigation ,Sri Lanka Categories
All
Archives
March 2020
|