Tuesday, July 23, 2024

Linux Kernel Compilation

 Step 1: Install Required Packages

Install additional packages before building a kernel. To do so, run this command:

sudo apt-get install git fakeroot build-essential ncurses-dev xz-utils libssl-dev bc flex libelf-dev bison


Step 2:

Download the Kernel source code from kernel.org, Extract the tar file

Install linux-headers for the base kernel version use following command to know the base kernel version 'uname -a'


Step3 :


Goto the Extracted directory/folder

run following command

make menuconfig


then save the configurationg and click exit


Step 4 :


Run the following command for compiling kernel

make

Step 5 :

Install kernel modules and kernel

make modules_install
make install

 

Step 6:

 

If amd based CPU in the machine

  sudo apt-get install firmware-amd-graphics

Wednesday, April 12, 2023

JMeter JSON Extractor

 

 

 

json response

{"Key1":"Value1","Key2":"Value2","Key2":"Value2"} 



Name of the variables : jtoken

JSON path Expressions : $.Key1

Thursday, March 30, 2023

BOSS AMD 64 Graphics Driver Installation

 

1.Connect the BOSS repository

 

2.Then issue following commands

 

sudo apt-get install firmware-amd-graphics


3.Restart the Machine.

Wednesday, January 4, 2023

Virtual Manager (virt-manager) Installation BOSS Linux

 

 

Step 1:

 

Open the terminal

 

Step 2:

 

Kindly issue the command on the terminal given below

sudo apt-get install qemu-kvm virt-manager qemu-system libvirt0 bridge-utils

Tuesday, December 27, 2022

Jupyter installation

 

Step 1:

upgrade the pip3

apt-get install python3-pip

sudo pip3 install --upgrade pip 
 
Step 2:
 
Create virtual environment
 
sudo pip3 install virtualenv
 
pip3 install virtualenv
 
mkdir demo
cd demo
virtualenv mynotebookenv
source mynotebookenv/bin/activate 
 
Step 3:
install the jupyter 
pip install jupyter
jupyter notebook

Friday, November 25, 2022

JMeter Heap Size increase

 

Open the jmeter.bat  file and then add following


HEAP=-Xms1g -Xmx1g


Change to 12GB following like this


HEAP=-Xms12g -Xmx12g

Sunday, November 20, 2022

JAVA Path and JAVA_HOME Path Setting in Linux

 


  1. Open the Terminal

  2. Prepend sudo if logged in as not-privileged user, ie. sudo nano

  3. nano /etc/profile

  4. Press 'i' to get in insert mode
  5. add following :

    export JAVA_HOME="path that you found"
    
    export PATH=$JAVA_HOME/bin:$PATH
    
  6. logout and login again, reboot, or use source /etc/profile to apply changes immediately in your current shell

Linux Kernel Compilation

 Step 1: Install Required Packages Install additional packages before building a kernel. To do so, run this command: sudo apt-get install gi...