LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 11-03-2006, 12:09 PM   #1
Blobman
LQ Newbie
 
Registered: Oct 2006
Posts: 4

Rep: Reputation: 0
A few problems/questions with new linux installation


Ok I have 4 harddisks for my new linux server, one of witch has 40gb partition for windows, 40gb partition for CentOS, and a 3gb swap partition, and a bunch of empty space in case I want to install another OS. The other 3 harddisks are just empty fat32 partitions.

Questions:
1.How do I change my wwwroot of my default installed server to another harddisk completely, instead of the wwwroot of the CentOS installation.

2.When I view my drives under linux there is a drive in lunx called sda2, then theres a drive next to it thats not called anything. Under properties it says LABEL=

When I mount that drive it says sda2 has already been mounted, and takes me to the sda2 drive. What exactly is going on, do you have any idea? (There is not an extra drive when booted from windows)

3.Is there a way to share all 3 drives over the internet but give them all different names in linux? Will they be shared so a windows computer can view them, or be shared over browser?

4.Does anyone here have experience setting up an itunes server so I can put all my music on this server and just share it over the network, without actually running itunes on my linux. I found some resources online, but got a bit lost.

Thank you guys. These questions are in order of importance as well, so if you want to answer a question, start from the top. I'm just hoping someone can help me with #3, 4.
 
Old 11-03-2006, 01:02 PM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
#1 Edit the configuration file for Apache and change the DocumentRoot.
Quote:
itg-debian:~# cat /etc/apache2/apache2.conf | grep DocumentRoot
DocumentRoot "/var/www/argc/html"

#3 Mount the 3 Drives in Linux using whater mount points you define
Install winscp on your windows machine http://winscp.net/
Copy files at will using a nice encrypted connection
Do the Happy Dance !!
 
Old 11-03-2006, 10:23 PM   #3
Blobman
LQ Newbie
 
Registered: Oct 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Hey thanks for the reply.

Is winscp windows or linux? I will be eventually running linux on this system all the time when it's set up correctly.

Also I was a bit confused about devices and a friend at work helped clear up that /dev/ holds all the harddrives and partitions. It's hard transitioning from windows to linux!

But anyone have any idea whats going on with my weird drive in my second question?
 
Old 11-03-2006, 11:12 PM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
winscp runs on windows and is GUI based. WinSCP duplcates the functionality of a *NIX utility called scp (Secure Copy) scp allows you to copy files between linux machined through an encrypted ssh connection.


as for question 2 it might be a bit more clear if we had a complete picture of your drives and mount settings.. if you post the the output of the following commands it may help..

mount (shows what drives are currently mounted and what their mount points are)

cat /etc/fstab (Shows the file system table that lists all your mount point configurations)

cat /var/log/dmesg | grep hd (searches the log for anything that might menttion your PATA Hard drives)

cat /var/log/dmesg | grep sd (searches the log for anything that might menttion your SATA Hard drives)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux installation questions rolandi Linux - Newbie 2 10-06-2003 09:17 AM
linux 2.6.0-test installation questions yoyodyne Linux - Software 1 09-08-2003 04:02 PM
Questions regarding obtaining Linux, Installation ?? Milkjug Linux - General 7 01-05-2003 09:39 AM
Installation questions/problems, Redhat 8.0 ?? Pa|2a|)oX Linux - General 2 11-29-2002 11:09 PM
Linux Installation Countdown and Questions kamisama Linux - General 6 11-07-2001 12:46 AM


All times are GMT -5. The time now is 10:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration