Printable Version of Topic

Click here to view this topic in its original format

Linuxhelp _ Technical Support _ linux home server

Posted by: azler Aug 11 2008, 11:42 AM

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.

Posted by: Beano Aug 11 2008, 03:41 PM

You might want to get hold of the book Linux System Administration, its ISBN is 0-596-00952-6 and is published by O'Reilley. The book explains what you want to do using debian linux.

Posted by: azler Aug 12 2008, 06:22 AM

thanks i will get that asap.
but any one got any quick fixs for me?

Posted by: michaelk Aug 12 2008, 08:15 AM

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.

Posted by: digitalboy675 Oct 26 2008, 02:03 PM

Efficiently manage the networking and backup of all the computers, game consoles and other devices in your network, and securely access your network from the internet. That's just the start of what you'll be able to do with Amahi.

Powered by Invision Power Board (
© Invision Power Services (