尊龙凯时人生就是博

ÔõÑùÆôÓÃCentOSϵͳÉϵÄÎļþϵͳ¼ÓÃÜÒÔ±£»¤Ãô¸ÐÊý¾Ý

ÔõÑùÆôÓÃcentosϵͳÉϵÄÎļþϵͳ¼ÓÃÜÒÔ±£»¤Ãô¸ÐÊý¾Ý

ÔÚÏÖ´úµÄÐÅϢʱ´ú  £¬±£»¤Ãô¸ÐÊý¾ÝµÄÇå¾²ÐÔ±äµÃÓÈΪÖ÷Òª¡£CentOSÊÇÒ»ÖÖÊ¢ÐеÄЧÀÍÆ÷²Ù×÷ϵͳ  £¬ËüÌṩÁËÒ»ÖÖÎļþϵͳ¼ÓÃܵĹ¦Ð§  £¬¿ÉÒÔ×ÊÖúÎÒÃDZ£»¤Êý¾ÝÃâÊܲ»·¨»á¼û¡£±¾ÎĽ«ÏÈÈÝÔõÑùÔÚCentOSϵͳÉÏÆôÓÃÎļþϵͳ¼ÓÃÜ  £¬²¢ÌṩһЩ´úÂëʾÀý¡£

°ì·¨1£º×°ÖÃÐëÒªµÄÈí¼þ

Ê×ÏÈ  £¬ÎÒÃÇÐèҪװÖÃÏìÓ¦µÄÈí¼þ°ü¡£ÔÚÖÕ¶ËÖÐÖ´ÐÐÒÔÏÂÏÂÁîÍê³É×°Öãº

sudo yum install ecryptfs-utils -y

µÇ¼ºó¸´ÖÆ

°ì·¨2£º½¨Éè¼ÓÃܵÄÎļþ¼Ð

½ÓÏÂÀ´  £¬ÎÒÃǽ«½¨ÉèÒ»¸ö¼ÓÃܵÄÎļþ¼ÐÀ´´æ´¢Ãô¸ÐÊý¾Ý¡£ÔÚÖÕ¶ËÖÐÖ´ÐÐÒÔÏÂÏÂÁ

sudo mkdir /encrypted_folder

µÇ¼ºó¸´ÖÆ

°ì·¨3£ºÉèÖüÓÃܵÄÎļþ¼Ð

Ö´ÐÐÒÔÏÂÏÂÁ¼ÓÃܵÄÎļþ¼ÐÉèÖÃΪ¾ßÓÐ˽ÓÐȨÏÞ£º

sudo chmod 700 /encrypted_folder

µÇ¼ºó¸´ÖÆ

°ì·¨4£º³õʼ»¯¼ÓÃÜÎļþ¼Ð

Ö´ÐÐÒÔÏÂÏÂÁîÒÔ³õʼ»¯¼ÓÃÜÎļþ¼Ð£º

sudo mount -t ecryptfs /encrypted_folder /encrypted_folder

µÇ¼ºó¸´ÖÆ µÇ¼ºó¸´ÖÆ

ÔÚÖ´ÐÐÏÂÁîʱ  £¬ÏµÍ³»áÒªÇóÊäÈë¼ÓÃÜÃÜÂëºÍ¼ÓÃÜËã·¨¡£Çëƾ֤ÏÖʵÐèÇóÊäÈëÃÜÂ벢ѡÔñºÏÊʵļÓÃÜËã·¨¡£

°ì·¨5£º½«Êý¾ÝÉúÑĵ½¼ÓÃÜÎļþ¼ÐÖÐ

ÎÒÃÇ¿ÉÒÔ½«ÐèÒª±£»¤µÄÊý¾ÝÉúÑĵ½¼ÓÃÜÎļþ¼ÐÖС£ÀýÈç  £¬ÎÒÃǽ«½¨ÉèÒ»¸öÃûΪ”secret.txt”µÄÎļþ²¢½«ÆäÉúÑĵ½¼ÓÃÜÎļþ¼ÐÖС£ÔÚÖÕ¶ËÖÐÖ´ÐÐÒÔÏÂÏÂÁ

echo "This is a secret!" | sudo tee /encrypted_folder/secret.txt > /dev/null

µÇ¼ºó¸´ÖÆ

°ì·¨6£ºÐ¶ÔؼÓÃÜÎļþ¼Ð

ÈôÊÇÎÒÃÇÏëÒª×èֹʹÓüÓÃÜÎļþ¼Ð  £¬¿ÉÒÔÖ´ÐÐÒÔÏÂÏÂÁîжÔØËü£º

sudo umount /encrypted_folder

µÇ¼ºó¸´ÖÆ

