LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Please help me (https://www.linuxquestions.org/questions/linux-general-1/please-help-me-3182/)

jolly 06-08-2001 04:15 AM

I am new to linux and I dont know all the commands of linux. I have few problem whenever server is reboot my few applications stops and then I have to manually start them. Can you please tell me how can I add them to startup so that everytime server is reboot these applications starts automatically.
And how can I check the processor, ram and hard disk if its scsi or not in remote server.So please tell me the commands and how to do it.

Thymox 06-08-2001 05:55 AM

First of all, a couple of questions for you:

What distro do you use (Mandrake, RedHat, SuSE, etc)?
What programs do you want to start automatically?

Now, almost all of this information about you system can be viewed using LinuxConf. Most distros (if not all) will come with this. If you can't find it, then from a bash prompt, look at the 'files' found in /proc. This 'proc' directory (or folder for Windows converts) does not actually contain any files, these 'imaginary' files allow you to view certain things about your system.

Move into the '/proc' dir and type: cat XXXXX, where XXXXX is the 'file' of interest (I suggest you don't do this for kcore as it doesn't contain any readable information!).

jolly 06-08-2001 06:05 AM

I am using linux 6.2 version. I want to start TOMCAT on startup. Whenever ISP reboot the system TOMCAT is stopped and all the servlet and jsp sites stop. Then I have to TELNET and write nohup startup.sh & like this is restart the TOMCAT.
And how can I make sub directories in subdomain and give the FTP right to owner of sub directories like angelfire do for its users it allows FTP to subdirectories like
http://www.domain.com/abc/ and user of abc can directly ftp into its folder. Please help me and guide me cos i am totally new to *nix. If possible tell me in steps.


All times are GMT -5. The time now is 09:25 PM.