skip to main |
skip to sidebar
nwal001 [success with slugos] – part 2
“slugos from the scratch” – vorbereitung einer nlsu2 für samba und twonkymedia server [teil 2]
- die richtige timezone setzten
#ipkg install tzdata
#ipkg install tzdata-europe
#ln -s /usr/share/zoneinfo/Europe/Vienna /etc/localtime
#unset TZ
- locale specific
samba speichert default-mässig dateien im utf8-format, daher möchte ich auch dieses format als locale specific haben. [da der österreichische zeichensatz bereits im ISO-8859-1 abgebildet ist, soll lediglich die locale de_AT mit ISO-8859-15 gebaut werden]
#ipkg install glibc-localedata-en-us
#ipkg install glibc-localedata-de-at+euro
#ipkg install glibc-charmap-iso-8859-15
#ipkg install glibc-charmap-utf-8
#mkdir /usr/lib/locale
#localedef -i de_AT -f ISO-8859-15 de_AT
- install additional software packages [crontab, timeserver, perl]
#ipkg install cron
#ipkg install ntp
#ipkg install perl
perl unter slugos ist ein kapitel für sich und ich werde einen eigenen blog darüber verfassen.
- ein bißchen memory sparen. wir haben kein serielles terminal angeschlossen, da die slug auch keine serielle schnittstelle hat. wir können problemlos /sbin/getty killen. auskommentieren von S:2345:respawn:/sbin/getty 115200 ttyS0 in /etc/inittab
#telinit q
- samba installation und anpassen der konfiguration /etc/samba/smb.conf
#ipkg install samba
#ipkg install cifs-doc
#ipkg install cifs
meine veränderten settings zum default template
[global]
workgroup = myWorkGroupName
server string = myServerString
security = user
hosts allow = myNetwork [192.168.0 127.], also mein gesamtes 192.168.0 netz und localhost
load printers = no
printcap name = /dev/null
guest account = guest
local master = no
unix charset = ISO-8859-1
… und dann meine share definitions [hier eines exemplarisch]
[p003876]
comment = p003876's home
valid users = p003876
path = /home/p003876
public = no
writable = yes
printable = no
achtung: da security user, muß der user sowohl betriebssystemseitig [/etc/passwd] als auch im samba [/usr/bin/smbpasswd] angelegt sein.
unter /etc/init.d liegt das controlscript samba, das mittels stop | start | etc. gesteuert werden kann.
utf8-ausprägung
AntwortenLöschenlocaledef -i en_US -f UTF-8 en_US.UTF-8