First; Thank you Amahi and the folks at Amahi for letting me use your program, it looks great.
Second; I am going to do a complete re-install on my desktop of Fedora 14 and Amahi, (and wipe out the test run). So, I am kind of new to Linux and when ever I do installs I guess at the "mount points", What would be the best mount points to choose for my 2 500gig hard drives? I am assuming the first partition on the first drive would be "/" and the second partition on the first hard drive would be swap, but what do I label the second hard drive as, if I want to use it for storage.
Third; How big of a swap is recommended (or would be ideal)?
Fourth; Would it be better if both hard drives where formatted in ext4?
Fifth; Would it be better if my external hard drives were reformatted in ext4?
Sixth; is there a web proxy"program" that I can set up in Amahi? I hope I used the correct words to ask that question. I have heard that you can have a box download and store all the art from the websites that that you frequent, so they will load quicker from then on.
Thank you for your help.
John Z.
P.S. (Seventh) Do you guys leave this type of server running all the time? Or do you turn it off at night?
Many, but somewhat simple new install questions
Re: Many, but somewhat simple new install questions
For Amahi, if you're going to use it as a server only and not a desktop then I'd say go with the following partition schemeSecond; I am going to do a complete re-install on my desktop of Fedora 14 and Amahi, (and wipe out the test run). So, I am kind of new to Linux and when ever I do installs I guess at the "mount points", What would be the best mount points to choose for my 2 500gig hard drives? I am assuming the first partition on the first drive would be "/" and the second partition on the first hard drive would be swap, but what do I label the second hard drive as, if I want to use it for storage.
- swap = 2*<size of RAM> unless you have more than 4GB, then I just make swap 2GB.
- /boot = 500MB
- / = fills up the rest of the space
- swap = 2*<size of RAM> unless you have more than 4GB, then I just make swap 2GB.
- /boot = 500MB
- / = 50GB
- /home = fills up the rest of the space
Mind you, if you're building your own stand alone Linux server I would recommend a different partition scheme. But since this is Amahi, those are the schemes I recommend.
You don't need to label your spare hard drive as anything. You can set it up in /etc/fstab later after you install Amahi. I believe if you add it to greyhole as well it will automatically set it up for you so I wouldn't worry about it for now. In more modern distros, such as Fedora 14, you mount your spare drives under /media/whatever. /mnt is no longer used to my knowledge however the folder is still kept around for legacy purposes (that and I still use /mnt for mounting CD images).
The normal convention for swap size is 2*<size of RAM>.Third; How big of a swap is recommended (or would be ideal)?
However in recent years I've modified that because RAM sizes can go up to 24GB on user machines (and on my production servers several hundred gigabytes of RAM). So when you get to RAM sizes that large I recommend a swap anywhere between 2GB and 10GB. In your case, and the case of any desktop that's not a professional production server I would just recommend a 2GB swap if your RAM is larger than 4GB.
I formatted all of my drives/partitions (including my RAID array) to ext4.Fourth; Would it be better if both hard drives where formatted in ext4?
Not sure what you mean here. Does this mean that you have your drives formatted to something else and that you already have data on those drives? If you're using ext3, then I'd say there's no big deal and just leave them. If you're using ext2, I would personally change it however it still won't hurt you if you keep it that way.Fifth; Would it be better if my external hard drives were reformatted in ext4?
Just don't forget to use redundancy with either greyhole or using RAID.
There are many web proxies like that which you speak of. Some are better than others and a lot of times, if the the proxy isn't configured correctly, content can be outdated. I'm just going to cut to the chase and recommend one that I use at my place of work where tens of thousands of users access the net through the same connection.Sixth; is there a web proxy"program" that I can set up in Amahi? I hope I used the correct words to ask that question. I have heard that you can have a box download and store all the art from the websites that that you frequent, so they will load quicker from then on.
http://www.squid-cache.org/
You can read the docs to learn the advantages/disadvantages.
As of right now my uptime is 30 days since the last time I turned off or restarted my HDA. If you're running DHCP and DNS through Amahi then you should probably keep it on 24/7. Otherwise if you turn it off you lose the ability to connect to the internet dynamically from other computers. If you're not running those services, then do whatever you want as it won't affect anything either way unless you're trying to get content from it.P.S. (Seventh) Do you guys leave this type of server running all the time? Or do you turn it off at night?
Hopefully the explanation wasn't too long winded.
SAM
Re: Many, but somewhat simple new install questions
SAM,thank you for the great advice. At the end you said you hoped it wasn't to long winded.... Please, be long winded. Your info is so helpful. While I have your ear, can I get some clarification on some pints you made?
1) You had asked if I was going to use it as a server only or also as a desktop also. At first I figured I might just use it as a server, but now I think I might need it for a desktop also. But how does that work? Do I use the Fedora 14, and if so, will I still be able to use the server? Is Amahi still running in the background?
2) You had showed my good setups for my mount points... Can you help me with a basic Linux question? If / is root (for me) or /home is for me and swap is swap space and /boot is for booting were is Fedora being installed?
Server only
swap = 2*<size of RAM> unless you have more than 4GB, then I just make swap 2GB.
/boot = 500MB
/ = fills up the rest of the space
Desktop and a Server
swap = 2*<size of RAM> unless you have more than 4GB, then I just make swap 2GB.
/boot = 500MB
/ = 50GB
/home = fills up the rest of the space
3) I like the looks of Squid, but I don't understand something... I figure I install it on Fedora, but then how does it work with Amahi.
4) To tell you the truth I am still trying to understand what Amahi is all about... I started installing it because I wanted to do the following...
Simple file storage for other computers in the house, remote viewing to smart phones and other computers of pictures and movies, web proxie to speed internet loading, and a media player like XMBC for our TV (right now I use a Boxee Box), with a remote that will control it.
Thanks again for your help.
1) You had asked if I was going to use it as a server only or also as a desktop also. At first I figured I might just use it as a server, but now I think I might need it for a desktop also. But how does that work? Do I use the Fedora 14, and if so, will I still be able to use the server? Is Amahi still running in the background?
2) You had showed my good setups for my mount points... Can you help me with a basic Linux question? If / is root (for me) or /home is for me and swap is swap space and /boot is for booting were is Fedora being installed?
Server only
swap = 2*<size of RAM> unless you have more than 4GB, then I just make swap 2GB.
/boot = 500MB
/ = fills up the rest of the space
Desktop and a Server
swap = 2*<size of RAM> unless you have more than 4GB, then I just make swap 2GB.
/boot = 500MB
/ = 50GB
/home = fills up the rest of the space
3) I like the looks of Squid, but I don't understand something... I figure I install it on Fedora, but then how does it work with Amahi.
4) To tell you the truth I am still trying to understand what Amahi is all about... I started installing it because I wanted to do the following...
Simple file storage for other computers in the house, remote viewing to smart phones and other computers of pictures and movies, web proxie to speed internet loading, and a media player like XMBC for our TV (right now I use a Boxee Box), with a remote that will control it.
Thanks again for your help.
Re: Many, but somewhat simple new install questions
I'll try and answer a few of your questions:
Each user will have their own directories under /home. So you might have /home/blithe23 and /home/joe ...etc.
Follow his suggestion for disk allocation:
I hope that helps.
Fedora 14 works just fine as both a server and for desktop use at the same time. Yes, the server activities will just magically happen in the background. The only thing you might want to keep in mind is that you may want to keep the system running 24/7 so it can serve other computers on your network (if you have them).1) You had asked if I was going to use it as a server only or also as a desktop also. At first I figured I might just use it as a server, but now I think I might need it for a desktop also. But how does that work? Do I use the Fedora 14, and if so, will I still be able to use the server? Is Amahi still running in the background?
The operating system is installed in '/' (root) and /boot. Swap is space the OS uses while it is running. User files all go in /home.2) You had showed my good setups for my mount points... Can you help me with a basic Linux question? If / is root (for me) or /home is for me and swap is swap space and /boot is for booting were is Fedora being installed?
Each user will have their own directories under /home. So you might have /home/blithe23 and /home/joe ...etc.
Follow his suggestion for disk allocation:
That should work pretty well for you.Desktop and a Server
swap = 2*<size of RAM> unless you have more than 4GB, then I just make swap 2GB.
/boot = 500MB
/ = 50GB
/home = fills up the rest of the space
I hope that helps.
Re: Many, but somewhat simple new install questions
I will power wind turbines with my expanded speech to any user who wishes to know more!SAM,thank you for the great advice. At the end you said you hoped it wasn't to long winded.... Please, be long winded.
radioz hits the nail right on the head for your first two questions. I'll elaborate on what radioz said.
As far as programs are concerned, all they see is the file structure. Let's say you have the following folder structure on ONE partition. Your programs will see that partitions as having five different folders.The operating system is installed in '/' (root) and /boot. Swap is space the OS uses while it is running. User files all go in /home.
Each user will have their own directories under /home. So you might have /home/blithe23 and /home/joe ...etc.
Code: Select all
/opt
/boot
/usr
/bin
/home
Code: Select all
/opt
/boot
/usr
/bin
/home
Also elaborating on radioz:
Let me explain to you about the magic of swap space. Swap in Linux is the equivalent of the page file or virtual memory in Windows. It's purpose is to serve as an overflow for RAM. So basically, if you have 4GB of RAM and 2GB of swap space then as far as a program can tell you have "6GB" of RAM to put simply (although that's not technically correct). Swap space is hard drive space which is used to behave like RAM. This is all handled automatically by the kernel (which is the OS). Windows also has a kernel but everyone calls the kernel in Windows... Windows!Swap is space the OS uses while it is running.
Now to answer some of your other questions which haven't been addressed.
I'll be honest with you. I have never used squid but I know what it does. I work for Drexel University and they use squid on their entire domain. Many ISPs use squid as well. I can't tell you its effects on Amahi. Your best bet would be to ask a more advanced forum such as LinuxQuestions.org. Let me tell you, squid and web proxying and caching in general are very advanced topics. Topics in which, O'Reilly and many others have written entire books about. So your best bet is to learn about the technology from a book. It is a topic as intricate as Linux itself.3) I like the looks of Squid, but I don't understand something... I figure I install it on Fedora, but then how does it work with Amahi.
It does that.4) To tell you the truth I am still trying to understand what Amahi is all about... I started installing it because I wanted to do the following...
Simple file storage for other computers in the house
It is capable of that since it's on Linux. I have developed my own software on Linux along side Amahi which allows me to do that but again that's a little more advanced., remote viewing to smart phones and other computers of pictures and movies,
Fedora has both XBMC and MythTV for using your box as a TV tuner. Remote control setup will be a little more advanced as Amahi doesn't directly support that as part of their official support. Amahi is more of a file server than anything (which I also use as a media server). To find and install that software you can use the following commands in the terminal.web proxie to speed internet loading, and a media player like XMBC for our TV (right now I use a Boxee Box), with a remote that will control it.
Code: Select all
yum search xbmc
yum search mythtv
yum install xbmc
yum install mythtv
I hope you decide to stick with it as I have. It's definitely a worthwhile technology and makes home networking more fun in my opinion.
SAM
Who is online
Users browsing this forum: No registered users and 55 guests