Category: Work related
Linux reboot without chkdisk
add option fastboot in grub.
upgrade RHEL5 to RHEL6
By adding in “upgradeany” after the RHEL6 installation CD/DVD’s GRUB interface, it allowed to do the upgrading. (Press TAB, and add on upgradeany after initre=initrd.img) However, it failed on package kde-filesystem. To resolve this, press Ctrl-Alt-F2, it will bring you into a shell of the installation environment. From here, you can try $ cd /mnt/source/Packages […]
Install NVIDIA driver to RHEL6
$ setsebool -P allow_execstack on $ nano /etc/modprobe.d/nvidia-installer-disable-nouveau.conf and put in blacklist nouveau options nouveau modeset=0 $ nano /boot/grub/grub.conf and append nomodeset rdblacklist=nouveau to the kernel line $ nano /etc/inittab change id:5:initdefault: to id:3:initdefault: $ shutdown -r now After reboot: $ sh NVIDIA-Linux-x86_64-xxx.xx.xx.run It will install normally. $ nano /etc/inittab change id:3:initdefault: to id:5:initdefault: $ […]
Check RAM slot in Linux using dmidecode
# dmidecode can see the server chasing information such as server tag, server model, product model and more… # dmidecode -t -17 | grep Size to can view the RAM size that been installed and the slot not yet installed RAM. To check the maximum RAM capacity can installed.. # dmidecode -t 16 # dmidecode […]
Reset Local Group Policy to Default in Windows XP
Note: This process is applicable foe only stand alone computers. Steps 1.Login through theAd m in istrator account. 2.Delete the%Systemroot %\System32\Gro upPo lic y folder. 3.Now, Click Start, click Run, typecmd, and then press ENTER. 4.In Command Prompt type the following command, and then press ENTER: gpupdate /Force Note: It will forcefully apply the default […]
Linux update methods
Fedora: yum yumex PackageKit: gpk-update-viewer RHEL3,4,5 pup
xorg.conf for RHEL dual monitor
http://hpclab.blogspot.com/2007/11/rhel-dual-monitor.html RHEL dual monitor Dual monitor test on RHEL 4 Video card nVidia 128MB PCIe x16 nVidia Quadro NVS 285, Dual DVI or Dual VGA capable Monitors Two monitors have different resolution each other; 1)DELL 2007FPW, 1600×1200 2)DELL 1707FPVt, 1280×1024 Test methods There are two different mode for utilizing 2 monitors on Linux. Both of […]
up2dateErrors.SSLCertificateVerifyFailedError()
For RHEL, when you are using local repo, like your enterprise server, if you try to get the license through https, you may get the error in the title. If you search the internet, it always tells you that you need to synchronize the time. However, for most the case, the fact is that your […]
grep .
This will result with empty lines removed of a file.
Fedora 13: when home directory is a subdir through nfs and/or link
When I upgraded my fedora boxes in a cluster to fedora 13, I found that I can nolonger login locally via graphical interface, and remote login dropped me to / since it could not change dir to user home. I then setenforce 0 All back to normal. However, audit2allow -m local -l -i /var/log/audit/audit.log did […]