Deploy React Project in Tomcat Server

React project is little different than other project for tomcat server. To deploy the react application (production build) just follow the step bellow. Step 1: Create a project directory as like “appname” in webapps dir of tomcat. Step 2: In react project add “homepage”: “/appname” in package.json file. If you use router in your project […]

Configure Tomcat in Fedora

To configure tomcat in fedora follow the bellow steps Step 1: Check version of java $ java -version Output : openjdk version “11.0.7” 2020-04-14 LTS OpenJDK Runtime Environment 18.9 (build 11.0.7+10-LTS) OpenJDK 64-Bit Server VM 18.9 (build 11.0.7+10-LTS, mixed mode, sharing) Step 2 : Download tomcat any version (latest preferred) from Extract file apache-tomcat-9.0.56.tar.gz […]

Install MariaDB in fedora 33

Solved: To install mysql or myriadb in fedora 33 is quite simple. Step 1: For that open a terminal and simply type the following command. [root@localhost ~]# dnf install mariadb-server  -y Step 2: In second step run the following commad to enable the firewall for mysql [root@localhost ~]# firewall-cmd –add-service=mysql –permanent [root@localhost ~]# firewall-cmd –reload […]

How to create a virtual host in fedora.

Solved: First: Create a file at /etc/httpd/conf.d/ location with .conf extension and insert the following code block. <virtualhost *:80>   DocumentRoot “/var/www/project-folder”   ServerName domain-name    <Directory “/var/www/project-folder”>       Options Indexes FollowSymLinks       AllowOverride All       Require all granted   </Directory></virtualhost> Second: create a project under /var/www/     named “project-folder” as virtualhost DocumentRoot. Insert the domain in hosts file at /etc/hosts […]

ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: YES)

Solved: Login to new mysql server by following command: $ sudo mysql MariaDB [(none)]> use mysql; MariaDB [mysql]> ALTER USER ‘root’@’localhost’ IDENTIFIED BY ‘password’; Now you can login with the following command: $ mysql -u root -p Enjoy.

Enable google drive in ubuntu 20

Step 1: First install google drive tool repository called: “ppa:alessandro-strada/ppa”. In terminal type: sudo add-apt-repository ppa:alessandro-strada/ppa . Step 2: Update the system. Type : sudo apt-get update. Step 3: Install the tool called : google-drive-ocamlfuse. In terminal type : sudo apt-get install google-drive-ocamlfuse. Step 4: To connect with google drive type in terminal : “google-drive-ocamlfuse”. […]

SecureCRT Crack for linux

Follow the steps bellow to get the crack for SecureCRT for linux Step 1: Download the latest SecureCRT for Linux Ubuntu 16.x 64-bit (scrt-8.3.0-1514.ubuntu16-64.x86_64.deb) from official Website  Step 2: wget Step 3: Check out the SecureCRT installation path. type in terminal : whereis SecureCRT Step 4: Run the perl script on SecureCRT’s installation path ‘/usr/bin/SecureCRT’. […]