Spen solaris packet management is like a linux apt. The command to update packeges:
1 | pkg image-update |
Install a simple tftp Server under Debian 5 codename Lenny:
1 | aptitude install atftpd |
aptitude install atftpd
Should the server be started by inetd?
On the question answer with NO, it should run as a daemon and not as inetd service:
Choose a base directory for your data.
Test tftp-server:
1 | tftp 192.168.10.2 |
tftp 192.168.10.2
Some funny comments from different codes found around the net:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | /* * OK; before you read the following code know what I am trying to do. * I needed to get the list of child catagories from the root node so that * the root node didn't appear in the selection box. But for some stupid * fucking reason the stupid fucking DBA wont let me access the items using * indices and I instead have to use their stupid fucking Iterator * implementation. So there. */ $firstList = $this->getRootNode()->getChildren(); foreach ($firstList as $node) { $nodes = $node->getChildren(); break; // wtf? } |
/* * OK; before you read the following code know what I am trying to do. * I needed to get the list of child catagories from the root node so that * the root node didn't appear in the selection box. But for some stupid * fucking reason the stupid fucking DBA wont let me access the items using * indices and I instead have to use their stupid fucking Iterator * implementation. So there. */ $firstList = $this->getRootNode()->getChildren(); foreach ($firstList as $node) { $nodes = $node->getChildren(); break; // wtf? }
1 | // if i ever see this again i'm going to start bringing guns to work |
// if i ever see this again i'm going to start bringing guns to work