Skip to main content

Posts

Showing posts from September, 2024

Install MariaDB Latest Version 11.4 in Red Hat Version 9

 This this post i will show you step by step the installation process of mariaDB in red hat version 9. Step1 Run the command to pull the latest updated packages on applications installed in your system. -dnf update If you get Kernal update than reboot the system -reboot Step2 Go to official mariaDB site Make mariadb repository in /etc/yum.repos.d Place the configuration in this file # MariaDB 11.4 RedHatEnterpriseLinux repository list - created 2024-09-24 11:12 UTC # https://mariadb.org/download/ [mariadb] name = MariaDB # rpm.mariadb.org is a dynamic mirror if your preferred mirror goes offline. See https://mariadb.org/mirrorbits/ for details. # baseurl = https://rpm.mariadb.org/11.4/rhel/$releasever/$basearch baseurl = https://mirrors.aliyun.com/mariadb/yum/11.4/rhel/$releasever/$basearch # gpgkey = https://rpm.mariadb.org/RPM-GPG-KEY-MariaDB gpgkey = https://mirrors.aliyun.com/mariadb/yum/RPM-GPG-KEY-MariaDB gpgcheck = 1 Now install the mariaDB with its dependencies package...

Nexjs App deployment on Red hat Server

Deployment of Nextjs Application. You can follow this article as well. https://medium.com/bina-nusantara-it-division/how-to-deploy-your-next-js-apps-on-linux-server-using-nginx-and-pm2-65834cfecd37 https://codebhaiya.com/blog/how-to-point-domain-and-host-a-next.js-app-in-production-on-an-ubuntu-vps My searching on BlackBox Ai Chat Blackbox: AI Code Generation, Code Chat, Code Search  Step 1. Setup Node environment on server Now we will start installing following packages using commands -sudo dnf install nodejs npm git  After successful installations check these packages versions to verify. Note: For installing latest/specific version on nodejs. we will use mvn package. this is github official installation guide https://github.com/nvm-sh/nvm By using nvm command we can install nvm package. Its a Node Version Manager -curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash To verify run command  -nvm //hit enter If it not found than close the termina...

Reactjs App Deployment On Server

 Deploy your React App on server. To deploy your application, Vercel platform is recommended to deploy your application. Its is highly optimized specifically Nextjs application. It provide bunch of features that our app need to run smoothly. Like Api(route) support feature work if your application run on vercel. Secondly we have getServerSideProps hook only support/run on production, if your app is running on vercel. Source to deploy on vercel server from githup repository Link:  Deploy Nextjs On vercel To run your React js App or for installing any js package, you need to have Nodejs environment setup and npm package installed. Follow this video Link:  Deploy Reactjs App on VPS Step 1. Setup Node environment on server Now we will start installing following packages using commands -sudo apt install nodejs npm git  After successful installations check these packages versions to verify. Note: For installing latest/specific version on nodejs. we will use mvn package. th...