Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

LinuxÏÂsamba·þÎñÆ÷µÄ¼ÜÉè

×î½üÔÚѧϰlinux ½ñÌì°Ñ¼ÜÉèlinux samba·þÎñÆ÷µÄ·½·¨Ð´³öÀ´ »¶Ó­´ó¼ÒÌÖÂÛºÍÖ¸µã
±¾»úÊÇÐéÄâ»úºÍwinxp½øÐвâÊÔ£¬ÐéÄâ»úµØÖ·ÊÇ192.168.1.144 Ö÷»úµØÖ·ÊÇ192.168.1.10.Á½ÕßÊÇ¿ÉÒÔ»¥Í¨µÄ¡£
Ê×ÏÈÎÒÃÇÏÈ×ölinuxϵÄÅäÖÃ
Ò». Ê×ÏÈҪȷ¶¨linuxÊÇ·ñ°²×°ÁËsmb
[root@localhost zy]#rpm -qa | grep samba
samba-2.2.5-10
samba-swat-2.2.5-10
samba-common-2.2.5-10
samba-client-2.2.5-10
ºÇºÇ ±¾»úÒѾ­°²×°ÁËÎҾͲ»¶à˵ÁË£¬Ã»°²×°µÄÕÒ¹âÅÌ°²×°ÁË
¶þ¡¢È»ºóÎÒÃÇÅжÏһϣ¬ÊÇ·ñsamba·þÎñÒѾ­Æô¶¯£¬
[root@localhost zy]#ps -aux | grep smb
root 1719 0.0 0.3 4916 1820 ? S 08:21 0:00 smbd -D
root 1849 0.0 0.1 4776 628 pts/1 S 08:48 0:00 grep smb
Èç¹ûûÓÐÆô¶¯µÄ»° ÓÃ[root@localhost zy]#/etc/init.d start
¹Ø±ÕÊÇ [root@localhost zy]#service smb stop
ÖØÆôÊÇ [root@localhost zy]#service smb restart
ÕâÀïÖ»ÊDZ¾´ÎÆô¶¯£¬Èç¹ûÐèҪÿ´Î¿ª»ú¶¼Æô¶¯µÄ»°
ÓÃsetup »òÕß ntsysv
Èý.±¾»úÊÇûÓÐ×°linuxϵķÀ»ðǽµÄ Èç¹ûÒòΪ·À»ðǽµÄÔ­ÒòÔì³É²»ÄÜ»¥Ïà·ÃÎÊ
[root@localhost zy]#/sbin/iptables -F
ËÄ£¬ÅäÖÃsmbµÄÖ÷ÒªÅäÖÃÎļþsmb.conf
[root@localhost zy]# cd /etc/samba
[root@localhost samba]# mv smb.conf smb.confbak
È»ºóÎÒÃÇÀ´ÖØд´½¨Ò»¸ösmb.confÎļþ
[root@localhost zy]touch smb.conf
È»ºóÎÒÃÇ°ÑÏÂÃæÕâ¶ÎдÈësmb.confÖÐ
[global]
workgroup = workgroup
netbios name = zy
server string = Linux Samba Server
security = user
vaild user = zhaoyong
[zy]
path = /home/zy
writeable = yes
browseable = yes
create mask = 0664
guest ok = yes
[global]Õâ¶ÎÊÇÈ«¾ÖÅäÖã¬ÊDZØдµÄ
workgroup ¾ÍÊÇWindowsÖÐÏÔʾµÄ¹¤×÷×飻ÔÚÕâÀïÎÒ»¹ÊÇworkgroup
netbios name ¾ÍÊÇÔÚWindowsÖÐÏÔʾ³öÀ´µÄ¼ÆËã»úÃûzy
server string ¾ÍÊÇSamba·þÎñÆ÷˵Ã÷£¬¿ÉÒÔ×Ô¼ºÀ´¶¨Ò壻Õâ¸ö¿ÉÒÔÊ¡ÂÔ
security ÕâÊÇÑéÖ¤ºÍµÇ¼·½Ê½£¬ÕâÀïÎÒÃÇÓÃÁËuesr £»ÑéÖ¤·½Ê½ÓкöàÖÖ£¬ÕâÊÇÆäÖÐÒ»ÖÖ£»Èç¹ûÓÃshareÄØ£¬¾ÍÊDz»ÓÃÉèÖÃÓû§ºÍÃÜÂëÁË£»
[zy] Õâ¸öÔÚWindowsÖÐÏÔʾ³öÀ´Êǹ²ÏíµÄĿ¼£»
path = ¿ÉÒÔÉèÖÃÒª¹²ÏíµÄĿ¼·ÅÔÚÄÄÀ
writeable ÊÇ·ñ¿Éд£¬ÕâÀïÎÒÉèÖÃΪ¿Éд£»
browseable ÊÇ·ñ¿ÉÒÔä¯ÀÀ£¬¿ÉÒÔ£»¿ÉÒÔä¯ÀÀÒâζ×Å£¬ÎÒÃÇÔÚ¹¤×÷×éÏÂÄÜ¿´µ½¹²ÏíÎļþ¼Ð¡£Èç¹ûÄú²»ÏëÏÔʾ³öÀ´£¬ÄǾÍÉèÖÃΪ browseable=no
create maskÊÇÓû§´´½¨ÎļþʱµÄȨÏÞ


