Saturday, September 12, 2020

Grub install in Ubuntu to find other OS

Grub install in Ubuntu to find other OS

grub-install --target=i386-pc --recheck /dev/sdb 

update-grub

Sunday, September 6, 2020

RHEL 8 / CentOS8 - Necessary tweaks to act as a friendly OS in desktop level

1.Xtreme Download Manager - Download the latest version and run the script
    https://subhra74.github.io/xdm/#downloads
    https://github.com/subhra74/xdm/

2.Transmission
    dnf -y install epel-release
    dnf repolist
    dnf install transmission-gtk

3.VLC
    dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
    dnf install https://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm
    dnf install vlc

4.LibreOffice - https://www.libreoffice.org/download/download/

5.KVM
    dnf module install virt
    dnf install virt-install virt-viewer libguestfs-tools
    dnf install virt-manager
    systemctl enable libvirtd.service
    systemctl start libvirtd.service
    systemctl status libvirtd.service
    Ref: https://www.cyberciti.biz/faq/how-to-install-kvm-on-centos-8-headless-server/ 

6.Make NTFS support
    dnf install epel-release
    dnf install ntfs-3g
    mount -t ntfs-3g /dev/sdb1 /mnt
  

7.Install new tools in RHEL8
https://www.simplylinuxfaq.com/p/major-differences-between-rhel-8-and-7.html

8.Wifi drivers
    lspci | egrep -i --color 'network|ethernet'
    dnf install dkms kernel-headers kernel-devel
    wget https://github.com/lwfinger/rtlwifi_new/archive/master.zip
    unzip master.zip
    dnf install git
    git clone https://github.com/lwfinger/rtlwifi_new.git -b rtw88
    make
    make install

9.Cockpit
    dnf install cockpit
    systemctl enable cockpit.socket
    systemctl start cockpit 

10.Cockpit modules - https://docs.centos.org/en-US/centos/install-guide/Composer/
    dnf install lorax-composer composer-cli cockpit-composer
    systemctl enable lorax-composer.socket
    systemctl enable cockpit.socket
    systemctl start lorax-composer
    systemctl start cockpit.socket

11.Nodejs
    dnf install nodejs

12.Ansible
    dnf install ansible

13.Gnome-tweaks
    dnf install gnome-tweaks   

14.MS Team - https://www.microsoft.com/en-in/microsoft-365/microsoft-teams/download-app#desktopAppDownloadregion
    dnf install teams-1.3.00.16851-1.x86_64.rpm 

15.Install the data recovery software

    dnf install testdisk

Sunday, August 9, 2020

Simple commands from old notes

rsync -aHX
a archive
H save hard links
X save extended attributes

wget -c link for continue download

Monday, February 17, 2020

Important Linux Mint 18 OS customizations

These are the necessary stuff to install in Linux Mint 18.

1. Image viewer and editor - Pinta
https://community.linuxmint.com/software/view/pinta

2. File Manager like Mac OS
https://askubuntu.com/questions/798899/is-there-a-file-manager-with-mac-os-like-column-view-for-linux


3. Need to install the below stuff to run Linux Mint smoothly
wps
gnome-chess
bleach bit
Vim
lmms


4. vnstat http://www.monitorix.org/downloads.html - for monitoring
Forticlient for Open source VPN client software

5. alian - via https://community.linuxmint.com/software/view/alien - package is used to convert rpm to deb and deb to rpm

6. - wine, wine tricks, playon linux, kvm - Install these stuff next on Linux mint to run/test other OS software.

7. docker (https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-16-04)

8. servers. (optional)
- apt-get install samba*
- apt-get install bind*
- apt-get install http*
- apt-get install vsftpd*
- apt-get install squid*
- apt-get install dhcpd*

9. KVM (https://community.linuxmint.com/tutorial/view/1727)
- sudo apt-get install qemu-kvm libvirt-bin bridge-utils
- sudo apt-get install virt-manager

10. sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian xenial contrib" >> /etc/apt/sources.list.d/virtualbox.list'

11. wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -

12. Wifi-hotspot
https://unix.stackexchange.com/questions/297151/share-wifi-creating-hotspot-on-linux-mint

13. PlayonLinux
sudo add-apt-repository ppa:noobslab/apps
sudo apt-get update
sudo apt-get install playonlinux

14. recording desktop
apt install gtk-recordmydesktop

15. Command line music system
cd cmus
./configure prefix=$HOME/cmus
make install

VMware tools installation in RedHat Enterprise Linux VM

Purpose:
To take the snapshot and proper regular backups the VMware tools up-gradation is indispensable.

Scope:
This document will provide a guidance / procedure to install or upgrade the VMware tools in Red Hat Linux VM instances.

Procedure :-
Step 1: -> Select VM on Vcenter
    Inventory > Virtual Machine > Guest > Install/Upgrade VMware Tools
Step 2: -> On Linux :-
    Mount the installable
    mount /dev/cdrom /mnt
Step 3: -> Copy it to /tmp
    mkdir /tmp/vm
    cp -p /mnt/* /tmp/vm/
Step 4: -> Extract and peform the installation,
    gunzip VMwareTools-9.4.10-2068191.tar.gz
    tar -xvf VMwareTools-9.4.10-2068191.tar
    cd vmware-tools-distrib
    ./vmware-install.pl
    Go with the defaults till the installation process completes.
Step 5: -> Reboot the system
Step 6: -> Verify from Vcenter that VMWare tools reflect.