ln -s /etc/init.d/<filename> /etc/rc3.d/S<XX><filename>
don’t forget to set the correct permissions on your script, i like 4755 for these types of scripts
ln -s /etc/init.d/<filename> /etc/rc3.d/S<XX><filename>
don’t forget to set the correct permissions on your script, i like 4755 for these types of scripts
zfs destroy tank/volume@snapshot_name
zfs snapshot tank/iscsivol@snapshot_name
zfs send -i tank/iscsivol@snap1 tank/iscsivol@snap2 > /iserpool/iscsivol_backup
zfs send tank/dana@snap1 > /iserpoool/iscsivolume_backup
zfs list -r -t snapshot -o name,creation tank/
zfs list -t snapshot
A .jar file is simply a .zip with a funky extension. Rename the .jar to .zip and unzip the file.
CD into the META-INF dir and delete everything EXCEPT the manifest file.
Edit the Manifest file and remove all the SHA hashes (probably not necessary)
Once this has been done, rezip the file
zip -r yourjarfilename.jar *
Now we need to sign the jar. (Make sure you have the latest JDK installed)
To do this we create a key:
/usr/java/jdk1.7.0_21/bin/keytool -genkey -alias xenvncviewer -validity 365
Follow the bouncing ball filling in all the details.
Then sign your JAR file with the following:
/usr/java/jdk1.7.0_21/bin/jarsigner xenvncviewer.jar xenvncviewer
That is it!
I got caught out trying to update the grub menu in omnios, i foolishly tried to update menu.lst located in /boot/grub
In omnios, you need to edit the menu.lst file located in /rpool/boot/grub/
for netperf say
pkg set-publisher -g http://pkg.cs.umd.edu/ cs.umd.edu pkg install network/netperf
zfs get all tank
Recent Comments