Ïà¹ØÎĵµ£º

ÓйØlinux ÕýÔò±í´ïʽµÄºÃÎÄÕÂ

ÕýÔò±í´ïʽ
1. Òý×Ó 
¡¡¡¡Ä¿Ç°£¬ÕýÔò±í´ïʽÒѾ­ÔںܶàÈí¼þÖеõ½¹ã·ºµÄÓ¦Ó㬰üÀ¨*nix£¨Linux, UnixµÈ£©£¬HPµÈ²Ù×÷ϵͳ£¬PHP£¬C#£¬JavaµÈ¿ª·¢»·¾³£¬ÒÔ¼°ºÜ¶àµÄÓ¦ÓÃÈí¼þÖУ¬¶¼¿ÉÒÔ¿´µ½ÕýÔò±í´ïʽµÄÓ°×Ó¡£ 
¡¡¡¡ÕýÔò±í´ïʽµÄʹÓ㬿ÉÒÔͨ¹ý¼òµ¥µÄ°ì·¨À´ÊµÏÖÇ¿´óµÄ¹¦ÄÜ¡£ÎªÁ˼òµ¥ÓÐЧ¶øÓÖ²»Ê§Ç¿´ó£¬Ôì³ÉÁËÕýÔò±í´ ......

linux ´®¿Ú±à³Ì

ÔÚǶÈëʽLinuxÖУ¬´®¿ÚÊÇÒ»¸ö×ÖÉ豸£¬·ÃÎʾßÌåµÄ´®Ðж˿ڵıà³ÌÓë¶Á£¯Ð´ÎļþµÄ²Ù×÷ÀàËÆ£¬Ö»Ðè´ò¿ªÏàÓ¦µÄÉ豸Îļþ¼´¿É²Ù×÷¡£´®¿Ú±à³ÌÌØÊâÔÚÓÚ´®¿ÚͨÐÅʱÏà¹Ø²ÎÊýÓëÊôÐÔµÄÉèÖá£Ç¶ÈëʽLinuxµÄ´®¿Ú±à³ÌʱӦעÒ⣬ÈôÔÚ¸ùÎļþÖÐûÓд®¿ÚÉ豸Îļþ£¬Ó¦Ê¹ÓÃmknodÃüÁî´´½¨£¬ÕâÕâÀï¼ÙÉè´®¿ÚÉ豸ÊÇ/dev/ttyS0£¬½éÉÜһϴ®¿ÚµÄ±à³Ì¹ý³Ì¡ ......

ʹÓÃDDD¿ª·¢ARM Linux³ÌÐò

ʹÓÃDDD+GDB¿ª·¢ARM Linux³ÌÐò
½ñÌìÓÖÈ¡µÃÁËһЩ½øÕ¹£¬¸Ï¿ìдÏÂÀ´ÒÔÃâ×Ô¼ºÍü¼Ç¡£
×Ô´ÓLinuxÔÚÎҵİå×ÓÉÏÅÜÆðÀ´Ö®ºó£¬ÎÒÒ»Ö±ÔÚÏëÒ»¸öÎÊÌ⣬Ôõôµ÷ÊÔ½«À´Ð´µÄ³ÌÐò¡£ÆäʵÎÒÔÚLinux¿ª·¢·½ÃæÕæµÃºÜÍâÐУ¬µ½Á˽ñÌì²ÅÖªµÀGDBµ½µ×ÊÇ ¸ÉʲôÓõģ¬ºÇºÇ¡£ÎÒÏàÐźܶàÈË´ÓBootloaderµ÷ÊÔ¿ªÊ¼Ò»Ö±¶¼Ê¹ÓÃLED°¡£¬printfÕâÑùµÄ·½·¨À´µ÷ÊÔ¡ ......

linuxÏÂoracleµÄ×Ô¶¯±¸·Ý

linuxÏÂoracleµÄ×Ô¶¯±¸·Ý
http://hohai2002.blog.163.com/blog/static/1628166912010323103227543/
±¸·Ý
ÉÏ´«root_cronµ½rootĿ¼
ʹÓÃcrontab ÅäÖÃÎļþ
crontab -u root /root/root_cron
ʹÓÃcrontab -l ¼ì²é
#Îļþ root_cron
01 00 * * * /etc/root_exp.sh
#Îļþroot_exp.sh
su - oracle -c /oracle/db ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