pkg_add http://pkgsrc.joyent.com/sdc6/2012Q1/i386/All/smtools
# note this is going to shut down the VM
sm-prepare-image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../core-scaffold/core-scaffold.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-menu/core-menu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<polymer-element name="my-element"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[mergetool] | |
prompt = false | |
keepBackup = false | |
keepTemporaries = false | |
[merge] | |
tool = winmerge | |
[mergetool "winmerge"] | |
name = WinMerge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# zonecfg -z <uuid> | |
zonecfg:uuid> add attr | |
zonecfg:uuid:attr> set name=resolvers | |
zonecfg:uuid:attr> set type=string | |
zonecfg:uuid:attr> set value=8.8.8.8,8.8.4.4 | |
zonecfg:uuid:attr> end | |
zonecfg:uuid> verify | |
zonecfg:uuid> commit | |
zonecfg:uuid> exit | |
# vmadm reboot <uuid> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Create zfs.conf in /usr/local/etc/zabbix_agentd.conf.d/ | |
vi /usr/local/etc/zabbix_agentd.conf.d/zfs.conf | |
## Copy into zfs.conf | |
UserParameter=zpool.health[*],zpool list -H -o health $1 | |
## in zabbix_agentd.conf include the conf.d directory | |
vi /usr/local/etc/zabbix_agentd.conf | |
Include=/usr/local/etc/zabbix_agentd.conf.d/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Install necessary packages | |
pkgin up | |
pkgin -y in \ | |
bash \ | |
coreutils \ | |
curl \ | |
gcc47 \ | |
gcc47-runtime \ | |
gmake \ | |
icu \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[PHP] | |
;;;;;;;;;;;;;;;;;;; | |
; About php.ini ; | |
;;;;;;;;;;;;;;;;;;; | |
; PHP's initialization file, generally called php.ini, is responsible for | |
; configuring many of the aspects of PHP's behavior. | |
; PHP attempts to find and load this configuration from a number of locations. | |
; The following is a summary of its search order: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
svcadm disable mysql:percona | |
mysqld_safe --skip-grant-tables & | |
mysql -uroot | |
mysql> use mysql; | |
mysql> update user set password=PASSWORD("password") where User='root'; | |
mysql> flush privileges; | |
mysql> quit; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## download newest Version of zabbix | |
wget http://downloads.sourceforge.net/project/zabbix/ZABBIX%20Latest%20Stable/2.0.5/zabbix-2.0.5.tar.gz?r=http%3A%2F%2Fwww.zabbix.com%2Fdownload.php&ts=1364462224&use_mirror=freefr | |
## untar the package | |
tar -zxvf zabbix-2.0.5.tar.gz | |
## add user and group zabbix | |
groupadd zabbix | |
useradd -g zabbix zabbix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2013-03-19 16:24:47.261 [warning] <0.121.0>@riak_core_ring_manager:reload_ring:231 No ring file available. | |
2013-03-19 16:26:32.838 [warning] <0.883.0>@snarl_entity_write_fsm:waiting:137 Write(1) ok | |
2013-03-19 16:26:32.839 [warning] <0.883.0>@snarl_entity_write_fsm:waiting:137 Write(2) ok | |
2013-03-19 16:26:32.842 [warning] <0.883.0>@snarl_entity_write_fsm:waiting:137 Write(3) ok | |
2013-03-19 16:26:40.851 [warning] <0.955.0>@snarl_entity_write_fsm:waiting:137 Write(1) ok | |
2013-03-19 16:26:40.852 [warning] <0.955.0>@snarl_entity_write_fsm:waiting:137 Write(2) ok | |
2013-03-19 16:26:40.854 [warning] <0.955.0>@snarl_entity_write_fsm:waiting:137 Write(3) ok | |
2013-03-19 16:26:48.681 [warning] <0.1028.0>@snarl_entity_write_fsm:waiting:137 Write(1) ok | |
2013-03-19 16:26:48.682 [warning] <0.1028.0>@snarl_entity_write_fsm:waiting:137 Write(2) ok | |
2013-03-19 16:26:48.684 [warning] <0.1028.0>@snarl_entity_write_fsm:waiting:137 Write(3) ok |
NewerOlder