LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-21-2008, 04:48 AM   #1
lancemac
LQ Newbie
 
Registered: Nov 2008
Posts: 1

Rep: Reputation: 0
Question How to build a home web server with ftp, file sharing, and some other stuff?


Hi guys
My project is to create a web server that will contain a web based proxy(to bypass censorship), ftp so i can access my file where every i am, act as a file host on my LAN, host a web based msn client and a web based torrent client.

I am using a old IBM thinkpad T21 and i have Slackware installed. I tried ubuntu but there are to many problems installing it.

My first problem is setting up file sharing. iv tried so many times with different configurations in Samba but i still cant get it to work.

I also dont wont this server on all the time. So i would like to put a wake on lan script on a different website that will turn on my server when i want it on. i know this is posible but i just dont know how.

I will be able to set up the rest i think.
thanks
 
Old 11-21-2008, 07:38 AM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,475

Rep: Reputation: 87
Don't know about the rest, but this below is the simplest way I have found of setting up samba to allow me to access my Windows share from other systems while the box is in Linux. This should allow for reading and writing files, creating directories over a SMB connection, etc.

Put this file in /etc/samba AND /usr/local/samba/lib:

smb.conf follows:
---
[global]

netbios name = development
workgroup = WORKGROUP
security = share
log file = /var/log/samba.log
log level = 1
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=16384 SO_SNDBUF=16384
wins support = yes
domain logons = no
logon drive = f:
logon home = \\stefan\%U
os level = 99
preferred master = yes
local master = yes
hosts allow = any
encrypt passwords = yes
browseable = yes
lanman auth = yes
lm announce = yes

[shared]
path = /mnt/win/shared
guest ok = yes
writeable = yes
create mode = 0666
directory mode = 0777
browseable = yes
public = yes
---

then kill and restart smbd and nmbd

Hopes this helps....
 
  


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
How might I Setup Home Web Server plus File Server plus Printer Sharing brindamo Linux - Server 3 01-14-2008 12:48 AM
iptables for home mail/web/ftp server Z038 Linux - Server 5 05-24-2007 06:34 PM
Best distro for home developement/file sharing server meigwil Linux - Newbie 5 04-13-2006 08:28 AM
Best configuration for home file/web server? The Milkman Linux - Newbie 7 01-19-2005 07:53 PM
Web server/File Sharing Server sschoenb Solaris / OpenSolaris 1 06-24-2004 03:56 PM


All times are GMT -5. The time now is 09:37 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration