CentOS 5 :: Make And Run A Script

Nov 5, 2009

I have installed CentOS 5.4 on my computer.

I want to run a script before open a Root or User session (I want this script start an appli witout logon as root or any user)

I have in Root a directory (rptr with this files: rptr rptr.cfg and rptr.log)

Usually I open my session as root start the terminal and write this :

cd rptr
nohup ./rptr ./rptr.cfg > rptr.log &

I need to get a script to open this sequence at startup of CentOS but without open any session

View 2 Replies


ADVERTISEMENT

CentOS 5 :: Make A Folder Downloadable From Centos Server?

Aug 5, 2011

Im running cent os 5.5 64 bit. I simply want to type in a url (In my browser) on my windows desktop, that downloads a zipped folder from my cent os server.

View 2 Replies View Related

CentOS 5 Server :: How To Make Awstats On Centos 5.5

Nov 19, 2010

Because I had some difficulties to make awstats running (I'm not an expert!), I would share my experience with a MINI STEP BY STEP GUIDE. I would like also to discuss some details with experts thus at the end of the guide ,I'll make some questions to them:

I have installed a new server Centos 5.5 32 bit and configured 3 virtual hosts; at the end of /etc/httpd/conf/http.conf I have:

-------http.conf virtual host--------
ServerName 127.0.0.1
NameVirtualHost *:80
<VirtualHost *:80>

[code]....

View 2 Replies View Related

CentOS 5 Server :: How To Make CentOS 5.6 Run Jsp

Sep 11, 2011

I have CentOS 5.6 on a VPS and naturally have root access.But I tried everything to make JSP run on it, I installed (I think it did) Tomcat, and nothing happens and I am at a lost.

View 2 Replies View Related

CentOS 5 :: How To Make The Tar.bz2

Mar 28, 2009

I want to have my server make every night at 3.00 AM backups of /root and /home.I want to use for this .tar.bz2. Also, I want to have the output of the backup.tar.bz2 into /media/400gb/backup What do I have to fill in my crontab to make this work?

I figured:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[server] # crontab -e
0 3 * * * tar -cjf backup.tar.bz2 /home /root
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

But of course, it wont get into my /media/400gb/backup folder.

View 2 Replies View Related

CentOS 5 :: Make A /var Partition Without Reinstalling?

Mar 3, 2009

i installed CentOS 5.2 with two partition

ext3 / 14GB
swap 2GB

now is it possible 2 make a /var partition without reinstalling?

View 1 Replies View Related

CentOS 5 :: Make Autostart When OS Start

May 27, 2009

usually i run the file with

1. open the terminal (log in as root)

2. then just write sh Start-ServiceEngine from the folder it self.

i try to make auto start with this way :

1. create file in /etc/init.d/ name blah

[blah]
#! /bin/sh
sh /root/service-engine/Start-ServiceEngine
exit
[/blah]

2. changing the mod : chmod 755 /etc/init.d/blah but when i restart the centOs it seem run but with error on my program.

View 1 Replies View Related

CentOS 5 :: How To Make 5 A Virtual SAN (storage)

Jan 5, 2010

i want to make my centos5 a virtual SAN (storage).

View 1 Replies View Related

CentOS 5 :: Can't Get Java On Firefox / Make It Possible?

Mar 16, 2010

I need to get Java working on Firefox. I read some instructions that had one create a link in .mozilla/plugins, to a java library, so I did. When I load a website with Java on it, I still get the message about needed to install a plugin. Not sure what is up. I wouldn't care so much, but I have some equipment that has a Java web interface that I need to configure. If I can't get Java working on Firefox, then that is a problem. I've put the link I created in the plugins dir below.

I'm running Centos 5.3. Here is the uname output code....

View 1 Replies View Related

CentOS 5 :: Use Heartbeat For Make Xen HA Like Vmotion?

Oct 24, 2010

I want to use heartbeat for make xen HA like vmotion but now I don't know, how can I do . I'm a newbie for linux. everyone please suggest me ~ may be I shold to do ha with httpd for example. How do I make it ?

View 2 Replies View Related

CentOS 5 :: Make An Update-script For Yum?

May 18, 2011

How do i make a good update-script for Yum? Because when i want to update my web-server on a daily basis. There have to be an exception in the script for MySQL and PHP. Instead of a automatic update for PHP and MySQL, do i want receive a notice by e-mail for the ROOT to update manual.

[Code]...

View 2 Replies View Related

CentOS 5 :: Ftp Script To Make A Backup?

Jul 9, 2011

I am trying to create a script which will backup all my data to a remote ftp serverI need to tar all folders inside /data separately /data/as - /data/as/001 - /data/as/002 - /data/as/003 /data/as/004 - etc etcfor dir in */; do dir=`echo $dir | tr -d '/'`; echo $dir; tar czf $dir.tar.gz $dir; done

View 1 Replies View Related

General :: Make Install To Rpm For Centos / Rhel?

Feb 10, 2011

I am looking for a tool that can automatically create a rpm package after compiling from source, replacing "make install" Ubuntu and Debian use checkinstall for that.

What is the equivalent for centos?

View 1 Replies View Related

General :: Make Windows The Default OS Instead Of Centos 5.5?

Jul 6, 2011

I have a dual boot PC, installed Win XP first, then Centos 5.5 While installing Centos, I set Centos as default. So at boot up time, it does give a choice of selecting from the two if pressed any key, otherwise boots Centos. Now I wish to set it in such a way that Windows is the default OS to boot.

My grub.conf file:--

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition.

[code].....

View 14 Replies View Related

Software :: RPM Source 4.3.3 Make Failed In CentOS

Oct 29, 2010

I'm using CentOS 5.5 and trying to compile RPM 4.3.3, this is required for our target board specific needs. When I did compile RPM 4.3.3's source I got the following error. How to rectify this one?

error: selinux/selinux.h: No Such File or directory

What I have to install for selinux.h?

View 2 Replies View Related

CentOS 5 :: Make Xterm The Default Terminal?

Mar 20, 2009

I just installed CentOS 5.2, and would like for xterm to be my default terminal instead of the gnome-terminal. I was able to do this on a RHEL4 system and Fedora 9, but I can't figure out how to do it in CentOS.

Here's the output of uname:

Linux 2.6.18-92.1.22.el5 #1 SMP Tue Dec 16 11:57:43 EST 2008 x86_64 x86_64 x86_64 GNU/Linux

View 2 Replies View Related

CentOS 5 :: Make VLC Save Brightness Setting?

Apr 25, 2009

Totem didn't play .avi movies by default after my new CentOS 5.3 install. In my effort to find a way to fix it I learned in another forum that installing VLC allows almost all video formats to be played. So I added RPMForge to my repository group then I found and installed VLC with no problem.

Now that VLC is installed and I've had a chance to use it, I've learned that it fails to save my brightness setting between launches. This is very frustrating because the default brightness is always too dark, which means I have to go to the controls and reset it every time I launch the software. Does anyone here know how I can save my brightness setting between launches?

View 1 Replies View Related

CentOS 5 :: Make Firefox Add-ons Universally And Not Just On A Particular User

May 11, 2009

How to make firefox add-ons universally and not just on a particular user

I have install firefox add-ons no-script on root, but when I login as normal user the no-script add-ons is not installed.

Do anyone know how to make firefox add-ons universal?

View 2 Replies View Related

CentOS 5 :: Virtual Box Don't Make Kernel Modules / Fix It?

May 28, 2009

I keep getting things like code...

but i already do
yum groupinstall "Development Tools"
yum install kernel-devel
commands.

I just reinstall my centos, and in the previous installation I used the virtual box without problems. that is giving wrong this time?
(i had tried the .run installer and the rpm installer but all lead the same.)

View 5 Replies View Related

CentOS 5 :: Unable To Make Full Backup?

Aug 23, 2009

I'm trying to add a scheduled full backup to the crontab file, but the full backup never completes; it always stops somewhre in the file system. I guess is b/c the os is updating those files or has them open. I've tried to use the --exclude options but still it always hangs somewhere else.... this is what I'm usingtar -zcvpf /mnt/storage/backup/fullbackup1.tar.gz --exclude=/mnt --exclude=/sys --exclude=/proc --exclude=/lost+found --exclude=/net --exclude=/srv / > /mnt/storage/backup/fullbackup.log

View 1 Replies View Related

CentOS 5 Server :: Make A Custom Ks.cfg DVD For 5 Install

Jan 15, 2010

I need to make a custom ks.cfg DVD for my centOS 5 install. I figured I would download the 5.4.iso. My question is will packages from previous version of centOS 5.0-5-3 work with my 5.4 centOS image?

View 3 Replies View Related

CentOS 5 :: Make PC Speaker/Beep Work?

Jan 17, 2010

My server is headless, so I'd like to make it beep when it finishes booting. Some posts in the forum seem to indicate this is the default setting, but my box has no sound when login prompt appears. The speaker does work since it beeps once at the start of the booting process (probably BIOS' doing). "lsmod | grep pcspkr" shows "pcspkr 7105 0", lspci shows nothing related to speaker.

Also I'd like to know how I can test the speaker from command line (remote ssh terminal), will echo -e "007" work?

View 8 Replies View Related

CentOS 5 :: Unable To Make Bootable DVD - Iso Image

Apr 11, 2010

I downloaded the iso image of Centos 5.4 from the website and burned it on the dvd....but its not making it bootable...What am i doing wrong?

View 3 Replies View Related

CentOS 5 :: Make Daemons Dump Core?

Oct 22, 2010

I modified the following files according to all I found after googling the net:

/etc/security/limits.conf
* soft core unlimited
/etc/profile
ulimit -c unlimited[code]....

I don't get a core file when I kill -11 <pid_of_sleep>

System is centos 5.3

View 3 Replies View Related

General :: Make Default Gateway Permanent In CentOS?

Aug 9, 2011

I have a CentOS running. It is important to have my CentOS available when I am remotely connected to a VPN router. I tried to add a default gateway to the VPN router, but after reboot it goes away. How can i put this as permanent?

ip route add 192.168.2.3 via 10.0.0.1 dev eth0

View 2 Replies View Related

Fedora :: Make 'yum Update' On CentOS Recurring And Automatic?

Dec 10, 2010

I run a few dozen dedicated web servers all running CentOS 5.5. A long time ago when one server was apparently compromised, I was urgently advised to sign in to the server and run "yum update" at least once a week to ensure that everything which I had installed using "yum", would get updated with any recently available updates, including security fixes, and that one reason I might have been hacked before was because I hadn't been doing that.

