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

LINUXʹÓüǼ

-------------------------------------------------------------------------------------------------------
By:yuyongbao
QQ:673360056
£±¡¢  linuxϹ²ÏíÎļþ¡£°²×°smbserver¡£È»ºóÔÚ¡¶ÏµÍ³ÉèÖá·Öдò¿ª¡¶·þÎñÆ÷ÉèÖ᷵ġ¶smb¡¡server¡··þÎñÆ÷£¬ÊäÈëÏà¹Ø·¾¶¼´¿É¡£È»ºóÔÚwindowÖУ¬Ê¹ÓÃÍøÂçÁÚ¾Ó²éÕÒlinux¡££¨×¢Òâ:linuxϵÄwork groupÒªÓëwindowÒ»ÖÂ.Ñ¡Ôñshare .²»ÒªÃÜÂëÑ¡Ï.×îºó,ÖØÆôsmb… 
£²¡¢  ÖØÆô·þÎñµÄÃüÁîΪ:/etc/init.d/smb restart
£³¡¢  linuxÏÂÉÏÍøÉèÖ᣽«windowϵÄÁ½¸övmwareÐéÄâÍø¿¨ÉèÖóÉ×Ô¶¯»ñÈ¡IP£¬È»ºó£¬ÔÚlinuxϵÄÍøÂçÉèÖÃÀÉèÖÃIPΪÓëwindowͬһ¸öÍø¶Î,È»ºóÉèÖÃDNSÓëwindowÏàͬ¼´¿É¡£ÏÖÔÚÉèÖõÄlinux IPΪ10.10.70.111¡£
£´¡¢  tar –jxvf ÓÃÀ´½â.tar.bz2ºó׺µÄÎļþ¡£¶øzxvfÔòÓÃÀ´½â.tar.gzºó׺µÄÎļþ¡£
£µ¡¢ ½â°ü£ºtar xvf FileName.tar
´ò°ü£ºtar cvf FileName.tar DirName´ò°üĿ¼¡£»¹¿ÉÒÔ¼ÓÉÏzcvf»òÊÇjcvfÑ¡Ïî±ä³É.tar.gz»ò.tar.bz2µÄ¸ñʽ
£¶¡¢  .ѹËõÒ»×éÎļþΪtar.gzºó׺¡£
# tar cvf backup.tar /etc
#gzip -q backup.tar
»ò
# tar cvfz backup.tar.gz /etc/
2.ÊÍ·ÅÒ»¸öºó׺Ϊtar.gzµÄÎļþ¡£
#gunzip backup.tar.gz
#tar xvf backup.tar
»ò
# tar xvfz backup.tar.gz
3.ÓÃÒ»¸öÃüÁîÍê³ÉѹËõ
#tar cvf - /etc/ | gzip -qc > backup.tar.gz
4.ÓÃÒ»¸öÃüÁîÍê³ÉÊÍ·Å
# gunzip -c backup.tar.gz | tar xvf -
5.ÈçºÎ½â¿ªtar.ZµÄÎļþ£¿
# tar xvfz backup.tar.Z
»ò
# uncompress backup.tar.Z
#tar xvf backup.tar
6.ÈçºÎ½â¿ª.tgzÎļþ£¿
#gunzip backup.tgz
7.ÈçºÎѹËõºÍ½âѹËõ.bz2µÄ°ü£¿
#bzip2 /etc/smb.conf
Õ⽫ѹËõÎļþsmb.conf³Ésmb.conf.bz2
#bunzip2 /etc/smb.conf.bz2
Õ⽫ÔÚµ±Ç°Ä¿Â¼Ï»¹Ô­smb.conf.bz2Ϊsmb.conf
×¢: .bz2ѹËõ¸ñʽ²»ÊǺܳ£Óã¬Äã¿ÉÒÔman bzip2
£·¡¢  chmod –R +777 filename      ÆäÖÐ-RΪµÝ¹é£¬¿É½øÈë×ÓĿ¼¡£
£¸¡¢  ¡«£¯´ú±íµ±Ç°Óû§»·¾³¡£
£¹¡¢  “$PATH”ÃüÁîΪÊä³öµ±Ç°Â·¾¶¡£
£±£°¡¢       ÎÒÃDZØÐ뿪ÆôPC»úµÄNFS·þÎñ£¬¾ßÌåÉèÖÃÈçÏÂ
£±¡¢ÔÚLINUXÃüÁî·ûÏÂÔËÐÐsetup£¬ÔÚsystem servicesÀïÃæÑ¡ÖÐnfs·þÎñ£¬È»ºó±£´æÍ˳ö¡£
£²¡¢Ö´ÐÐvi /etc/exports£¬ÔÚÀïÃæÌí¼ÓÒ»ÐУº/YF2410/r


Ïà¹ØÎĵµ£º

Linux´´½¨Ò»¶¨´óСÎļþÃüÁî

ddÃüÁî
°ÑÖ¸¶¨µÄÊäÈëÎļþ¿½±´µ½Ö¸¶¨µÄÊä³öÎļþÖУ¬²¢ÇÒÔÚ¿½±´µÄ¹ý³ÌÖпÉÒÔ½øÐиñʽת»»¡£Óï·¨£º
CODE:[Copy to clipboard]dd ¡²Ñ¡Ï
QUOTE:
if =ÊäÈëÎļþ£¨»òÉ豸Ãû³Æ£©¡£
of =Êä³öÎļþ£¨»òÉ豸Ãû³Æ£©¡£
ibs = bytes Ò»´Î¶ÁÈ¡bytes×Ö½Ú£¬¼´¶ÁÈ뻺³åÇøµÄ×Ö½ÚÊý¡£
skip = blocks Ìø¹ý¶ÁÈ뻺³åÇø¿ªÍ·µÄibs*blo ......

LinuxÏ Oracle×Ô¶¯±¸·Ý½Å±¾¼°ÆäÔËÐÐÉèÖÃ

½Å±¾Îļþ backup.sh
#!/bin/sh
a=`date "+%y_%m%d_%H%M"`
echo $a
/home/oracle/10g/bin/exp username@password@//192.168.0.126/SID owner=username FILE=/opt/beifen/126_username_$a.dmp
±¸·ÝµÄÎļþ¸ñʽÈ磺126_username_09_0920_2300.dmp
±àдÍêshell½Å±¾Ö®ºó£¬Òª¶ÔÆ丳Óè¿ÉÖ´ÐÐȨÏÞ¼°ÆäÓû§ËùÊô£º
# chmod 7 ......

Linux——samba·þÎñÅäÖÃÏê½â

1 ²é¿´µ±Ç°°²×°sambaûÓУ¬
ÃüÁrpm -qa | grep samba
ÓÐ3¸öÎļþÈ磺samba¡¢common¡¢clientÔò±íÃ÷³É¹¦°²×°ÁË
·ñÔò£ºÓÃÃüÁîrpm -ivh samba*.rpm°²×°sambaÈí¼þ°ü¡£
2 °²×°Íêºó¶àÊý¶¼±£´æÔÚ/etc/sambaĿ¼Ï£¬Ä¿Â¼ÏÂÓÐÒ»¸ösmb.confµÄÎļþ£¬
ËüÊÇsamba·þÎñµÄºËÐÄÎļþ£¬ËùÓÐÅäÖö¼ÔÚÕâÀïÐ޸ġ£
ÆäÖаüÀ¨smbdºÍnmbdÁ½¸ö³ ......

Linux——linuxÃüÁ


NO
·ÖÀà
PS1
ÃüÁîÃû
Ó÷¨¼°²ÎÊý
¹¦ÄÜ×¢½â
1
ÏÔʾĿ¼ÐÅÏ¢
#
ls
ls -a
Áгöµ±Ç°Ä¿Â¼ÏµÄËùÓÐÎļþ£¬°üÀ¨ÒÔ.Í·µÄÒþº¬Îļþ
#
ls
ls -l»òll
Áгöµ±Ç°Ä¿Â¼ÏÂÎļþµÄÏêϸÐÅÏ¢
#
ls
ls -a
ÏÔʾËùÓÐÎļþ£¬°üº¬Òþ²Ø¡£
#
ls
ls -al
ÏÔʾËùÓÐÎļþµÄÏêϸÐÅÏ¢¡£
2
²é¿´Â·¾¶
#
pwd
pwd
......

s3c2410ƽ̨ÏÂlinuxËļü°´¼üÇý¶¯³ÌÐò

#ifndef __KERNEL__
#define __KERNEL__
#endif
#ifndef MODULE
#define MODULE
#endif
#include<linux/config.h>
#include<linux/module.h>
#include<linux/version.h>
#include<linux/init.h>
#include<linux/kernel.h>
#include<linux/errno.h>
#include<linux/sche ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