安裝文檔
文檔 | 建議 | 備註 |
---|---|---|
Hadoop Cluster Setup | 沒有提及 | N/A |
How To Set Up a Hadoop 3.2.1 Multi-Node Cluster on Ubuntu 18.04 (2 Nodes) | /usr/local | N/A |
Hadoop海量數據處理 | /opt | 2.3 安裝Hadoop |
大數據Hadoop 3.X分佈式處理實戰 | /usr/local | 11.1 Hadoop集羣安裝 |
HBase不睡覺書 | /usr/local | 2.5 安裝HBase |
還有哪些方式能夠獲取推薦安裝目錄?
方案對比
/usr/local | /opt | |
---|---|---|
Filesystem Hierarchy Standard | /usr/local is "for use by the system administrator when installing software locally" | /opt is for "the installation of add-on application software packages" |
What is the difference between /opt and /usr/local? | /usr/local is a place to install files built by the administrator, typically by using the make command (e.g., ./configure; make; make install) | /opt is a directory for installing unbundled packages (i.e. packages not part of the Operating System distribution, but provided by an independent source), each one in its own subdirectory |
The basic difference is that /usr/local is for software not managed by the system packager, but still following the standard unix deployment rules | /opt on the other hand is for software that doesn't follow this and is deployed in a monolithic fashion. This usually includes commercial and/or cross-platform software that is packaged in the "Windows" style | |
Linux 軟件安裝到 /usr,/usr/local/ 還是 /opt 目錄區別 | 可以理解爲C:/Program Files/ | 可以理解爲D:/Software |
根據上述討論你覺得Hadoop更應該放至?