So, I'm still not sure if that would have prevented the original break-in, or how much this has reduced my chances of being hacked, but I've been faithfully signing in to each server every week for the past few months and running "yum udpate". Most times, this results in a lot of patches being downloaded and applied, so it's clear the machines are not doing it automatically. I figure it's about time to learn how to make the machines do this on their own. Is there a standard way to make "yum update" run automatically, every day, or every week? Yes, I'm sure there are many ways to do it, but is there a single way used by the majority of webmasters of CentOS sites who have automatic updates set up? Googling a bit for "make yum updates automatic" turned up some threads like:

[code]...

in which people describe writing their own custom scripts to do yum update automatically. This seems odd. It seems like the kind of thing that there would be a standard way to turn on. Also, is there a reason that virtually every newly provisioned dedicated server does not have "yum update" set up to recur automatically? If it's true that people break into websites using exploits that have been found in older versions of webservers and other software, and that sometimes these breakins would have been prevented by the newest patches, wouldn't it reduce the number of websites being compromised if the OS had yum updates turned on automatically by default?

View 9 Replies View Related

General :: CentOS 5 Black Screen When Make Reboot?

Oct 18, 2010

I'm writing from the IBM Thinkpad A30 with Linux CentOS! After installed CentOS I've see a message when the sistem start....and this message said: ACPI: Could not use ECDT. (think is a BIOS error....but this is what I've read with a Google search.....). After the first start I've make the update (suggested by the OS) and, after make the reboot....same problem. I see a black screen and the power light of the HD seems run....but don'a appear any sort of screen immages/text.

View 2 Replies View Related

Server :: CentOS 5 Make Qmailadmin Work With Lighttpd?

Aug 20, 2010

I have been searching in the forum and google but still not lucky enough to figure out yetI have a lighttpd server runningbecause apache consume so much CPU and memory) andqmailtoaster (just setup).Here is the configuration in cgi modules:

Code:
cgi.assign = ( ".pl" => "/usr/bin/perl",
".cgi" => "/usr/bin/perl",

[code]....

View 2 Replies View Related

Server :: Make USB Flash Drive Bootable In Centos?

Sep 7, 2010

I have a USB drive of 4 GB and I want to make the drive as bootable. I used the command /sbin/mkbootdisk --device /dev/sdb1 "kernal version" ( sdb1 is my pen drive).When i ran this cmd,it gave me an error saying not enough space to write.

View 3 Replies View Related

CentOS 5 :: Yum Install Xterm Does Not Make Sure Xauth Is Installed

Jan 21, 2009

I was having problems getting xterm to work via ssh -Y and the problem was that xauth was not installed when I did yum install xterm

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved