I upgraded my laptop from Fedora 27 to Fedora 28 last night and I’ve got to say it’s was one of the most painless upgrades I’ve ever done. Here’s how I did it.
1, Make sure you’re system is backed up and has all the most recent packages [I’m not responsible for a hosed system if this doesn’t work for you
dnf upgrade --refresh
2, Install the dnf upgrade plugin
dnf install dnf-plugin-system-upgrade
3, Start the upgrade [Please note this will only download the packages, it won’t install them
dnf system-upgrade download --releasever=28
4, Start the upgrade process
dnf system-upgrade reboot
Your system will reboot and start the upgrade process, depending on the speed of your system it might take awhile.
If you have any problems you might have to disable third party repos you have installed on your computer.
For my information, but others might find it useful.
To get this prompt
Add the following line to your .bashrc file
PS1=”[\[\033[1;31m\]\u\[\033[0m\]@\h \W]\\$ ”
To get this colour at the root prompt
Add this to the root .bashrc prompt
PS1=”[\[\033[1;32m\]\u\[\033[0m\]@\h \W]\\$ ”
The actual color code is “1;31″ inside the PS1 variable. The 1 says make it ”’bold”’ and the 31 says the color red.
1;37 White (Don’t think white would show up too well on this page)
Hello, welcome, how are you ?
It’s a day or so late, but I wanted to wish every one a happy new year. 2017 was a very busy year and I suspect 2018 will equally be as busy, but I wanted to extend a hand and say Hi, how are you ?
Feel free to come say hello. Nothing very exciting here, but a good ear is sometimes all that’s required.
Enjoy 2018, I hope to see some of you real soon.
I’ve just tried to install nmap and zenmap on Fedora 27, I thought it would be as simple as
dnf install nmap zenmap
well no, zenmap isn’t found, a quick search on google and it’s actually nmap-frontend
so for my records, and anyone out there that wants to install nmap and it’s front end on Fedora 27
dnf install nmap nmap-frontend
You know I haven’t blogged or posted in while, so I thought I’d just write this quick post to say hello and yes I’m still about.
If you feel the need to say hello, and please feel free, then I can be contacted at prjmellors -at- gmail -dot- com
I’ve just started playing with tmux in the i3 window manager, just to try something new. For my benefit incase i need to reinstall, this is what I have in it so far. It’s nowhere complete, and just a start, but it works for me 🙂
Feel free to comment with additions or what you use in yours.
#change binding key
set-option -g prefix C-a
bind-key C-a send prefix
bind-key v split-window -v
bond-key h split-window -h
set -g mouse on
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pan -D
set -g status off
** Update 11/10/17 [Thanks James] **
It looks like there is an issue if you had
dnf-automatic in Fedora 25 or earlier as Fedora 26 jumps from DNF 1.x to 2.x, so please read THIS post before you install it in 25 and upgrade.
Blatantly stolen from here for my records – Thanks Iain R. Learmonth
Make sure that unattended-upgrades is installed and then enable the installation of updates (as root):
apt install unattended-upgrades
dpkg-reconfigure -plow unattended-upgrades
Fedora 22 or later
Beginning with Fedora 22, you can enable automatic updates via:
dnf install dnf-automatic
apply_updates = yes
Now enable and start automatic updates via:
systemctl enable dnf-automatic.timer
systemctl start dnf-automatic.timer
(Thanks to Enrico Zini I know all about these timer units in systemd now.)
RHEL or CentOS
For CentOS, RHEL, and older versions of Fedora, the yum-cron package is the preferred approach:
apply_updates = yes
Enable and start automatic updates via:
systemctl start yum-cron.service