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.

FREE DNS Is Back

Sign Up Now
> linux home server
azler
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. (192.168.0.99/apache-default/index.html) where as id like it to go to (192.168.0.99/index.html) 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/server.sh how would i get this file to load when the server boots?
Cheers thanks for your help in advance!
Rob
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
Replies (1 - 4)
Beano
post Aug 11 2008, 03:41 PM
Post #2


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 11-August 08
Member No.: 13,607



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.
Go to the top of the page
 
+Quote Post
azler
post Aug 12 2008, 06:22 AM
Post #3


Whats this Lie-nix Thing?
*

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



thanks i will get that asap.
but any one got any quick fixs for me?
Go to the top of the page
 
+Quote Post
michaelk
post Aug 12 2008, 08:15 AM
Post #4


Its GNU/Linuxhelp.net
*******

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:
id:2:initdefault:
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
digitalboy675
post Oct 26 2008, 02:03 PM
Post #5


Whats this Lie-nix Thing?
*

Group: Members
Posts: 5
Joined: 20-October 08
Member No.: 13,723



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.


--------------------
Go to the top of the page
 
+Quote Post

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:37 PM