Blog Test
To change or update the information for your New York State Corporation, go to the NYS Department of State Website at http://www.dos.state.ny.us and enter 1556 in the search box. This should lead you to select a pdf formatted form #1556 (Certificate of Change Form).
Fill out the form accordingly and send in the form with a check for $30 payable to New York State Department of State.
Disclaimer: This information could change at any time, the information on this page should always be verified with the New York State Department of State Customer Service team.
- Solaris 10 - Update 1 - 1/06
- Solaris 10 - Update 2 - 6/06
- Solaris 10 - Update 3 - 11/06
- Solaris 10 - Update 4 - 08/07
- Solaris 10 - Update 5 - 05/08
- Solaris 10 - Update 6 - 10/08
- Solaris 10 - Update 7 - 05/09
- Solaris 10 - Update 8 - 10/09
Type `cat /etc/release` to figure out which OS release the server is currently running.
Remember, applying the latest patch cluster set to Solaris does not mean Solaris now has new features included with the latest OS release.
For example, if you want the newest features in Solaris 10 Update 8, you will need to install Solaris 10 Update 8 not install the latest patch cluster set on your currently running Solaris 10 Update 3 server.
Time Machine Backups internal is setup for every 3600 seconds/60 minutes/1 hour. To verify, change and confirm your Time Machine Backup Interval, here is what you need to do.
Check the current:
sudo defaults read /System/Library/LaunchDaemons/com.apple.backupd-auto StartIntervalChange to new interval every 5 hours:
sudo defaults write /System/Library/LaunchDaemons/com.apple.backupd-auto StartInterval -int 18000Confirm:
sudo defaults read /System/Library/LaunchDaemons/com.apple.backupd-auto StartInterval
find . -name *.zip -exec mv {} /tmp/. \;
Referenced: http://support.apple.com/kb/HT3789
---Disable transmitting Bonjour service advertisements. You can use this advanced article if you are a network administrator who needs to disable Bonjour advertising service without disabling Bonjour queries and DNS.
Products Affected
Bonjour, Mac OS X 10.6, Bonjour
Important: Follow these steps carefully. A malformed or problematic mDNSResponder.plist file may prevent your Mac from starting up. As a precaution, perform a full backup of your system with Time Machine.
- Make a back up copy of the mDNSResponder.plist file as a precaution.
- Open the mDNSResponder.plist file in Terminal using your preferred text editor. Here is a sample command:
sudo nano "/System/Library/LaunchDaemons/com.apple.mDNSResponder.plist" - Add "<string>-NoMulticastAdvertisements</string>" to the array in the "ProgramArguments" section.
In other words:
<key>ProgramArguments</key> - <array>
- <string>/usr/sbin/mDNSResponder</string>
- <string>-launchd</string>
- </array>
becomes...
<key>ProgramArguments</key>- <array>
- <string>/usr/sbin/mDNSResponder</string>
- <string>-launchd</string>
- <string>-NoMulticastAdvertisements</string>
- </array>
- Save the file.
Important: If you edited the file using emacs, you must remove the emacs backup file (the file with a tilde at the end of the name, "/System/Library/LaunchDaemons/com.apple.mDNSResponder.plist~") or your Mac will not start up. - Restart your Mac.
or
launchctl unload -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist
launchctl load -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist
Additional Information
Prior to Mac OS X v10.6, the only way for a network administrator to disable Bonjour advertising of services was to completely disable the mDNSResponder process, which also disabled Bonjour discovery of services (such as discovering network printers).
Typical database environments transfer data in 2KB to 32KB sizes which always require multiple 1,500 byte packets per database I/O. Jumbo frames increase the device MTU size to a larger value (typically 9,000 bytes) allowing I/O requests to more frequently fit in one physical packet and reducing the number of frames required for larger I/O requests.
open /Applications/VMware\ Fusion.app/Contents/MacOS/vmware
#!/bin/bash
if ping -c 1 hostfoo > /dev/null
then
echo "ping success"
else
echo "could not ping hostfoo. exiting..."
fi
Automating SSH public key pushes to servers.
The code below uses Expect and SSH to create & permission the .ssh directory. Followed by SSH copying the local temp file as the authorized_keys file to the .ssh subdir on the target server .
Be sure to set StrictHostKeyChecking=no in the SSH client side config.
---
#!/usr/bin/perl use strict; use warnings; use English; use Expect; use Net::Ping;
my $username = "USER";
my $password = "PASS";
my $homedir = "\/export\/home\/$username";
my $ssh_dir = "$homedir\/.ssh";
my $ssh_pub = "
ssh-dss BLAH BLAH use your own public key file entry here.
";
if ( ! $ARGV[0] ) {
print "$0 \n";
exit
}
my $host = "$ARGV[0]";
my $p = Net::Ping->new();
if ( $p->ping($host) ) {
print "Deploying public key to $host \n";
create_ssh_dir();
chmod_ssh_dir();
push_ssh_key();
} else {
print "Seems $host is not reachable \n";
}
$p->close();
sub create_ssh_dir {
my $ssh_cmd = "/usr/bin/ssh $username\@$host 'mkdir $ssh_dir'";
my $timeout = '5';
my $exp = Expect->spawn($ssh_cmd) or die "Cannot spawn ssh command \n";
$exp->expect($timeout, ["Password:"]);
$exp->send("$password\n");
$exp->soft_close();
}
sub chmod_ssh_dir {
my $ssh_cmd = "/usr/bin/ssh $username\@$host 'chmod 755 $ssh_dir'";
my $timeout = '5';
my $exp = Expect->spawn($ssh_cmd) or die "Cannot spawn ssh command \n";
$exp->expect($timeout, ["Password:"]);
$exp->send("$password\n");
$exp->soft_close();
}
sub push_ssh_key {
my $tmp_file = "/tmp/authorized_keys.$$";
chomp $ssh_pub;
open ( AUTHKEY, ">$tmp_file") || die ("Unable to create $tmp_file\n");
print AUTHKEY "$ssh_pub" . "\n";
close ( AUTHKEY );
my $scp_cmd = "/usr/bin/scp $tmp_file $username\@$host:$ssh_dir/authorized_keys";
my $timeout = '5';
my $exp = Expect->spawn($scp_cmd) or die "Cannot spawn scp command \n";
$exp->expect($timeout, ["Password:"]);
$exp->send("$password\n");
$exp->soft_close();
unlink("$tmp_file");
}
Recent Comments