Unix Web Hosting for Developers

Unix - Unix Like Operating Systems

Here are some typical environment variables as set

Filed under: Unix Web Hosting — webmaster @ 11:23 am

LD_LIBRARY_PATH environment variable, you can set it like so: ……………………………………………………………………………………….. 55 * * * * * dbadmin LD_LIBRARY_PATH=/usr/local/dblib ;/usr/local/bin/db-backup.sh ……………………………………………………………………………………….. /etc/csh.* The /etc/csh.* files contain systemwide defaults for csh and tcsh. When a user logs in with either of these shells, the shell executes any commands it finds in /etc/csh.login. Similarly, when the user logs out, /etc/csh.logout is executed. You can place general shell configuration information in /etc/csh.cshrc. /etc/dhclient.conf Many operating systems give you very basic DHCP client configuration with no opportunity to fine-tune or customize it; you either use it or you don’t. Any operating system that uses the Internet Software Consortium’s DHCP client, including all of the BSDs, lets you fine-tune your DHCP client setup. In most cases, an empty DHCP client file (/etc/dhclient.conf) will give you full DHCP functionality, but won’t work correctly in all situations. Perhaps you’re connecting to a DHCP server across the country, your local LAN is having problems, or you have multiple DHCP servers. You may be able to solve these problems by tweaking your DHCP configuration. A DHCP lease contains your network configuration information, such as the IP address you get, the default route, and the nameservers available for your use. Without a valid, correct lease, you won’t have Internet connectivity. Entries in dhclient.conf resemble C code and generally include a variable declaration, followed by a value. Each line ends in a semicolon. Prolonging Lease Requests When dhclient starts, it requests the last IP address it used (leased) and, by default, spends ten seconds trying to get that address. The reboot time is the length of time the client will spend trying to get the old address re-issued. To change this waiting time, use the reboot statement. For example, I’ve been on large corporate networks where the DHCP server was in another state; by adjusting the reboot time upwards, I could easily get my previous network address. Just specify the reboot time in dhclient.conf, with a trailing semicolon in standard C code style. ……………………………………………………………………………………….. reboot 20; ……………………………………………………………………………………….. If the client cannot get its previous IP address in the reboot time, it will request a new one instead. 191

Note: If you are looking for good and high quality web space to host and run your application check Lunarwebhost Unix Web Hosting services

No Comments

No comments yet.

RSS feed for comments on this post. TrackBack URI

Sorry, the comment form is closed at this time.

Powered by Unix Web Hosting