Category: Work related
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 […]
Use rasdial to command line operate VPN
C:\>rasdial /? USAGE: rasdial entryname [username [password|*]] [/DOMAIN:domain] [/PHONE:phonenumber] [/CALLBACK:callbacknumber] [/PHONEBOOK:phonebookfile] [/PREFIXSUFFIX] rasdial [entryname] /DISCONNECT rasdial Command completed successfully.
Linux: add a swap file
To add a swap file: Determine the size of the new swap file and multiple by 1024 to determine the block size. For example, the block size of a 64 MB swap file is 65536. At a shell prompt as root, type the following command with count being equal to the desired block size: dd […]
Grub boot without GUI
When booting, click any key to drop into grub booting menu, click Tab to bring up option line. Append 1 or 3 after the kernel line. Then it will boot without GUI. This is useful in case the X configuration is messed up. Normal booting will result a locked display as well as locked mouse […]
selinux use nfs home dir
echo “1 1” > /selinux/use_nfs_home_dirs