Search results for Create your own init.d scripts
 |
|
Post date: November 11, 2007, 05:11
Category: System
Views: 9080
Comments
|
Tutorial quote: Have a Linux executable that you would like to run as a daemon? Making your own init.d scripts can be a bit tricky, but I can help you out.
The directory /etc/init.d/ is a location on a Linux file system that contains scripts for changing init states.
For details on Linux run levels look here.
The run levels that are most important to us are 2, 3 and 5.
VERY basic sample init.d script (Replace italics respectively): |
 |
|
Post date: November 17, 2008, 11:11
Category: Optimizing
Views: 10082
Comments
|
Tutorial quote: The startup scripts located in /etc/init.d are part of the bootup sequence of every Debian-like distro. Very often Ubuntu's documentation and guides have suggested - in order to deactivate init scripts - to change the permissions of the scripts in /etc/init.d, making them non-executable. |
 |
|
Post date: October 23, 2011, 09:10
Category: Miscellaneous
Views: 21883
Comments
|
Tutorial quote: This tutorial shows how you can serve CGI scripts (Perl scripts) with nginx on CentOS 6.0. While nginx itself does not serve CGI, there are several ways to work around this. I will outline two solutions: the first is to proxy requests for CGI scripts to Thttpd, a small web server that has CGI support, while the second solution uses a CGI wrapper to serve CGI scripts. |
 |
|
Post date: October 3, 2011, 06:10
Category: Miscellaneous
Views: 5849
Comments
|
Tutorial quote: This tutorial shows how you can serve CGI scripts (Perl scripts) with nginx on Debian Squeeze/Ubuntu 11.04. While nginx itself does not serve CGI, there are several ways to work around this. I will outline three solutions: the first is to proxy requests for CGI scripts to Thttpd, a small web server that has CGI support, while the second and third solution are very similar - both use a CGI wrapper to serve CGI scripts. |
 |
|
Post date: January 5, 2007, 07:01
Category: System
Views: 4323
Comments
|
Tutorial quote: Under Debian Linux ( and most other distros) startup files are stored in /etc/init.d/ directory and symbolic linked between /etc/rcX.d/ directory exists. Debian Linux (Red Hat/ Fedora) uses System V initialization scripts to start services at boot time from /etc/rcX.d/ directory. Debian Linux comes with different utilities to remove unwanted startup files. |
 |
|
Post date: May 29, 2005, 01:05
Category: Programming
Views: 4034
Comments
|
Tutorial quote: Shell scripts are a part and parcel of almost all software applications running on UNIX, and the use simply spans from a trivial script, managing automatic database backup to bunch of scripts collaboratively doing complex operation on regular expressions.
Though it's a mere design decision to partition modules between scripts and programming language, but I personally feel that they sometimes come very handy saving lot of time and lines of code, when compared to implementing the same functionality in the programming language in context.And in fact with some exceptions, complexity of a shell script can scale to that of codes in C language. Add to this the power of all those numerous UNIX commands, and just think through, what can be achieved by shell scripts.
Here I will discuss few topics mainly relevant to intermediate shell programmers |
 |
|
Post date: April 12, 2005, 23:04
Category: System
Views: 3476
Comments
|
Tutorial quote: Identifying each stage of the boot process is invaluable in fixing boot problems and understanding the system as a whole. |
 |
|
Post date: May 1, 2005, 17:05
Category: Programming
Views: 4073
Comments
|
Tutorial quote: This article describes how Perl is used to generate Perl CGI code using the multi-platform CGIScripter application. The resulting output code automates SQL table creation commands (in this example, for a MySQL database), HTML pages and Perl code. Web security issues, data validation and image handling functionality are incorporated into the resulting Perl code. By automating the development of Perl CGI scripts, even entry-level developers can create CGI scripts that contain most of the commonly requested features in a short period of time--without manually writing any code. |
 |
|
Post date: April 13, 2005, 02:04
Category: Programming
Views: 4635
Comments
|
Tutorial quote: With the thousands of commands available for the command line user, how can you remember them all? The answer is, you don't. The real power of the computer is its ability to do the work for you. To get it to do that, we use the power of the shell to automate things. We write scripts. |
 |
|
Post date: August 30, 2006, 11:08
Category: Software
Views: 15479
Comments
|
Tutorial quote: From version 1.0.1 of Puppy there will be two software installers in Puppy:
PupGet
DotPup
PupGet allows the installation and uninstallation of the complete PuppyUnleashed series of programs
DotPup allows Puppians to create simple software installer scripts for the community |
|
|