红联Linux门户
Linux帮助

Fedora 9 & Samba fileserver + printer server

发布时间:2008-08-23 00:33:12来源:红联作者:Again
Installation Note: step by step...well almost

Install Fedora 9 and Samba server

Root Password: ********

Create custom layout (drive partition):
/dev/sda1 / ext3
/dev/sda2 swap
/dev/sda3 /home ext3

UNCHECK - Office and Productivity

Create User:
Username: user1
Password: ********

System > Administration > Add/Remove Software
run and install the updates

Install Samba
Samba Client Programs
Files used by both Samba servers and Clients
Samba winbind
ADD The Samba Suite of programs
Samba server configuration tool <--- Only if you don't have a preconfigured smb.conf file and you want to use this GUI configuration tool.

su
ln -s /sbin/service /bin/service
mkdir /home/fileserver
chmod 777 /home/fileserver
touch /home/fileserver/testfile.txt <--- put a test file in the folder
cp /etc/smb.conf /etc/smbconf.bak <--- make a backup the original smb.conf file

copy over the preconfigured smb.conf file to /etc/samba/smb.conf
Or, configure your own smb.conf

System > Administration > SELinux Management -> Boolean
CHECK ALL samba Modules
Quit

System > Administration > Services
ENABLE nmb
ENABLE smb
Quit

System > Administration > Firewall
DISABLE
APPLY
Quit

System > Administration > Printing
CHECK Share publicshed printers connected to this system
Apply

Plug in the USB printer and configure it. Make sure it's shared.

REBOOT
文章评论

共有 0 条评论