runnig squid at boot up


 
Thread Tools Search this Thread
Special Forums IP Networking runnig squid at boot up
# 1  
Old 02-03-2002
runnig squid at boot up

Hi
Does any body know how i can run a program at bootup?
I have squid (cache server) installed on my PC but after boot up i should
run it manually but i want it to run automaticly is there a way?
I used to do it by entering the address ina file but i've forgotten it now.
But i remember that i had difficulty runnig a command at boot up this
is more importat cuz i should run ipchains to have transparant cache.

i'm using RedHat Linux 7.2

Thanx for your help

Last edited by hessam; 02-04-2002 at 03:03 PM..
# 2  
Old 02-04-2002
What *nix you are using ?

try man chkconfig (Redhat, mdk ...)

man update-rc.d (Debian)
# 3  
Old 02-22-2002
I finally fount it out.


Here's the things I did:

in the directory /etc/rc.d/rc.local
you can add any command you want to be run when the system
reboots so i wrote:
/usr/local/squid/bin/squid


and it works
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. IP Networking

Squid vs iptables = no Squid access.log?

Hello, I have a pretty useless satellite link at home (far from any civilization), so I wanted to set up caching in order to speed things up. My Squid 2.6 runs "3128 transparent" and is set up quite well on a separate machine. I also have my dd-wrt router to move all port 80 traffic through... (0 Replies)
Discussion started by: theWojtek
0 Replies

2. Solaris

Solaris x86 installation using jumpstart does not local boot ( boot from hdd)

I am trying to install Solaris x86 using the Jumpstart server. I run the add_install_client command with appropriate options, and reboot my x86 Target box. The installation starts fine and unattended. After the installation completes and the target goes for a re-boot, it does not boot from the HDD... (9 Replies)
Discussion started by: hemalsid
9 Replies

3. Boot Loaders

Reboot and Select Proper Boot device or insert Boot media in select Boot device and press a key

Hello, I have kubuntu on my laptop and now I decided to switch to Windows 7. I made the bios settings properly (first choice is boot from cd\vd) but I see the error " reboot and select proper Boot device or insert Boot media in select Boot device and press a key " I have tried CD and... (0 Replies)
Discussion started by: rpf
0 Replies

4. UNIX for Dummies Questions & Answers

runnig script from window machine

i want to run a script from window machine the script is ksh for i in $(cat some.txt) do rm $i done exit i have it saved as a file say progremove & made it chmod 7777 how do i run this script from a window machine vie a batch file telnet -l username servername then what... (2 Replies)
Discussion started by: sjumma
2 Replies

5. Shell Programming and Scripting

runnig a perl program from a different dir..

hi, This is perl, v5.6.1 built for MSWin32-x86-multi-thread in win2000advanced server,... i have all my perl programs in d drive.. i like to run perl programs from a different drive(ex : c drive..) that is simple in unix.. but i dont know how to do that in win.. do u know how to do... (3 Replies)
Discussion started by: sekar sundaram
3 Replies

6. Shell Programming and Scripting

Runnig a Windows command from UNIX

Hi, I need to execute a Windows command from UNIX crontab ( or similar utility). We are evaluating the schedular applications that will easily solve this issue although it will be a while by the time the tool selection happens and I need something to implement this solution in the iterim. ... (1 Reply)
Discussion started by: ashpon
1 Replies

7. UNIX for Dummies Questions & Answers

Runnig Remote Shell

Please I need your help. I want to run remotely a unix shell that run a java process, from a Visual Basic Client. Thanks mac33 :) (4 Replies)
Discussion started by: mac33
4 Replies

8. Solaris

solaris boot problem boot error loading interpreter(misc/krtld)

When I installed the SOLARIS 10 OS first time, the desktop would not start up, this was because of network setup. Reinstalled worked. After a week due to some problem I had to reinstall OS, installation went fine and but when i reboot I get this error. cannot find mis/krtld boot error loading... (0 Replies)
Discussion started by: johncy_j
0 Replies

9. UNIX for Advanced & Expert Users

Cannot boot - Boot : Panic : File size out of range (EWS-UX/V unix)

Hey ! I am running EWS-UX/V (Rel 4.2) on NEC EWS/4800/330 station and I am having problems rebooting my station : I am getting the following message on display : BOOT : PANIC : File size out of range. According to user guide, this error is occuring when a file exceeding the limit and/or... (2 Replies)
Discussion started by: fredo
2 Replies

10. UNIX for Dummies Questions & Answers

HP 9000 runnig Unix

I have aquired the dutties of looking after our MRP system We have a HP 9000D running Unix With MINX as tha MRP system Our last IT System adim. had crashed the system before he left and sense then we have not been able to log on to the system at the console or remotely. tha error reads minx... (6 Replies)
Discussion started by: bstrin
6 Replies
Login or Register to Ask a Question