Go back to fronty page View most popular entries View latest additions Submit tutorials to UnixTutorials.info
UnixTutorials logo

Search results for Running scripts after a reboot for non-root users

Debian

Speeding Up Perl Scripts With SpeedyCGI/PersistentPerl On Debian Etch

Post date: September 12, 2007, 22:09 Category: Optimizing Views: 3815 Comments
Tutorial quote: This tutorial shows how to install and use SpeedyCGI (also known as PersistentPerl) on a Debian Etch system. SpeedyCGI is a way to run Perl scripts persistently, which can make them run much more quickly. It keeps the Perl interpreter running, and during subsequent runs, this interpreter is used to handle new executions instead of starting a new Perl interpreter each time.
OpenSUSE

Webmin installation and configuration on OpenSuSe

Post date: November 17, 2008, 11:11 Category: Installing Views: 4174 Comments
Tutorial quote: Webmin, developed by Jamie Cameron, acts as a comprehensive interface to the underlying applications on servers, including support for configuring applications like ftp, ssh, mail, Web, databases and more. Differing from other control panels, the core Webmin interface is intended for system administrators with root access to their servers, and includes a user-based package to enable your users (or clients) to access their own domains, email, and more, within a limited scope. Webmin supports running under SSL.
Unix+clones

CGI Programming on the World Wide Web

Post date: December 12, 2005, 17:12 Category: Programming Views: 3022 Comments
Tutorial quote: The Common Gateway Interface (CGI) emerged as the first way to present dynamically generated information on the World Wide Web. CGI allows the computer to generate Web pages instantly at the user's request rather than being written by someone in advance. And at the time of this writing, it remains the only stable and well-understood method for creating such pages. Java presents problems that have not yet been solved. Other products are currently just in the announcement stage.

CGI is fun. You can get a kick out of writing scripts that perform tricks for you, and the users enjoy the spice the scripts add to your Web pages. But CGI has a serious side too: It lets the Internet offer the kind of interactive, user-driven applications that modern computer users have come to expect. CGI opens up an entire class of modern applications to the Web.
Unix+clones

Create your own init.d scripts

Post date: November 11, 2007, 05:11 Category: System Views: 7633 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):
Unix+clones

Resetting a forgotten MySQL root password

Post date: October 2, 2006, 09:10 Category: Security Views: 4635 Comments
Tutorial quote: Resetting the root password of a MySQL database is trivial if you know the current password if you don't it is a little tricker. Thankfully it isn't too difficult to fix, and here we'll show one possible way of doing so.
Linux

Configuring sudo and adding users to Wheel group

Post date: December 5, 2008, 12:12 Category: Security Views: 3486 Comments
Tutorial quote: f a server needs to be administered by a number of people it is normally not a good idea for them all to use the root account. This is because it becomes difficult to determine exactly who did what, when and where if everyone logs in with the same credentials. The sudo utility was designed to overcome this difficulty.
Gentoo

Enterprise Volume Management System Mini How-To

Post date: April 13, 2005, 20:04 Category: System Views: 3690 Comments
Tutorial quote: Here is a rough write-up on how I installed Gentoo 1.4_rc1 on EVMS, with the exception of the root partition. If you choose so, see the EVMS Howto for instructions on how to mount your root file system on an EVMS volume. I felt the hassle of dealing with a EVMS (or LVM, for that matter) root outweighs its advantages.

This is a very basic setup I used for my laptop. I only needed it so I don't have to worry about getting the partition sizes right from the beginning and to be able to adjust them with ease in the future. I've been using LVM with success but I couldn't find a way to resize the volume group itself. This, the fact that afaik there is no support for LVM in kernel 2.5.x and a new laptop needing a fresh installation made me try EVMS.
Unix+clones

Writing Shell Scripts

Post date: April 13, 2005, 02:04 Category: Programming Views: 3781 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.
Gentoo

Using extended attributes to better protect files

Post date: August 18, 2005, 18:08 Category: System Views: 11628 Comments
Tutorial quote: How many times have you accidentally overwritten a configuration file during an etc-update that you had customized? I had been aware of extended attributes for a long while now, but I had never taken the time to actually use them. The extended attribute that I am mostly interested with is the immutable attribute. This attribute, which can only be set by root, prevents a file from be changed or deleted, even by root.
Linux

Howto install the base Linux system onto a USB thumbdrive with the root partition encrypted

Post date: April 20, 2006, 12:04 Category: System Views: 2810 Comments
Tutorial quote: This howto will explain how to install a very basesystem onto a USB thumbdrive with the root partition encrypted. It includes support for cryptsetup-luks, and udev.
Web-based applications and online marketing solutions - LumoLink