Fulltext results:
- Formatting Syntax @wiki
- ine** without a paragraph, you can use two backslashes followed by a whitespace or the end of line. T... t with some linebreaks\\ Note that the two backslashes are only recognized at the end of a line\\ or f... with some linebreaks\\ Note that the two backslashes are only recognized at the end of a line\\ or... by\\ a whitespace \\this happens without it. You should use forced newlines only if really needed. =
- OpenSolaris / VirtualBox: Mount Shared Folder @blog:2009
- 11 12:16~~ ====== OpenSolaris / VirtualBox: Mount Shared Folder ====== To mount a shared folder in a OpenSolaris guest in VirtualBox, you have to install... le system type ''vboxfs''. The Usage is: <code bash> mount -F vboxfs <share> <mountpoint> </code> If you want to share the filesystem ''/share'' from th
- Travian Map Download Script @z:travian
- to the database. ===== config.inc ===== <code bash> # # database DB_USER="travian" # set this to you... MAP_DIR=${HOME}/opt/travian DUMP_DIR=/srv/glassfish/domains/domain1/docroot/sql # # executables MYSQL... output-document=" #WGET="/usr/bin/curl --silent --show-error --output " </code> ===== cron.hourly ===== <code bash> #! /bin/sh echo `date +'%Y-%m-%d %H:%M'`: $0 f
- Cleanup Packages @info:linux:debian
- not purged) packages with this command: <code bash> dpkg --get-selections | grep 'deinstall$' </code... ectly to aptitude to purge the packages: <code bash> aptitude purge $(dpkg --get-selections | grep 'd... First, you have to install ''deborpan'': <code bash> aptitude install deborphan </code> Then you can get the list of orphans: <code bash> deborphan </code> If you want, you can even mor
- VBoxManage (The VirtualBox CLI) @info:virtualbox
- s|extpacks| groups showvminfo <uuid>|<name> [--details] ... [--machinereadable] showvminfo <uuid>|<name> --log <idx> ... <1-N> on|off] [--natdnshostresolver<1-N> on|off] ... sbehci on|off] [--snapshotfolder default|<path>]
- ZFS Playground @blog:2009
- 6~~ ====== ZFS Playground ====== This small demo shows the basic ZFS operations. You will need a Sola... , but they are only files for this demo. <code bash> cd /var/tmp mkfile 200m c0d0 c0d1 c0d2 c1d0 c1d1 c1d2 </code> ===== Create Pool ===== <code bash> pfexec zpool create demo /var/tmp/c0d0 zpool st... disk to the existing, creating a mirror. <code bash> pfexec zpool attach demo /var/tmp/c0d0 /var/tmp/
- Shadows @info:webdesign:css
- ====== Shadows ====== ===== Box Shadow ===== ==== Normal Shadow ==== Only the shadow: box-shadow: 1px 4px 8px #888888; <html><div style="box-shadow: 1px 4px
- root login with bash @info:script
- ====== root login with bash ====== On our systems, the ''root'' account is set to be a role, so you c... ot'' role. Also, the ''root'' user has the bourne shell (''/bin/sh''), but working with ''/bin/bash'' is much easier. Using this command, you can directly log in as ''r
- localeadm @info:solaris
- it (insert your path in the first line. <code bash> ISOIMG="/share/iso/sol-10-u8-ga-sparc-dvd.iso" LOFIDEV=$(lofiadm -a ${ISOIMG}) echo LOFIDEV=${LOFIDE... V} /mnt </code> Note: If you're using the bourne shell (instead of bash or ksh), then use backticks in the second line: ''LOFIDEV=`lofiadm -a ${ISOIMG}`'
- Debug Server Certificate from Client @info:cryptography:openssl
- Credit for this example goes to "[[http://langui.sh/2009/03/14/checking-a-remote-certificate-chain-wi... ficate Chain With OpenSSL]]" from [[http://langui.sh/|langui.sh]]. openssl s_client -showcerts -connect www.andunix.net:443 Informations about the used arguments
- How To Create a Moveable VM with VirtualBox @blog:2010
- he extensions for the generated scripts. <code bash> VBOX="/usr/bin/VBoxManage" SCRIPT_EXT="command" ... meters in case the user enters no value. <code bash> RAM="512" DISK_SIZE="8196" DISK_TYPE="vdi" </cod... example, the question for the disk size: <code bash> echo -n "Enter disk size in MiB [${DISK_SIZE}]: ... gured according to the parameters above. <code bash> mkdir -p "${VM_DIR}" ${VBOX} -q createvm --nam
- Compare directories @info:script
- the directories, generate a digest file: <code bash> find DIR -type f -exec shasum {} + | LC_ALL=C sort -d -k 2 > shasums.txt </code> It's important to use ''LC_ALL=C'' and the op... erent machines. After that, you can diff the two shasums.txt: <code bash> diff shasums1.txt shasums2
- SSH @info:sysadmin
- ====== SSH ====== ===== SSH with Public Key Authentication only ===== === /etc/ssh/sshd_config === Make sure that your SSH config file (''sshd_config'') contains these settings: <cod
- IPS Repository Appliance @blog:2010
- ignore it. {{osolrepo04.png?nolink|}} After finishing the Wizard, open the VM's Storage config and a... = Now boot the VM and wait until OpenSolaris finished booting. Open a terminal and check the repository path. <code bash> df -h ls -d /media/*/repo </code> {{osolrepo06.... ds with adequate privileges. Use "su", "sudo", "pfsh" or "pfexec" to obtain root privileges. <code ba
- Virtual Network Visualization @info:solaris
- d a perl script which takes the output of ''dladm show-link'' and ''dladm show-linkprop -o link,value -p zone'' and generates a dot-File, which then can b... de perl> #! /usr/bin/perl $STYLE{'etherstub'} = "shape=box"; $STYLE{'phys'} = "color=black"; $STYLE{'... "; print "digraph vnet {\n"; open INPUT, "dladm show-link|"; # skip first line <INPUT>; while (defin