Apple MacOSX is a fantastic OS, when your app goes in the background it consumes few resources, this is a fantastic thing if you do not plan to run processes in the background or if it is not a server application. To avoid that your application is not slowed down I have created a very…
Read more
Configuring NFS Server: Installing NFS services on your ubuntu system
1 2 3 4 |
sudo nano /etc/fstab sudo apt install nfs-kernel-server sudo apt-get install nfs-kernel-server portmap nfs-common |
1 |
sudo showmount -a |
configure mount folders and define sub nets can access to
1 |
sudo nano /etc/exports |
/etc/export sample:
1 2 3 4 5 6 7 8 9 10 11 12 |
<span style="color: #06989a;"># /etc/exports: the access control list for filesystems which may be exported</span> <span style="color: #06989a;"># to NFS clients. See exports(5).</span> <span style="color: #06989a;">#</span> <span style="color: #06989a;"># Example for NFSv2 and NFSv3:</span> <span style="color: #06989a;"># /srv/homes hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check)</span> <span style="color: #06989a;">#</span> <span style="color: #06989a;"># Example for NFSv4:</span> <span style="color: #06989a;"># /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check)</span> <span style="color: #06989a;"># /srv/nfs4/homes gss/krb5i(rw,sync,no_subtree_check)</span> <span style="color: #06989a;">#</span> /home/<mymountfolder> 192.168.XXX.XXX/24(rw,sync,no_subtree_check,crossmnt,fsid=0,no_root_squash) /home/<mymountfolder> 192.168.MMM.MMM/24(rw,sync,no_subtree_check,crossmnt,fsid=0,no_root_squash) |
Verify export options
1 |
sudo exportfs -arv |
1 2 |
sudo systemctl restart nfs-kernel-server sudo service nfs restart |
Configure your MS-Windows 10 client: Configure your MacOSX client:
1 2 3 4 5 6 7 8 9 10 11 12 13 |
mkdir /Users/<yourusername>/<yourmountpoint> sudo mount -o resvport,rw,noowners -t nfs 192.168.JJJ.JJJ:/home/<mymountfolder> /Users/<yourusername>/<yourmountpoint> sudo nano /etc/fstab poi scrivi dentro 192.168.JJJ.JJJ:/home/<mymountfolder> /Users/<yourusername>/<yourmountpoint> nfs rw,nolockd,resvport,hard,bg,initr,tcp,nfc,rsize=65536,wsize=65536 sudo automount -vc |
Configure your Ubuntu client: Install requirements and create your mount…
Read more
OpenLayers makes it easy to put a dynamic map in any web page. It can display map tiles, vector data and markers loaded from any source. OpenLayers has been developed to further the use of geographic information of all kinds. It is completely free, Open Source JavaScript, released under the 2-clause BSD License (also known…
Read more
Delphi is truly a cool development environment, with the right libraries it becomes unbeatable. Now with version 11 and all the IDE in HDPI it is a pleasure to work with. fmxLinux is the library that comes with Delphi to allow you to create visual applications on Linux with Firemonkey and it works great. TMS…
Read more
Some older MS-Windows version doesn’t support newest TLS protocol for winhttp library, so there is an official patch for this at this link: http://download.microsoft.com/download/0/6/5/0658B1A7-6D2E-474F-BC2C-D69E5B9E9A68/MicrosoftEasyFix51044.msi The error occurred was: “Error sending data: (12175) A security error occurred.” Otherwise to test your server protocols, a vary usefull service is: https://www.ssllabs.com/ssltest/analyze.html
To force quit an application by application name in MS-Windows you can use “taskkill” command. To kill an application by app name using taskkill you can write:
1 |
taskkill /f /t /im julius.exe |
In this example we kill our application “JuliuS” .