In this code, you first create a File object for your HTML or PDF document. Then, you create a Tika AutoDetectParser object to automatically detect the document format. You also…
In this code, you first create an input stream for your text. Then, you use the CharsetDetector class to detect the character encoding of the text. Finally, you use the…
If you want to allow FTP connections to your linux machine and create username / password for a user and restrict the user to a specific folder when he/she logs…
If you have setup RDS services setup in Microsoft Azure or your on-premise servers, you will have to install SSL certificate in your RDS servers from time to time when…
Create a shell script and copy the below code to the file. Later you can run this script to execute the commands automatically
Guacamole is an HTML5 web application that provides access to desktop environments using remote desktop protocols (such as VNC or RDP). So with Guacamole you can give web access to your…
To install/reinstall GUI for Red Hat Linux, run the below commands.
Error starting solr: Error while waiting for a response from the agent: javax.ws.rs.InternalServerErrorException: HTTP 500 Server Error. This error usually occurs when there are some conflicting jars in classpath. Look…
To start docker automatically on system start, run the below commands
Although the docker daemon runs as root, it is sometimes useful to grant non root user to run docker commands without the need to use sudo each time. To achieve…