Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
ok, first...is there a way i can link a directory to another name and have it be treated like a normal directory and not a link? i have a website using .asp files to list the contents of a directory, and it shows up blank in symlink directories...for example, i want to have a directory called "Screen Shots" shortened to "Screens"...yes, and appear in my /var/www folder, and the .asp file in it to list the contents...if u need more info (ie the script, just ask)
second...i need to know how to route intrenet too my LAN (most likely nat)...
third...how do u set transperency in aterm? O.o
fourth...is there a way to convert ntfs to like reiser or ext3 or something that linux can write to? (i know theres a pogram that can write to ntfs, but it never works for me)... x_x
out of all of these...i realllllyyyyy need the first and fourth...i can google the other two...just thought id ask while im at it..
can't help ya with the third and fourth, and but with the third...aterm...create a file in your home directory called .Xdefaults, then add this to the file...make sure you add the "." in front of the .Xdefaults...
Originally posted by snip128 ok, first...is there a way i can link a directory to another name and have it be treated like a normal directory and not a link? i have a website using .asp files to list the contents of a directory, and it shows up blank in symlink directories...for example, i want to have a directory called "Screen Shots" shortened to "Screens"...yes, and appear in my /var/www folder, and the .asp file in it to list the contents...if u need more info (ie the script, just ask)
A link is a link, it will always be treated as a link. A link is nothing more than an inode (a structure of the file system) which contains a pointer to the actual directory. I'm not sure what you are going to do, but if the target of the link is outside of /var/www you won't be able to see it as Apache chroots /var/www, this means that from apache's point of view nothing outside /var/www exists.
If what you want is to have a link *inside* /var/www renaming a dir you can always use good ol' HTML tags. Either way symliks would perfectly work, AFAIK.
second...i need to know how to route Internet too my LAN (most likely nat)...
If you have a DSL router you don't need to do anything, NAT is already enabled, the only thing you need to do is to either use one of the boxes as gateway or using the router itself for this purpose.
The first is straightforward. For the second you will need to enable NAT:
You will of course need to change "device" with the name of your network device (prolly eth0).
After this, enable the NAT server as the default gateway.
IMHO this approach is the safest if you use a secure machine (not your webserver) as gateway.
third...how do u set transparency in aterm? O.o
Just enable the COMPOSITE extensions in your /etc/xorg.conf and you will get *REAL* transparency instead of fake transparency (background is displayed) at a very low cost as it's the graphics card which does the work:
well, the method that detpenguin said worked for the "transperancy"...the real transparency thing didnt work though...would the fact that im using vnc have anything to do with it? and...my x config file is /etc/X11/XF86Config-4..
when i try the ntfs write...
debian:~# modprobe ntfs_write
Note: /etc/modules.conf is more recent than /lib/modules/2.4.27-2-386/modules.dep
modprobe: Can't locate module ntfs_write
guess i have to rebuild? umm...pretty much all i know about my distrib is that its the latest net install of debian...with a 2.4 kernel... x_x if you need more info...tell me how to get it
also, is there some alternative that i can use to symlinking then? for example, on windows, i used the "virtual directory" feature of iis (internet information services...microsoft webserver lol)..what i have is a html page with links, and when you click one it will load or example, "/Screens/main.asp" which would display the contents of the screens folder...wherever it is...i dont need the actual folder to be there, i just need the webserver to THINK its there...i have apache 2...
also...whats the difference between symlinking and hardlinking...and why cant even root hardlink a directory??
hope my reply didnt take too long...i was relying on emails to inform me of replys...never got em... O.o lol
Number 2, depends on the router/switch you are using look at the documentation that came with it, it will tell you what you need to do.
Number 3, well thats already been done to death, lol. You should have that sorted by now
NUmber 4, you need to compile ntfs read/write support into the kernel, though support for the ntfs file system is not stable. As far as I know there is no utility to convert ntfs to a native linux file system
umm...there is no clause like that in my httpd.conf file...its actually quite empty only a few lines...all commented out...can you tell me what to put to add it? i also don't see it in the apache2.conf file...
ill keep that in mid next time david.. >.>
EDIT: actually, i found that the file i need to edit is in /etc/apache2/sites-available/default...unfortunately, follow symlinks is already on...when i disable i cant access the asp in the dir, and when its enabled, i still cant view the folder contents...im reseraching this sites-available and sites-default thing...maybe i can get it to create other "sites" and use them as folders...(id make a site with a home dir of lets say... /mnt/hdc2 and the default page main.asp)
mmm i just got a big wtf question the asp files in the subdirectories of the linked folder work...so lets say the linked folder is Screens... Screens/main.asp wont display the contents of /var/www/Screens but Screens/UT2004/main.asp WILL display the contents of /var/www/Screens/UT2004 isnt that weird? O.o
the default apache directory listing works in ever folder...
another noob question on apache...quick one...how can i make it non-case sensitive...the .asp files aren't case sensitive in the links -.-