Category: Programming
Modbus TCP/IP
libmodbus
New release: libmodbus-v1.3.7
Other ref:
Simply Modbus
modbustools
RTA (Real Time Automation)
VMware Workstation Pro
VMware Workstation Player
VMware Workstation Player Documentation
VMware Workstation 16 Pro
Buy Online the License for VMware Workstation Pro –> Today Online bought! (199+13.93 = $212.93)
VMware Workstation (Compare Product)
Django Packaged By Bitnami For VMware Marketplace
How to share folders between Windows and Ubuntu using VMware Player
Manually Install VMware Tools on Linux
How to Install VMware Tools
✔Mounting VMware Shares from the Command Line on Linux VM
✔How to Install VMware Tools on Ubuntu/Debian VMware Virtual Machine
✔How to mount Windows shares in Mint Linux 18.3
Mounting Shared Folders in a Linux Guest
Mount VMware Shares on Linux VM:
bitnami@debian:~$ cd /opt/bitnami
bitnami@debian:/opt/bitnami$ sudo mkdir PROJECTS
bitnami@debian:/opt/bitnami$ sudo chmod 777 PROJECTS
bitnami@debian:/opt/bitnami$ cd
bitnami@debian:~$ sudo mount -t fuse.vmhgfs-fuse -o allow_other .host:/VM_DJPROJECTS /opt/bitnami/PROJECTS
If error happen, using this command,
bitnami@debian:~$ sudo vmhgfs-fuse -o nonempty -o allow_other .host:/VM_DJPROJECTS /opt/bitnami/PROJECTS
*VM_DJPROJECTS is the shared folder name in Host computer (Windows).
PROJECTS is the shared folder in Guest computer (Linux Debian).
Automatically Mount VMware Shares:
If you want the VMware Linux VM to automatically mount the VMware share on boot,
you have to add a new line to the /etc/fstab file.
bitnami@debian:~$ cd /etc
bitnami@debian:/etc$ sudo chmod 777 fstab
bitnami@debian:/etc$ emacs fstab
Using chmod command to change file permission back to original.
bitnami@debian:/etc$ sudo chmod 644 fstab
Then, reboot.
bitnami@debian:/etc$ sudo reboot
Generate settings.SECRET_KEY in Django
Run the command below,
bitnami@debian:~$ python -c 'from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())'
Install Emacs Editor on Debian / Ubuntu Linux
How to Install and Launch emacs Editor on Debian / Ubuntu Linux
Install Emacs with APT,
bitnami@debian:~$ sudo apt-get install emacs
Ref:
HARLEY HAHN’S Emacs Field Guide
Automate Microsoft Excel and Word Using Python
ยังไม่ได้อ่านในรายละเอียด แต่คิดว่าน่าสนใจดี
Automate Microsoft Excel and Word Using Python
Integrate Excel with Word to generate automated reports seamlessly.
VMware vs. Virtual Box
VMware vs. Virtual Box: Comprehensive Comparison
Some conclusion:
- If you need a free virtualization solution for a desktop, you can select VirtualBox.
- If you need to have a free virtualization solution for running VMs on a server, select VirtualBox or VMware ESXi Free Edition.
- If you need an ultimate solution for desktop with extended 3D graphics support and a wide list of settings, select VMware Workstation (or VMware Fusion for Mac computers).
- If you need a free virtualization solution that only needs to run VMware VMs on desktop with basic options, you can select VMware Player.
- If you need maximum integration between a VMware desktop solution and a VMware vSphere (vCenter server, ESXi hosts), select VMware Workstation or VMware Fusion Pro. You can use VMware Workstation or Fusion Pro for connecting to vCenter Server or ESXi host remotely, and can manage virtual machines residing on these resources. VMware provides a free VMware vCenter Converter for converting VMs of the Workstation format to VMs of the ESXi format (and vice versa).
- If you have an old computer with a processor that does not support hardware virtualization technologies, select VirtualBox, which provides software virtualization.
- If you need the ultimate enterprise-grade solution for deploying multiple servers, running a high number of VMs, using clustering features, etc., select VMware vSphere based on ESXi servers with vCenter.
More about virtualization solutions, compare VirtualBox with Hyper-V.
Mount VirtualBox shared folder
การจะทำ Shared folder ของทางฝั่ง Host PC (Windows; the OS of the physical computer on which Oracle VM VirtualBox was installed) ให้เห็นที่ Guest OS (Debian GNU/Linux; OS ที่รันบน VirtualBox)
ดูที่นี่ –> here
With the VM powered off, click on Settings (on the VM) -> Shared Folders. Here, add a folder, select the path browsing in your host file system and assign it a shared_name. You can select read-only or auto-mount if you wish. After that, press ok and start the virtual machine. When it is started, try the following command:
sudo mount -t vboxsf shared_name /mnt/
where shared_name was the name set in “Folder Name” label and /mnt/ is the mounting point in the guest system.
แต่ก่อนอื่นจะต้องทำการติดตั้ง VirtualBox Guest Additions ก่อน
โดยทำดังนี้ –> here
To install VirtualBox Guest Additions, follow these steps:
1) Stop the virtual machine.
2) Edit the virtual machine settings and from the “System” tab, add a new CD-ROM device to the machine.
3) Restart the virtual machine.
4) Check the current kernel version:
uname -a
5) Install some needed dependencies as shown below. Remember to replace the VERSION placeholder with the kernel version from the previous command. packages with the proper kernel_version shown by the previous command:
sudo apt-get -y install dkms build-essential linux-headers-VERSION
6) Restart the virtual machine:
sudo reboot
7) From the virtual machine menu, select the “Devices -> CD/DVD Devices -> Choose a virtual CD/DVD disk file” option. Select the VBoxGuestAdditions.iso file. This action simulates inserting a CD-ROM that includes the tools.
The VBoxGuestAdditions.iso file is usually located in the /usr/share/virtualbox/ directory on Linux, in the C:\Program Files\Oracle\VirtualBox directory on Windows and the Contents/MacOS directory of the VirtualBox package on Mac OS X.8) Mount the CD-ROM and install the VirtualBox Guest Additions:
sudo mkdir /mnt/cdrom
sudo mount /dev/cdrom /mnt/cdrom
cd /mnt/cdrom
sudo sh ./VBoxLinuxAdditions.run --nox11
You can safely ignore the error below if it appears during the installation process:
Installing the Window System drivers ...fail!
(Could not find the X.Org or XFree86 Window System.)Once the process is complete, check that the output resembles that shown below. If it does, the VirtualBox Guest Additions have been successfully installed.
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.1.22 Guest Additions for Linux.........
VirtualBox Guest Additions installer
Removing existing VirtualBox DKMS kernel modules ...done.
Removing existing VirtualBox non-DKMS kernel modules ...done.
Building the VirtualBox Guest Additions kernel modules ...done.
Doing non-kernel setup of the Guest Additions ...done.