hwclock -rTo set the time and date:
date -s "2 OCT 2006 18:00:00"To set the time only:
date +%T -s "10:13:13"To set the hardware time using the system time:
hwclock -w
hwclock -rTo set the time and date:
date -s "2 OCT 2006 18:00:00"To set the time only:
date +%T -s "10:13:13"To set the hardware time using the system time:
hwclock -w
vi /etc/slurm/slurm.conf
SelectTypeParameters=CR_LLNSpread the file to all machines and run:
service slurm restart
export PS1="(\t) $PS1"
rsync -avr rsync://centos.syn.co.il/centos/6.5/updates/x86_64/ --delete --exclude=debug/ /var/www/html/centos/updates/6.5/
yum install automake autoconf gettext python cronie pygtk* libglade2-devel python-crypto python-paramiko notify-python make gcc intltool -y2. Download the source from SourceForge:
cd /tmp
wget http://downloads.diffingo.com/fwbackups/fwbackups-1.43.4.tar.bz23. Extract the archive and compile it:
tar xvf fwbackups-1.43.4.tar.bz2
cd fwbackups-1.43.4
./configure --prefix=/usr/local
make
make install4. Edit /usr/local/bin/fwbackups and add the following to line 22:
export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.6/site-packages/5. Start the application and start backing up stuff:
fwbackups
yum install net-tools -y
sed -i "s/quiet.*/quiet net.ifnames=0 biosdevname=0\"/" /etc/default/grub2. Recreate the new grub configuration using the following command:
grub2-mkconfig -o /boot/grub2/grub.cfg3. Reboot the computer.