Fulltext results:
- ZFS Playground @blog:2009
- e disks, 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 status </code> <code> pool: demo state: ONLINE scrub: none
- How To Create a Moveable VM with VirtualBox @blog:2010
- '' is the extensions for the generated scripts. <code bash> VBOX="/usr/bin/VBoxManage" SCRIPT_EXT="command" </code> Next, there are defaults for the VMs parameters in case the user enters no value. <code bash> RAM="512" DISK_SIZE="8196" DISK_TYPE="vdi" </code> The script asks for the parameters and uses the
- OpenSolaris / VirtualBox: Mount Shared Folder @blog:2009
- the file system type ''vboxfs''. The Usage is: <code bash> mount -F vboxfs <share> <mountpoint> </code> If you want to share the filesystem ''/share'' from... sn't exist. You will have to do this only once. <code bash> pfexec mkdir /share </code> Now, mount the share. <code bash> pfexec mount -F vboxfs share /sha
- Dice Roller @blog:2009
- tp://andunix.net/pub/dice.html]]. And here's the code. You can use it under the [[http://apache.org/lic... ribution 3.0 Unported]]. ===== HTML Form ===== <code html> <form name="rolldice" method="GET"> ... true" type="text" name="r" size="4"/> </form> </code> ===== Javascript Code ===== <code javascript> function roll() { var count = parseInt(document.roll
- IPS Repository Appliance @blog:2010
- Open a terminal and check the repository path. <code bash> df -h ls -d /media/*/repo </code> {{osolrepo06.png?nolink|}} NOTE: You need to execute the foll... , "pfsh" or "pfexec" to obtain root privileges. <code bash> svccfg -s application/pkg/server setprop pk... donly=true svcadm enable application/pkg/server </code> {{osolrepo07.png?nolink|}} You can check the r
- Set PHP Variables in .htaccess Files @blog:2010
- bhoster, then you will see a message like this: <code> Fatal error: Maximum execution time of 30 seconds exceeded in ... </code> To override the default for your webspace, you ... ue to "0", which means no limit, add this line: <code> php_value max_execution_time 0 </code> I suggest to either set it to unlimited, run the long running
- Memory Usage of a Solaris Container (Zone) @blog:2010
- To see the memory usage of the running zones: <code bash> prstat -Z </code> From the [[http://docs.oracle.com/cd/E19082-01/819-2240/prstat-1m/index.html|p... ost RAM in the zone, use one of these commands: <code bash> prstat -z zone -s rss prstat -z zone -s size </code> From the [[http://docs.oracle.com/cd/E19082-01/
- Upgrade Solaris 11/OpenSolaris from Text to Graphical @blog:2010
- with appropriate permissions (''pfexec/sudo''). <code bash> echo Existing boot environments: beadm list... ive -R /mnt beadm umount $be beadm activate $be </code> Now, reboot the system to enter the new boot environment. Then enable the GDM service: <code bash> svcadm enable gdm </code> Based on the OpenSolaris [[http://hub.opensolaris.org/bin/view/Project
- Start and Stop the Apple File Server from Command Line @blog:2011
- he Apple File Server ("Personal File Sharing"): <code bash> sudo /sbin/service com.apple.AppleFileServer start </code> And likewise stop it: <code bash> sudo /sbin/service com.apple.AppleFileServer stop </code> {{tag>cli mac osx share shell sysadmin}}
- Simulating slow network connections with trickle @blog:2014
- Firefox browser to 512 KB/s with this command: <code bash> trickle -d 512 /usr/bin/firefox -no-remote -P test </code> More informations can be found on these pages: ... Ubunutuuser Wiki]] (german) === trickle -h === <code> Usage: trickle [-hvVs] [-d <rate>] [-u <rate>] [... ad the specified .so instead of the default one </code> {{tag>simulation network opensource tool speed
- Workaround for FolderSync with ownCloud 7 @blog:2014
- php: In ''${OWNCLOUD_DIR}/config/config.php'': <code> 'trusted_domains' => array ( 0 => 'www.e... mple.org', 1 => 'www.example.org:443', ), </code> {{tag>android owncloud webhosting workaround co
- Drupal: Reverse Proxy @blog:2010
- me time, I can do this using different domains. <code php> $request_type = ($_SERVER['HTTP_X_FORWARDED_... 'reverse_proxy_addresses' => array($_SERVER['REMOTE_ADDR']), ); } </code> {{tag>blogging drupal php}}
- Project Idea: WikiTable @blog:2009
- authorisation and wiki syntax in the table. The code should be small and simple so that it can easily