{"id":25710,"date":"2025-04-19T13:27:05","date_gmt":"2025-04-19T05:27:05","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/25710.html"},"modified":"2025-04-19T13:27:05","modified_gmt":"2025-04-19T05:27:05","slug":"%e5%a6%82%e4%bd%95%e5%b0%86%e6%9c%ac%e5%9c%b0%e6%96%87%e4%bb%b6%e9%80%9a%e8%bf%87%e7%bb%88%e7%ab%af%e4%b8%8a%e4%bc%a0%e5%88%b0linux%e6%9c%8d%e5%8a%a1%e5%99%a8-%e6%9c%8d%e5%8a%a1%e5%99%a8-%e9%98%bf","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/25710.html","title":{"rendered":"\u5982\u4f55\u5c06\u672c\u5730\u6587\u4ef6\u901a\u8fc7\u7ec8\u7aef\u4e0a\u4f20\u5230linux\u670d\u52a1\u5668 \/\u670d\u52a1\u5668\/\u963f\u91cc\u4e91"},"content":{"rendered":"<\/p>\n<h4>\u6587\u7ae0\u76ee\u5f55<\/h4>\n<ul>\n<li>\n<ul>\n<li>\u5982\u4f55\u8fde\u63a5\u4e00\u4e2aLinux\u670d\u52a1\u5668<\/li>\n<li>\n<ul>\n<li>Linux\u670d\u52a1\u5668\u7aef\u51c6\u5907\u5de5\u4f5c<\/li>\n<li>\u5ba2\u6237\u7aef\u51c6\u5907\u5de5\u4f5c<\/li>\n<li>\n<ul>\n<li>Ubuntu\u7cfb\u7edf<\/li>\n<li>Windows\u7cfb\u7edf<\/li>\n<\/ul>\n<\/li>\n<li>\u6570\u636e\u4f20\u8f93<\/li>\n<li>\n<ul>\n<li>Ubuntu\u7cfb\u7edf<\/li>\n<li>Windows\u7cfb\u7edf<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>scp -P \u7aef\u53e3 c:\/\/xxxx.txt user&#064;ip:\/home\/root<\/p>\n<p>\u6ce8\u610f&#xff1a;<\/p>\n<p>-P \u5927\u5199<\/p>\n<p>-i \u516c\u94a5<\/p>\n<p>&#xff08;\u6211\u662f\u5c06\u6587\u4ef6\u4e0a\u4f20\u5230\u963f\u91cc\u4e91&#xff09;<\/p>\n<p>&#xff08;&#xff11;&#xff09;\u5728\u672c\u5730\u7684\u7ec8\u7aef\u4e0b&#xff0c;\u800c\u4e0d\u662f\u5728\u670d\u52a1\u5668\u4e0a\u3002\u5728\u672c\u5730\u7684\u7ec8\u7aef\u4e0a\u624d\u80fd\u5c06\u672c\u5730\u7684\u6587\u4ef6\u62f7\u5165\u670d\u52a1\u5668\u3002 &#xff08;&#xff12;&#xff09; scp -r localfile.txt username&#064;192.168.0.1:\/home\/username\/ \u5176\u4e2d&#xff0c; &#xff11;&#xff09;scp\u662f\u547d\u4ee4&#xff0c;-r\u662f\u53c2\u6570 &#xff12;&#xff09;localfile.txt \u662f\u6587\u4ef6\u7684\u8def\u5f84\u548c\u6587\u4ef6\u540d &#xff13;&#xff09;username\u662f\u670d\u52a1\u5668\u8d26\u53f7 &#xff14;&#xff09;192.168.0.1\u662f\u8981\u4e0a\u4f20\u7684\u670d\u52a1\u5668ip\u5730\u5740 &#xff15;&#xff09;\/home\/username\/\u662f\u8981\u62f7\u5165\u7684\u6587\u4ef6\u5939\u8def\u5f84<\/p>\n<h3>\u5982\u4f55\u8fde\u63a5\u4e00\u4e2aLinux\u670d\u52a1\u5668<\/h3>\n<h4>Linux\u670d\u52a1\u5668\u7aef\u51c6\u5907\u5de5\u4f5c<\/h4>\n<ul>\n<li>\n<p>\u9996\u5148\u9700\u8981\u5728Linux\u670d\u52a1\u5668\u4e0a\u5b89\u88c5openssh-server&#xff0c;\u6253\u5f00Linux\u670d\u52a1\u5668\u547d\u4ee4\u884c\u7ec8\u7aef&#xff0c;\u952e\u5165\u4e0b\u9762\u547d\u4ee4<\/p>\n<p> sudo apt-get install openssh-server<\/p>\n<ul>\n<li>1<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u4fee\u6539Linux\u670d\u52a1\u5668\u7684ssh\u914d\u7f6e\u6587\u4ef6<\/p>\n<\/li>\n<\/ul>\n<p>sudo gedit \/etc\/ssh\/sshd_config<\/p>\n<ul>\n<li>1<\/li>\n<\/ul>\n<ul>\n<li>\n<p>\u5148\u4f7f\u7528\u201d#\u201d\u6ce8\u91ca\u6389PermitRootLogin without-password<\/p>\n<\/li>\n<li>\n<p>\u6dfb\u52a0\u4e00\u884c PermitRootLogin yes<\/p>\n<\/li>\n<li>\n<p>\u7136\u540e\u5f00\u542fssh\u670d\u52a1<\/p>\n<p> ps -e | grep ssh<\/p>\n<ul>\n<li>1<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<hr \/>\n<h4>\u5ba2\u6237\u7aef\u51c6\u5907\u5de5\u4f5c<\/h4>\n<p>\u5ba2\u6237\u7aef\u65e2\u53ef\u4ee5\u662fWindows\u7cfb\u7edf\u7528\u6237&#xff0c;\u4e5f\u53ef\u4ee5\u662fLinux\u7cfb\u7edf\u7528\u6237&#xff0c;\u4e0b\u9762\u6211\u4eec\u5c31\u5206\u522b\u4ecb\u7ecd\u8fd9\u4e24\u79cd\u7cfb\u7edf\u5982\u4f55\u6765\u8fde\u63a5Linux\u670d\u52a1\u5668<\/p>\n<h5>Ubuntu\u7cfb\u7edf<\/h5>\n<ul>\n<li>\u4e00\u822c\u60c5\u51b5\u4e0b&#xff0c;Ubuntu\u7cfb\u7edf\u90fd\u662f\u81ea\u5e26\u4e86openssh-client&#xff0c;\u5982\u679c\u6ca1\u6709\u5b89\u88c5&#xff0c;\u5728\u547d\u4ee4\u884c\u952e\u5165\u4e0b\u9762<\/li>\n<\/ul>\n<p>sudo apt-get install openssh-client<\/p>\n<ul>\n<li>1<\/li>\n<\/ul>\n<ul>\n<li>\u5982\u679c\u5df2\u7ecf\u5b89\u88c5\u597d\u4e86openssh-client&#xff0c;\u90a3\u4e48\u53ef\u4ee5\u4f7f\u7528\u4e0b\u9762\u7684\u547d\u4ee4\u8fde\u63a5\u670d\u52a1\u5668<\/li>\n<li>ssh username&#064;ip \u5728\u547d\u4ee4\u884c\u4e0b\u8f93\u5165&#xff0c;\u7136\u540e\u5c31\u53ef\u4ee5\u8fde\u63a5\u5230\u670d\u52a1\u5668\u4e86<\/li>\n<\/ul>\n<p>ssh username&#064;IP<\/p>\n<ul>\n<li>1<\/li>\n<\/ul>\n<ul>\n<li>\u8fd9\u91cc\u7684username\u662f\u670d\u52a1\u5668\u7684\u4e00\u4e2a\u7528\u6237\u8d26\u53f7&#xff0c;IP\u4e5f\u662f\u670d\u52a1\u5668\u7684IP\u5730\u5740<\/li>\n<\/ul>\n<h5>Windows\u7cfb\u7edf<\/h5>\n<ul>\n<li>\n<p>Windows\u5e73\u53f0\u4e0b\u6709\u8bb8\u591a\u63d0\u4f9bssh\u670d\u52a1\u7684\u8f6f\u4ef6&#xff0c;\u6211\u4eec\u5728\u8fd9\u91cc\u4f7f\u7528Xshell 5\u8f6f\u4ef6<\/p>\n<\/li>\n<li>\n<p>\u6253\u5f00Xshell 5\u8f6f\u4ef6&#xff0c;\u70b9\u51fb\u5de6\u4e0a\u89d2\u7684\u65b0\u5efa<\/p>\n<\/li>\n<li>\n<p>\u5728\u4e3b\u673a\u5904\u8f93\u5165Linux\u670d\u52a1\u5668\u7684IP\u5730\u5740&#xff0c;\u534f\u8bae\u9009\u62e9\u4e3assh&#xff0c;\u7aef\u53e3\u53f7\u4e3a22<\/p>\n<\/li>\n<li>\n<p>\u70b9\u51fb\u786e\u5b9a\u6309\u94ae&#xff0c;\u518d\u70b9\u51fb\u8fde\u63a5&#xff0c;\u6b64\u65f6\u4f1a\u5f39\u51fa\u4e00\u4e2a\u4ea4\u4e92\u7a97\u53e3&#xff0c;\u8f93\u5165\u670d\u52a1\u5668\u7684\u4e00\u4e2a\u8d26\u6237\u548c\u5bc6\u7801<\/p>\n<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419052701-68033425e1612.jpg\" alt=\"\u8fd9\u91cc\u5199\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419052702-68033426286db.jpg\" alt=\"\u8fd9\u91cc\u5199\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419052702-68033426671a7.jpg\" alt=\"\u8fd9\u91cc\u5199\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419052702-68033426a99ef.jpg\" alt=\"\u8fd9\u91cc\u5199\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419052702-68033426e1acf.jpg\" alt=\"\u8fd9\u91cc\u5199\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419052703-6803342725d7a.jpg\" alt=\"\u8fd9\u91cc\u5199\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<hr \/>\n<h4>\u6570\u636e\u4f20\u8f93<\/h4>\n<p>\u4e0b\u9762\u6211\u4eec\u5c31\u5206\u522b\u4ecb\u7ecdWindows\u548cLinux\u4e24\u79cd\u7cfb\u7edf\u5982\u4f55\u4e0eLinux\u670d\u52a1\u5668\u8fdb\u884c\u6570\u636e\u4f20\u8f93<\/p>\n<h5>Ubuntu\u7cfb\u7edf<\/h5>\n<ul>\n<li>\u5728\u4e8e\u670d\u52a1\u5668\u8fde\u63a5\u6b63\u5e38\u540e&#xff0c;\u518d\u6b21\u6253\u5f00\u4e00\u4e2a\u547d\u4ee4\u884c\u7ec8\u7aef&#xff0c;\u952e\u5165\u4ee5\u4e0b\u547d\u4ee4&#xff0c;\u5c31\u53ef\u4ee5\u5c06\u5ba2\u6237\u7aef\u6570\u636e\u4f20\u5165\u670d\u52a1\u5668<\/li>\n<\/ul>\n<p>scp .\/filename username&#064;IP:\/home\/bio321\/Desktop<\/p>\n<ul>\n<li>1<\/li>\n<\/ul>\n<ul>\n<li>\u4e5f\u53ef\u4ee5\u5c06\u670d\u52a1\u5668\u7aef\u7684\u6570\u636e\u4f20\u5165\u5230\u5ba2\u6237\u7aef&#xff0c;\u952e\u5165\u4ee5\u4e0b\u547d\u4ee4<\/li>\n<\/ul>\n<p>scp username&#064;IP:\/home\/bio321\/Desktop\/filename .\/data <\/p>\n<ul>\n<li>1<\/li>\n<\/ul>\n<h5>Windows\u7cfb\u7edf<\/h5>\n<ul>\n<li>\u5728Linux\u670d\u52a1\u5668\u5b89\u88c5lrzsz&#xff0c;\u670d\u52a1\u5668\u7aef\u6253\u5f00\u547d\u4ee4\u884c&#xff0c;\u952e\u5165\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5<\/li>\n<\/ul>\n<p>sudo apt-get install lrzsz<\/p>\n<ul>\n<li>1<\/li>\n<\/ul>\n<ul>\n<li>\n<p>\u5c06\u5ba2\u6237\u7aef\u6570\u636e\u4f20\u5165\u670d\u52a1\u7aef&#xff0c;\u670d\u52a1\u7aef\u6253\u5f00\u547d\u4ee4\u884c&#xff0c;\u952e\u5165\u547d\u4ee4rz<\/p>\n<\/li>\n<li>\n<p>\u5c06\u670d\u52a1\u7aef\u6570\u636e\u4f20\u5165\u5ba2\u6237\u7aef&#xff0c;\u670d\u52a1\u7aef\u6253\u5f00\u547d\u4ee4\u884c&#xff0c;\u952e\u5165\u547d\u4ee4sz<\/p>\n<\/li>\n<\/ul>\n<p>1\u3001\u4ece\u670d\u52a1\u5668\u4e0a\u4e0b\u8f7d\u6587\u4ef6 scp username&#064;servername:\/path\/filename \/var\/www\/local_dir&#xff08;\u672c\u5730\u76ee\u5f55&#xff09;<\/p>\n<p>\u4f8b\u5982scp root&#064;192.168.0.101:\/var\/www\/test.txt \u628a192.168.0.101\u4e0a\u7684\/var\/www\/test.txt \u7684\u6587\u4ef6\u4e0b\u8f7d\u5230\/var\/www\/local_dir&#xff08;\u672c\u5730\u76ee\u5f55&#xff09;\\\\<\/p>\n<p>2\u3001\u4e0a\u4f20\u672c\u5730\u6587\u4ef6\u5230\u670d\u52a1\u5668 scp \/path\/filename username&#064;servername:\/path<\/p>\n<p>\u4f8b\u5982scp \/var\/www\/test.php root&#064;192.168.0.101:\/var\/www\/ \u628a\u672c\u673a\/var\/www\/\u76ee\u5f55\u4e0b\u7684test.php\u6587\u4ef6\u4e0a\u4f20\u5230192.168.0.101\u8fd9\u53f0\u670d\u52a1\u5668\u4e0a\u7684\/var\/www\/\u76ee\u5f55\u4e2d<\/p>\n<p>&#xff08;\u4e4b\u540e\u4f1a\u63d0\u9192\u8f93\u5165\u767b\u9646\u670d\u52a1\u5668\u7684\u5bc6\u7801&#xff09;<\/p>\n<p>3\u3001\u4ece\u670d\u52a1\u5668\u4e0b\u8f7d\u6574\u4e2a\u76ee\u5f55 scp -r username&#064;servername:\/var\/www\/remote_dir\/&#xff08;\u8fdc\u7a0b\u76ee\u5f55&#xff09; \/var\/www\/local_dir&#xff08;\u672c\u5730\u76ee\u5f55&#xff09;<\/p>\n<p>\u4f8b\u5982:scp -r root&#064;192.168.0.101:\/var\/www\/test \/var\/www\/<\/p>\n<p>4\u3001\u4e0a\u4f20\u76ee\u5f55\u5230\u670d\u52a1\u5668 scp -r local_dir username&#064;servername:remote_dir \u4f8b\u5982&#xff1a;scp -r test root&#064;192.168.0.101:\/var\/www\/ \u628a\u5f53\u524d\u76ee\u5f55\u4e0b\u7684test\u76ee\u5f55\u4e0a\u4f20\u5230\u670d\u52a1\u5668\u7684\/var\/www\/ \u76ee\u5f55<\/p>\n<p>tar zxvf zhcon-0.2.5.tar.gz<\/p>\n<p>\u5206\u522b\u662f\u56db\u4e2a\u53c2\u6570<br \/>\nx : \u4ece tar \u5305\u4e2d\u628a\u6587\u4ef6\u63d0\u53d6\u51fa\u6765         x&#xff1a;\u89e3\u538b\u7f29\u3002c\u662f\u538b\u7f29\u3002<br \/>\nz : \u8868\u793a tar \u5305\u662f\u88ab gzip \u538b\u7f29\u8fc7\u7684&#xff0c;\u6240\u4ee5\u89e3\u538b\u65f6\u9700\u8981\u7528 gunzip \u89e3\u538b<br \/>\nv : \u663e\u793a\u8be6\u7ec6\u4fe1\u606f<br \/>\nf xxx.tar.gz :  \u6307\u5b9a\u88ab\u5904\u7406\u7684\u6587\u4ef6\u662f xxx.tar.gz<\/p>\n<p>Linux \u4e0b\u7684\u89e3\u538b\u547d\u4ee4<\/p>\n<p>\u6ce8&#xff1a;1\u3001c-\u521b\u5efa-create<\/p>\n<p>**\u3000\u3000**2\u3001v-\u590d\u6742\u8f93\u51fa<\/p>\n<p>** \u3000 3\u3001f-\u6587\u4ef6-file**<\/p>\n<p>** 4\u3001x-\u89e3\u538b-extract**<\/p>\n<p>** 5\u3001z-gz\u683c\u5f0f**<\/p>\n<p>**\u3000\u300066666\u3001\u771f\u4e0d\u4f1a\u7528\u8bed\u6cd5\u7684\u5c31\u4f7f\u7528man\u2026\u4f8b\u5982 man tar \u4ed6\u5c31\u4f1a\u7ed9\u4f60\u73b0\u5b9etar\u7684\u4e00\u4e9b\u53c2\u6570\u64cd\u4f5c**<\/p>\n<hr \/>\n<p>.tar<\/p>\n<p>\u6253\u5305\u8bed\u6cd5&#xff1a;tar cvf newFileName.tar fileName || dirName<\/p>\n<p>\u89e3\u5305\u8bed\u6cd5&#xff1a;tar xvf newFileName.tar fileName&#xff08;-C dirName&#xff09;<\/p>\n<p>\u89e3\u91ca&#xff1a;1\u3001\u8fd9\u4e2a\u662f\u6587\u4ef6\u6253\u5305&#xff08;\u8ddf\u538b\u7f29\u6ca1\u6709\u5173\u7cfb&#xff09;<\/p>\n<p>    2\u3001\u540e\u9762\u5982\u679c\u52a0-C dirName\u7684\u8bdd\u5c31\u4ee3\u8868\u89e3\u5305(\u4e0b\u9762\u5173\u4e8etar\u7684\u90fd\u7d2f\u6b7b)\u540e\u653e\u5230dirName\u8fd9\u4e2a\u8def\u5f84\u7684\u6587\u4ef6\u5939\u4e0b\u9762<\/p>\n<p>    3\u3001newFileName\u662f\u6307\u6253\u5305\u540e\u6587\u4ef6\u7684\u6587\u4ef6\u540d   fileName\u662f\u6307\u6587\u4ef6\u540d\u3001\u5982\u679c\u6709\u591a\u4e2a\u6587\u4ef6\u7684\u8bdd\u53ef\u4ee5\u5e76\u5217\u5199\u3001\u5e76\u4e14\u7528&#034; &#034;\u7a7a\u683c\u9694\u5f00&#xff1b; \u5982\u679c\u7528dirName\u7684\u8bdd&#xff0c;\u90a3\u5c31\u6253\u5305\u90a3\u4e2a\u6587\u4ef6\u5939(\u9644\u5e26\u91cc\u9762\u7684\u6587\u4ef6)<\/p>\n<p>\u622a\u56fe&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419052703-680334275d0f5.png\" alt=\"\" \/><\/p>\n<p>** .tar.gz**<\/p>\n<p>\u538b\u7f29&#xff1a;<\/p>\n<p> \u65b9\u6cd51    tar czvf newfileName.tar.gz fileName || dirName<\/p>\n<p> \u65b9\u6cd52    tar cvf tmpfileName.tar fileName || dirName (\u5c31\u662f\u60f3\u6253\u5305\u6210.tar);     gzip -v tmpfileName.tar (\u5220\u9664\u6e90\u6587\u4ef6\u3001\u53d8\u6210\u4e86tmpfileName.tar.gz\u3001\u5e76\u4e14\u663e\u793a\u538b\u7f29\u6bd4&#8212;\u5982\u679c-v\u5199\u6210-q\u7684\u8bdd\u5c31\u4e0d\u663e\u793a\u538b\u7f29\u6bd4);<\/p>\n<p>\u89e3\u538b&#xff1a;<\/p>\n<p>1\u3001tar zxvf fileName<\/p>\n<p>  2\u3001tar xvf fileName(\u4eb2\u6d4b\u4e5f\u53ef\u4ee5)<\/p>\n<p>  3\u3001gzip -d fileName.tar.gz ;  tar xvf fileName<\/p>\n<p>\u89e3\u91ca&#xff1a;\u538b\u7f29\u7684\u65f6\u5019\u4e24\u79cd\u65b9\u5f0f\u3001\u5176\u5b9e\u7b2c\u4e00\u79cd\u591f\u7528\u4e86\u3001\u7b2c\u4e8c\u79cd\u5c31\u662f\u5206\u6b65\u8fdb\u884c\u7684\u3001\u5148\u628a\u6253\u5305\u6210tar\u3001\u7136\u540e\u7528gzip\u538b\u7f29\u6210.tar.gz\u683c\u5f0f\u3001\u63a8\u8350\u7b2c\u4e00\u79cd\u3002\u89e3\u538b\u6b63\u597d\u76f8\u53cd<\/p>\n<p>\u622a\u56fe&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419052703-680334279863b.png\" alt=\"\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419052703-68033427c1c50.png\" alt=\"\" \/><\/p>\n<p>\u4e0d\u663e\u793a\u538b\u7f29\u6bd4\u7684gzip<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419052703-68033427e1818.png\" alt=\"\" \/><\/p>\n<p>\u8fd9\u4e2a\u662f\u5427a.php\u538b\u7f29\u6210.tar.gz<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419052704-6803342810548.png\" alt=\"\" \/><\/p>\n<p>\u76f4\u63a5\u89e3\u538b \u663e\u793a\u4e86a.php<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419052704-6803342835a6f.png\" alt=\"\" \/><\/p>\n<p>\u8fd9\u4e2a\u663e\u793a\u4e86\u538b\u7f29\u6bd4<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419052704-6803342858b9e.png\" alt=\"\" \/><\/p>\n<p>\u89e3\u538be.tar.gz<\/p>\n<p>.bz2<\/p>\n<p>\u538b\u7f29&#xff1a;<\/p>\n<p>\u65b9\u6cd51\u3001 tar jcvf fileName.tar.bz2 fileName<\/p>\n<p>\u65b9\u6cd52\u3001 bzip2 -z fileName.tar.bz2 fileName.tar<\/p>\n<p>\u89e3\u538b\u7f29&#xff1a;<\/p>\n<p>  \u65b9\u6cd51\u3001 tar jxvf fileName.tar.bz2<\/p>\n<p>\u65b9\u6cd52\u3001 bzip2 -d fileName.tar.bz2; tar xvf fileName.tar<\/p>\n<p>\u6ce8\u91ca&#xff1a;\u7535\u8111\u91cc\u9762\u7b80\u5355\u7684\u6d4b\u8bd5\u901a\u8fc7\u4e86\u2026\u5982\u679c\u6709\u9519\u8bef\u8bf7\u6307\u6b63<\/p>\n<p>\u622a\u56fe&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419052704-68033428786c3.png\" alt=\"\" \/><\/p>\n<p>.zip<\/p>\n<p>\u538b\u7f29&#xff1a; tar xvf fileName.zip fileName<\/p>\n<p>\u89e3\u538b&#xff1a;upzip fileName.zip<\/p>\n<p>.rpm<\/p>\n<p>\u89e3\u538b&#xff1a;rpm2cpio fileName.rpm | cpio -div<\/p>\n<p>** .rar**<\/p>\n<p>\u4eca\u5929\u4e0d\u5c0f\u5fc3\u4e0b\u8f7d\u4e86\u4e00\u4e2arar\u7684\u6587\u4ef6&#061; &#061;<\/p>\n<p>\u56e0\u4e3alinux\u81ea\u5e26\u6ca1\u6709\u89e3\u538brar\u7684\u65b9\u6cd5\u3001\u6240\u4ee5\u5f97\u4e0b\u8f7d\u4e00\u4e2ahttp:\/\/down.itlearner.com\/soft\/2412.shtml<\/p>\n<p>make \u5b89\u88c5\u597d\u4ee5\u540e<\/p>\n<p>\u538b\u7f29&#xff1a; rar a fileName<\/p>\n<p>\u89e3\u538b&#xff1a; rar x fileName.rar<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419052704-680334289d217.png\" alt=\"\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2k\u6b21\uff0c\u70b9\u8d5e18\u6b21\uff0c\u6536\u85cf31\u6b21\u3002\u4f8b\u5982scp \/var\/www\/test.php  root@192.168.0.101:\/var\/www\/  \u628a\u672c\u673a\/var\/www\/\u76ee\u5f55\u4e0b\u7684test.php\u6587\u4ef6\u4e0a\u4f20\u5230192.168.0.101\u8fd9\u53f0\u670d\u52a1\u5668\u4e0a\u7684\/var\/www\/\u76ee\u5f55\u4e2d\u3002\u4f8b\u5982scp root@192.168.0.101:\/var\/www\/test.txt  \u628a192.168.0.101\u4e0a\u7684\/var\/www\/test.txt \u7684\u6587\u4ef6\u4e0b\u8f7d\u5230\/var\/www\/local_dir\uff08\u672c\u5730\u76ee\u5f55\uff09\\\\\u3002_linux\u4e0a\u4f20\u672c\u5730\u6587\u4ef6\u5230\u670d\u52a1\u5668<\/p>\n","protected":false},"author":2,"featured_media":25695,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[2026,58,43,96],"topic":[],"class_list":["post-25710","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-11-netinernet","tag-linux","tag-43","tag-96"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5982\u4f55\u5c06\u672c\u5730\u6587\u4ef6\u901a\u8fc7\u7ec8\u7aef\u4e0a\u4f20\u5230linux\u670d\u52a1\u5668 \/\u670d\u52a1\u5668\/\u963f\u91cc\u4e91 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/25710.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5982\u4f55\u5c06\u672c\u5730\u6587\u4ef6\u901a\u8fc7\u7ec8\u7aef\u4e0a\u4f20\u5230linux\u670d\u52a1\u5668 \/\u670d\u52a1\u5668\/\u963f\u91cc\u4e91 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2k\u6b21\uff0c\u70b9\u8d5e18\u6b21\uff0c\u6536\u85cf31\u6b21\u3002\u4f8b\u5982scp \/var\/www\/test.php root@192.168.0.101:\/var\/www\/ \u628a\u672c\u673a\/var\/www\/\u76ee\u5f55\u4e0b\u7684test.php\u6587\u4ef6\u4e0a\u4f20\u5230192.168.0.101\u8fd9\u53f0\u670d\u52a1\u5668\u4e0a\u7684\/var\/www\/\u76ee\u5f55\u4e2d\u3002\u4f8b\u5982scp root@192.168.0.101:\/var\/www\/test.txt \u628a192.168.0.101\u4e0a\u7684\/var\/www\/test.txt \u7684\u6587\u4ef6\u4e0b\u8f7d\u5230\/var\/www\/local_dir\uff08\u672c\u5730\u76ee\u5f55\uff09\\\u3002_linux\u4e0a\u4f20\u672c\u5730\u6587\u4ef6\u5230\u670d\u52a1\u5668\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/25710.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-19T05:27:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419052701-68033425e1612.jpg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/25710.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/25710.html\",\"name\":\"\u5982\u4f55\u5c06\u672c\u5730\u6587\u4ef6\u901a\u8fc7\u7ec8\u7aef\u4e0a\u4f20\u5230linux\u670d\u52a1\u5668 \/\u670d\u52a1\u5668\/\u963f\u91cc\u4e91 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-19T05:27:05+00:00\",\"dateModified\":\"2025-04-19T05:27:05+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/25710.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/25710.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/25710.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5982\u4f55\u5c06\u672c\u5730\u6587\u4ef6\u901a\u8fc7\u7ec8\u7aef\u4e0a\u4f20\u5230linux\u670d\u52a1\u5668 \/\u670d\u52a1\u5668\/\u963f\u91cc\u4e91\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5982\u4f55\u5c06\u672c\u5730\u6587\u4ef6\u901a\u8fc7\u7ec8\u7aef\u4e0a\u4f20\u5230linux\u670d\u52a1\u5668 \/\u670d\u52a1\u5668\/\u963f\u91cc\u4e91 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/25710.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5982\u4f55\u5c06\u672c\u5730\u6587\u4ef6\u901a\u8fc7\u7ec8\u7aef\u4e0a\u4f20\u5230linux\u670d\u52a1\u5668 \/\u670d\u52a1\u5668\/\u963f\u91cc\u4e91 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2k\u6b21\uff0c\u70b9\u8d5e18\u6b21\uff0c\u6536\u85cf31\u6b21\u3002\u4f8b\u5982scp \/var\/www\/test.php root@192.168.0.101:\/var\/www\/ \u628a\u672c\u673a\/var\/www\/\u76ee\u5f55\u4e0b\u7684test.php\u6587\u4ef6\u4e0a\u4f20\u5230192.168.0.101\u8fd9\u53f0\u670d\u52a1\u5668\u4e0a\u7684\/var\/www\/\u76ee\u5f55\u4e2d\u3002\u4f8b\u5982scp root@192.168.0.101:\/var\/www\/test.txt \u628a192.168.0.101\u4e0a\u7684\/var\/www\/test.txt \u7684\u6587\u4ef6\u4e0b\u8f7d\u5230\/var\/www\/local_dir\uff08\u672c\u5730\u76ee\u5f55\uff09\\\u3002_linux\u4e0a\u4f20\u672c\u5730\u6587\u4ef6\u5230\u670d\u52a1\u5668","og_url":"https:\/\/www.wsisp.com\/helps\/25710.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-19T05:27:05+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419052701-68033425e1612.jpg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/25710.html","url":"https:\/\/www.wsisp.com\/helps\/25710.html","name":"\u5982\u4f55\u5c06\u672c\u5730\u6587\u4ef6\u901a\u8fc7\u7ec8\u7aef\u4e0a\u4f20\u5230linux\u670d\u52a1\u5668 \/\u670d\u52a1\u5668\/\u963f\u91cc\u4e91 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-19T05:27:05+00:00","dateModified":"2025-04-19T05:27:05+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/25710.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/25710.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/25710.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5982\u4f55\u5c06\u672c\u5730\u6587\u4ef6\u901a\u8fc7\u7ec8\u7aef\u4e0a\u4f20\u5230linux\u670d\u52a1\u5668 \/\u670d\u52a1\u5668\/\u963f\u91cc\u4e91"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/25710","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=25710"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/25710\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/25695"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=25710"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=25710"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=25710"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=25710"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}