Saturday, 16 July 2022

How To Install Zoom Client on Ubuntu 22.04 LTS

  1. sudo apt -y install wget
  2. wget https://zoom.us/client/latest/zoom_amd64.deb
  3. sudo apt install ./zoom_amd64.deb

Friday, 10 June 2022

How to Add a Directory to PATH in Linux and run burp - BurpSuiteCommunity



1. Check what directories are in your $PATH

echo $PATH

/opt/BurpSuiteCommunity/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin

2. Add directory to PATH temporarly 

 export PATH="/opt/BurpSuiteCommunity/bin:$PATH"


3. Add directory to PATH permanently   

vim ~/.bashrc

export PATH="/opt/BurpSuiteCommunity:$PATH"

4. Execute command:

    cd /opt/BurpSuiteCommunity/

    sudo ln -s /opt/BurpSuiteCommunity/BurpSuiteCommunity burp

5. Run command:

    burp

 

Thursday, 20 January 2022

Problem with external monitor via HDMI or matrix on screen?

 Try rollback to previous kernel 5.11

and execute command 

sudo ubuntu-drivers autoinstall

should be ok

Friday, 17 December 2021

Purge/uninstall Minecraft from Ubuntu

 

Example for Minecraft:

  • Find out the package name:

    $ apt-cache search minecraft
    
    
  • Purge the package and its dependencies:

    $ sudo apt-get autoremove --purge minecraft
    [...some output...]
    

Thursday, 2 September 2021

perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset),

 

apt-get install multipath-tools
 
manually
export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8 
locale-gen en_US.UTF-8
dpkg-reconfigure locales 
or
edit /etc/profile
add this lines to this file
export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8 
 
 

can't set the locale; make sure $LC_* and $LANG are correct

 /etc/locale.gen

uncoment  

  en_GB.UTF-8
  en_US.UTF-8


run locale-gen as root

 

 

Monday, 14 June 2021

Virtualbox: two network interfaces

 I had to add the following lines in Debian virtual machine's /etc/network/interfaces file:

allow-hotplug eth1
iface eth1 inet dhcp

The second line instructs the interface to obtain an IP via DHCP. The first line loads the interface at boot time.

To apply the changes to a running system, invoke:

ifup eth1

The name for the eth1 interface may vary, use ifconfig -a to list all available interfaces.

EDIT: full /etc/network/interfaces:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp

allow-hotplug eth1
iface eth1 inet dhcp