resolving jquery conflict with other javascript libraries
It is good to know that jquery can work with other js libraries…
Just need to know how to resolve the conflict
It is good to know that jquery can work with other js libraries…
Just need to know how to resolve the conflict
having the wrong date and time in the system can be disastrous as many applications will be using the system date and time. It is therefore very important to have the right date and time.
In linux,
yum install ntp chkconfig ntp on ntpdate pool.ntp.org service ntpd start
You can add the ntpdate command to cron to automate the syncing process. Another easy way is to do it in the GUI, if you have it.
One advantage of using command line is that you can start and stop the VM without logging into the web console. I am using vmware server 2.0. I believe it should work the same for future versions.
To start and stop certain instance, say ares,
vmrun -T server -h 'https://10.2.115.21:8333/sdk' -u root -p 'yourpass' start "[standard] ares/ares.vmx" vmrun -T server -h 'https://10.2.115.21:8333/sdk' -u root -p 'yourpass' stop "[standard] ares/ares.vmx"
you can list all vm currently running under vmware using
vmrun -T server -h 'https://10.2.115.21:8333/sdk' -u root -p 'yourpass' list Total running VMs: 5 [standard] medusa/medusa.vmx [standard] ares/ares.vmx [standard] hera/hera.vmx [standard] hermes/hermes.vmx [standard] zeus/zeus.vmx
The vmrun command can do much more. see “vmrun –help”
unlike normal bash scripts, you can’t really use the back ticks to execute a certain command like so
DATE=`date +%F`
In crontab, you have to use the $(), eg
$(date +\%F)
fsck on lvm can be a bit tricky. Like a the normal process, the partition needs to be umounted and we can boot up using the rescue cd or in emergency mode. Normally, you
fsck /dev/sda1
if the partition is lvm, you need to activate the lvm first like so
vgchange --ignorelockingfailure -ay lvscan --ignorelockingfailure (this command should now work) fsck /dev/volumegroup/lvname
if the logical volume contains a partition, you need to kpartx the lv.