Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
> linux home server
post Aug 11 2008, 11:42 AM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 8
Joined: 11-August 08
Member No.: 13,606

I have just installed debian for a home server.
i have a few questions.
1)i have installed proftp and i can conenct to it via my user name and password, but i can see the entire server directory which is not good if i let any one use it to upload stuff. now after having a think about it, if i set a home dir for that use name would it limit me to that directory?
2) apache was installed with the debian image, and it works i can connect, and i know where to upload my files to, only it redirects it to eg. ( where as id like it to go to ( how would i change this? ;
and carrying on from apache can i install phpmyadmin with apt-get install phpmyadmin?
3) which file do i edit so i can add things to start up when the server boots up, eg, /cs/ how would i get this file to load when the server boots?
Cheers thanks for your help in advance!
also ima bit new to this, as im yesterday... but im picking it up fast ish, every thing else is running fime just those 3 things.
o and apparently it does not have a 'make' function.. as it wont let me install programs. just says no make in bash.
Go to the top of the page
+Quote Post
Start new topic
post Aug 12 2008, 08:15 AM
Post #2

Its GNU/

Group: Support Specialist
Posts: 1,797
Joined: 23-January 03
Member No.: 360

In general start/stop scripts are located in /etc/init.d. They are linked to /etc/rcx.d where x is the run level. The start script begins with an s and the number is the order of how they run where 1 is the first. Stop scripts begin with a k.
Many distributions have a generic initial start script that is the last thing to run. It is called rc.local but debian does not use it. You can create a one via the steps below.

1. Execute this command to find your default runlevel:
cat /etc/inittab | grep initdefault
You should see a line like this:
That means 2 is your default runleve. This may also be 3, or rarely 4 or 5.
2. Create your rc.local file like this (as root):
touch /etc/init.d/rc.local
chmod 774 /etc/init.d/rc.local
3. Set it to be run at boot time by doing this:
ln -s /etc/init.d/rc.local /etc/rcX.d/S99local
Replace the X with your default runlevel from step one. For example, rc2.d.
4. Edit your /etc/init.d/rc.local script.

Lots of info on how this works can be found on the web. Not real familiar how debian configures apache but check there websites and search for information on
the web.
Go to the top of the page
+Quote Post

Posts in this topic

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 20th October 2017 - 06:29 PM