1) How to change the Default Boot Entry OR how to boot with older kernel (n-1 kernel) in SUSE15
(Tested and worked on SUSE 15)
1) vi /etc/default/grub , change to GRUB_DEFAULT="1>2" # it boots n-1 kernel
2) grub2-mkconfig -o /boot/grub2/grub.cfg # Apply the configuration changes you need to run the Update grub
3) reboot
Note: even if its UEFI boot , we need to apply for /boot/grub2/grub.cfg location only. because /boot/efi/EFI/OS-NAME/grub.cfg does not exists
2) SUSE Repo issues while connecting with Proxy , How to disable and enable proxy
Disable Proxy
suse15server:/etc/zypp/repos.d # printenv | grep -i proxy
https_proxy=http://proxy.naveen.com:8080
http_proxy=http://proxy.naveen.com:8080
no_proxy=localhost,127.0.0.1,1.x.x.x,2.x.x.x
NO_PROXY=localhost,127.0.0.1,1.x.x.x,2.x.x.x.
SOCKS_PROXY=
socks_proxy=
gopher_proxy=
ftp_proxy=
suse15server:/etc/zypp/repos.d # unset https_proxy
suse15server:/etc/zypp/repos.d # unset http_proxy
suse15server:/etc/zypp/repos.d # vi /etc/sysconfig/proxy ==> change proxy enable parameter PROXY_ENABLED="no" YES to NO
Post that we are able to register all servers and do the zipper ref and able to get patches as well
Once Patching is done and try to set proxy
Enable Proxy
suse15server:/etc/zypp/repos.d # export https_proxy=http://proxy.naveen.com:8080
suse15server:/etc/zypp/repos.d # export http_proxy=http://proxy.naveen.com:8080
suse15server:/etc/zypp/repos.d # vi /etc/sysconfig/proxy >> change proxy enable parameter NO to YES
3) SuSE Package Management
shows the what provides package information
zypper search --provides "file/packagname"
zypper wp "file/packagname"
Post a Comment