The DNS Guys |
Anycast DNS 25 Nameservers Worldwide |
DNS Failover Host Monitoring & Auto Rollback |
Outbound SMTP Smart Relay, SASL |
| Subversion Hosting OpenID Servers & XMPP |
DNSSEC TSIG & Secondary DNS |
easyRoute53 Amazon Route53 GUI |
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. |
|
|
|
![]() |
Aug 12 2008, 08:15 AM
Post
#2
|
|
|
Its GNU/Linuxhelp.net ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Support Specialist Posts: 1,553 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. |
|
|
|
azler linux home server Aug 11 2008, 11:42 AM
Beano You might want to get hold of the book Linux Syste... Aug 11 2008, 03:41 PM
azler thanks i will get that asap.
but any one got any q... Aug 12 2008, 06:22 AM
digitalboy675 Efficiently manage the networking and backup of al... Oct 26 2008, 02:03 PM![]() ![]() |
|
Lo-Fi Version | Time is now: 24th May 2012 - 08:17 PM |