Categories
debian Fedora Linux

debian

Easy to forget debian:
Remove processes that run on startup


  $> sudo update-rc.d -f nginx remove

Easy to forget fedora:


  $> sudo chkconfig apache2 off 

Categories
Fedora

Fedora NVidia install

Fun.

Of all the articles found on the net on installing nvidia, one worked for me, listed below. Here are the steps I took to successfully installed:

  1. dnf update
  2. reboot
  3. dnf install fedora-workstation-repositories
  4. dnf config-manager --set-enabled rpmfusion-nonfree-nvidia-driver

 

  1. dnf repository-packages rpmfusion-nonfree-nvidia-driver info
  2. go to GNOME software > Add-ons > Hardware Drivers> NVIDIA Linux Graphics Driver > Install

Of course, repositiories only need to be installed once.
 

reference: https://fedoramagazine.org/install-nvidia-gpu/

Categories
Fedora

Fedora Setup

I am a fan of fedora and have been so for years. I feel it is a solid distribution with a good package base and attention to security. I now enjoy the latest version of gnome and some of its standard tools.

Setting up an ideal system can be a challenge. My downfall has been video driver installation. This is when I wish I had a mac or could be content with a windows 10 box.

Listed below are solutions to common setup issues that worked for me.

Categories
Fedora

Fedora setup: preferred partitions

FEDORA 29: Install date: 1/10/2019

I have a unique file system layout that is part server and part desktop. I add hard drives as I need them creating and switching around partitions by setting the partitions using ext4 and going into the fstab file. This is what works for me. I had lots of losses when I used lvm. I’m sure lvm has improved since.

Each directory has its own partition, the ones not listed share with root. Hard drive space I have is a lot more than what I need.

/ 700Gb
/boot
/swap 20Gb
/var 292Gb
/home 600Gb
/dnload 600Gb
/src 600Gb
/backup
/data 28Gb
/vault 8Gb
/opt 60Gb
Categories
Fedora

Fedora commands and notes

list all versions of a package

dnf --releasever=29 --showduplicates list $pkgname

when upgrading packages, do not include “packagename”

sudo dnf upgrade --exclude=packagename

 


add programs to your gnome desktop that you manually installed into opt

Create a file like this: call it Postman.desktop.
save this file in your /home/usr/.local/share/applications directory


[Desktop Entry]
Encoding=UTF-8
Name=Postman
Exec=YOUR_INSTALL_DIR/Postman/app/Postman %U
Icon=YOUR_INSTALL_DIR/Postman/app/resources/app/assets/icon.png
Terminal=false
Type=Application
Categories=Development;