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 https://tomcat.apache.org/ Extract file apache-tomcat-9.0.56.tar.gz […]
Category: Fedora
Fedora related problems
Configure VSCode for Java Development in Linux
Configure VSCode for Java Deveopment in Linux is quite tricky. To reach the goal just follow the steps bellow. Now lets dive for Fedora 33. Step 1: Make sure you have VSCode installed up and running. Step 2: In the Extension panel search for Java. Just type java and install Java Extension Pack look like […]
Install PhpMyAdmin in fedora 33
Solved: According to fedora docs It is as simple as $ su – $ dnf install phpMyAdmin -y Restart Apache $ systemctl restart httpd Open the browser and navigate to localhost/phpmyadmin/ Thats it.
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 […]
WordPress could not establish a secure connection to WordPress.org in Linux
Solved: In Linux there sometimes SELinux causes the problem. To fix the issue follow the bellow steps. Open the file/etc/selinux/config with root permissionwith an editor and then change the line SELINUX=enforcing to SELINUX=permissive Finally: Reboot the system.
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 […]
libpcrecpp is needed by mysql-workbench-community-8
Solved: First install the following package: $ sudo dnf install pcre-cpp Then install the mysql workbench community 8 $ sudo rpm -ivf mysql-workbench-community-8.0.23-1.fc33.x86_64.rpm
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.