Learn how to install ossfs 2.0 on different Linux distributions.
Installation steps
Alibaba Cloud Linux
Download the package for your system architecture.
x86_64:
sudo wget https://gosspublic.alicdn.com/ossfs/ossfs2_2.0.6_linux_x86_64.rpmaarch64:
sudo wget https://gosspublic.alicdn.com/ossfs/ossfs2_2.0.6_linux_aarch64.rpm
Install ossfs 2.0 using the appropriate command for your system architecture.
x86_64:
sudo yum install ossfs2_2.0.6_linux_x86_64.rpm -yaarch64:
sudo yum install ossfs2_2.0.6_linux_aarch64.rpm -y
Verify that ossfs 2.0 has been installed.
ossfs2 --versionNoteThe ossfs2 executable file is installed to the
/usr/local/bin/ossfs2path. If yourPATHenvironment variable does not include this directory, you must use the absolute path/usr/local/bin/ossfs2to run the program.
CentOS
Download the installation package.
sudo wget https://gosspublic.alicdn.com/ossfs/ossfs2_2.0.6_linux_x86_64.rpmInstall ossfs 2.0.
sudo yum install ossfs2_2.0.6_linux_x86_64.rpm -yVerify that ossfs 2.0 has been installed.
ossfs2 --versionNoteThe ossfs2 executable file is installed to the
/usr/local/bin/ossfs2path. If yourPATHenvironment variable does not include this directory, you must use the absolute path/usr/local/bin/ossfs2to run the program.
Ubuntu/Debian
Download the installation package.
sudo wget https://gosspublic.alicdn.com/ossfs/ossfs2_2.0.6_linux_x86_64.debInstall ossfs 2.0.
sudo dpkg -i ossfs2_2.0.6_linux_x86_64.debVerify that ossfs 2.0 has been installed.
ossfs2 --versionNoteThe ossfs2 executable file is installed to the
/usr/local/bin/ossfs2path. If yourPATHenvironment variable does not include this directory, you must use the absolute path/usr/local/bin/ossfs2to run the program.
Next step
After you install ossfs 2.0, configure the OSS bucket information and access credentials. For instructions, see Configure ossfs 2.0.