°ì·¨7£ºÖØйÒÔؼÓÃÜÎļþ¼Ð

ÈôÊÇÎÒÃÇÏ£ÍûÔÙ´ÎʹÓüÓÃÜÎļþ¼Ð  £¬¿ÉÒÔÖ´ÐÐÒÔÏÂÏÂÁîÖØйÒÔØËü£º

sudo mount -t ecryptfs /encrypted_folder /encrypted_folder

µÇ¼ºó¸´ÖÆ µÇ¼ºó¸´ÖÆ

ͨ¹ýÒÔÉÏ°ì·¨  £¬ÎÒÃÇÀֳɵØÔÚCentOSϵͳÉÏÆôÓÃÁËÎļþϵͳ¼ÓÃܹ¦Ð§¡£Õ⽫±£»¤ÎÒÃǵÄÃô¸ÐÊý¾ÝÃâÊܲ»·¨»á¼û¡£ÔÚ²Ù×÷ϵͳÆô¶¯Ê±  £¬ÎÒÃÇÐèÒªÊäÈëÃÜÂë²Å»ª»á¼û¼ÓÃÜÎļþ¼ÐÖеÄÊý¾Ý¡£

ÖµµÃ×¢ÖصÄÊÇ  £¬ÈôÊÇÎÒÃÇÏ£ÍûÔÚCentOSϵͳÉÏʹÓÃÎļþϵͳ¼ÓÃܹ¦Ð§  £¬ÎÒÃÇÐèÒªÏÈ×°ÖÃÏìÓ¦µÄÈí¼þ°ü¡£ÁíÍâ  £¬¼ÓÃÜÎļþ¼ÐÖ»ÄÜÔÚÄ¿½ñÓû§µÇ¼ʱ×Ô¶¯¹ÒÔØ¡£ÈôÊÇÓÐÆäËûÓû§ÐèÒª»á¼û¼ÓÃܵÄÎļþ¼Ð  £¬ÐèҪʹÓÃÏìÓ¦µÄÓû§¾ÙÐйÒÔØ¡£

±¾ÎÄÌṩÁËһЩ»ù±¾µÄ´úÂëʾÀý  £¬Õ¹Ê¾ÁËÔõÑùÔÚCentOSϵͳÉÏÆôÓÃÎļþϵͳ¼ÓÃÜÒÔ±£»¤Ãô¸ÐÊý¾Ý¡£Ï£ÍûÕâЩʾÀýÄܹ»×ÊÖúÄã½øÒ»²½ÏàʶºÍÓ¦ÓÃÎļþϵͳ¼ÓÃܹ¦Ð§  £¬È·±£ÄãµÄÃô¸ÐÊý¾ÝµÄÇå¾²ÐÔ¡£

ÒÔÉϾÍÊÇÔõÑùÆôÓÃCentOSϵͳÉϵÄÎļþϵͳ¼ÓÃÜÒÔ±£»¤Ãô¸ÐÊý¾ÝµÄÏêϸÄÚÈÝ  £¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡

ÃâÔð˵Ã÷£ºÒÔÉÏչʾÄÚÈÝȪԴÓÚÏàÖúýÌå¡¢ÆóÒµ»ú¹¹¡¢ÍøÓÑÌṩ»òÍøÂçÍøÂçÕûÀí  £¬°æȨÕùÒéÓë±¾Õ¾ÎÞ¹Ø  £¬ÎÄÕÂÉæ¼°¿´·¨Óë¿´·¨²»´ú±í尊龙凯时人生就是博ÂËÓÍ»úÍø¹Ù·½Ì¬¶È  £¬Çë¶ÁÕß½ö×ö²Î¿¼¡£±¾ÎĽӴýתÔØ  £¬×ªÔØÇë˵Ã÷À´ÓÉ¡£ÈôÄúÒÔΪ±¾ÎÄÇÖÕ¼ÁËÄúµÄ°æȨÐÅÏ¢  £¬»òÄú·¢Ã÷¸ÃÄÚÈÝÓÐÈκÎÉæ¼°ÓÐÎ¥¹«µÂ¡¢Ã°·¸Ö´·¨µÈÎ¥·¨ÐÅÏ¢  £¬ÇëÄúÁ¬Ã¦ÁªÏµ尊龙凯时人生就是博ʵʱÐÞÕý»òɾ³ý¡£

Ïà¹ØÐÂÎÅ

ÁªÏµ尊龙凯时人生就是博

13452372176

¿É΢ÐÅÔÚÏß×Éѯ

ÊÂÇéʱ¼ä£ºÖÜÒ»ÖÁÖÜÎå  £¬9:30-18:30  £¬½ÚãåÈÕÐÝÏ¢

QR code
sitemap¡¢ÍøÕ¾µØͼ