How do I script remote commands on other Windows computers from a Windows computer?
E.g., on *nix-*nix networks, I can do ssh wu@otherbox foo
, and provided the keys are set up correctly, foo
runs and the ssh client returns the return code.
How do I script remote commands on other Windows computers from a Windows computer?
E.g., on *nix-*nix networks, I can do ssh wu@otherbox foo
, and provided the keys are set up correctly, foo
runs and the ssh client returns the return code.
I am attempting to set up a LAN's domain-name server. My router has a given domain name from the ISP- something like foobar21.verizon.com.
I would like to assign my local computers names such as, gizmo, gadget, wizbob, etc.
In my bind(9) configuration file, I have this comment from the prefab file:
# This is the zone definition. replace example.com with your domain name
zone "local-network" IN {
type master;
file "/etc/bind/zones/local-network";
};
But, I don't really have a domain name! How do I resolve this?
Problem:
Apache2 refuses to run my CGI scripts, telling me it cannot find the file.
Sample log:
[Wed Jul 14 09:22:19 2010] [error] [client 192.168.111.1] (2)No such file or directory: exec of '/home/pnathan/public_html/ajax.pl' failed
[Wed Jul 14 09:22:19 2010] [error] [client 192.168.111.1] Premature end of script headers: ajax.pl
Points:
ajax.pl is chmod 755. The directory tree it is in is chmod 755. I have another script in the same directory that runs.
LS of ajax.pl:
-rwxr-xr-x 1 pnathan pnathan 534 2010-07-14 09:12 ajax.pl
My Apache2 config file has this block in it:
<Directory /home/pnathan/public_html>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
Options +ExecCGI
AddHandler cgi-script .pl .py
</Directory>
I have no idea what's going on.
I would like to have my OSX 10.6 (non-server) Mac serve domain names out to my small network(on the order of 5-10 computers).
There's a few things I need to know to do this:
Use the supplied named
software or find another one(with possibly a GUI and shell to simplify it). The disadvantage of named
is that it's fairly complex. I'm comfortable dinking around in Linux, but OSX has some unique configuration aspects that can bite one in the butt.
The Friendly Manual for domain name configurations (the FM part of RTFM).
How I avoid trying to propagate myself out to the internet, when I simply want to do a local network configuration.
I'm trying to get an X server going on a headless box and I'm using Xvfb.
Invocation:
Xvfb -fbdir . &
Result
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
Could not init font path element unix/:7100, removing from list!
Message when quitting:
FreeFontPath: FPE "built-ins" refcount is 2, should be 1; fixing.
Core Problem:
Attempting to run the headless Java test(I have another program that I'm actually trying to run, but this sample code reproduces the error) at http://www.j2ee.me/developer/technicalArticles/J2SE/Desktop/headless/ gets me this error:
(.:31027): Gtk-WARNING **: cannot open display: