Currently, Guacamole cannot support RDP for Windows 10 and Windows Server 2016. We can change RDP settings on Windows 10/Server 2016 to make it works.
Enable proxy models
sudo a2enmod proxy_html sudo a2enmod proxy_http sudo a2enmod proxy_wstunnel sudo a2enmod proxy_ajp sudo a2enmod lbmethod_byrequests sudo a2enmod lbmethod_bytraffic sudo a2enmod lbmethod_bybusyness sudo a2enmod lbmethod_heartbeat
Create 3 mongodb servers. Make sure update hosts files on all nodes or on DNS server
192.168.1.10 mongodb01 192.168.1.11 mongodb02 192.168.1.12 mongodb03
If you can’t find a command in CentOS, try the following example (for command semanage):
sudo yum provides /usr/sbin/semanage
Then install the package which needs.
lxc snapshot <container name> backup lxc publish <container name>/backup --alias <container name>-backup lxc image export <container name>-backup lxd_<container name>_tarball lxc image delete <container name>-backup lxc delete <container name>/backup
Big O Notation
What is volatitle variable?
volatile variable in Java is a special variable which is used to signal threads, a compiler that this particular variables value are going to updated by multiple threads.
- Variable’s value is always read from main memory instead of cached value.
- Volatile variable guarantees “happens-before” relationship, which means not only another thread has visibility of latest value of volatile variable but also all the variable is seen by the thread which has updated value of volatile variable before these thread sees it.
Test-driven development (TDD) is a development technique where you must write a test that fails before you write new functional code.
- map: If a value is present, apply the provided mapping function to it, and if the result is non-null, return an Optional describing the result. Otherwise return an empty Optional.
- flatMap: If a value is present, apply the provided Optional-bearing mapping function to it, return that result, otherwise return an empty Optional. This Method is similar to map(Function), but the provided mapper is one whose result is already an Optional, and if invoked, flatMap does not wrap it with an additional Optional.