Install ossfs 2.0 on Alibaba Cloud Linux, CentOS/Rocky Linux, or Ubuntu.
Procedure
Alibaba Cloud Linux
-
Download the package for your system architecture.
-
x86_64 architecture:
sudo wget https://gosspublic.alicdn.com/ossfs/ossfs2_2.0.7_linux_x86_64.rpm -
aarch64 architecture:
sudo wget https://gosspublic.alicdn.com/ossfs/ossfs2_2.0.7_linux_aarch64.rpm
-
-
Install ossfs 2.0 for your system architecture.
-
x86_64 architecture:
sudo yum install ossfs2_2.0.7_linux_x86_64.rpm -y -
aarch64 architecture:
sudo yum install ossfs2_2.0.7_linux_aarch64.rpm -y
-
-
Verify the installation.
ossfs2 --versionNoteossfs2 is installed at
/usr/local/bin/ossfs2. If yourPATHis customized, use the absolute path/usr/local/bin/ossfs2to run ossfs2.
CentOS/Rocky Linux
-
Download the package.
sudo wget https://gosspublic.alicdn.com/ossfs/ossfs2_2.0.7_linux_x86_64.rpm -
Install ossfs 2.0.
sudo yum install ossfs2_2.0.7_linux_x86_64.rpm -y -
Verify the installation.
ossfs2 --versionNoteossfs2 is installed at
/usr/local/bin/ossfs2. If yourPATHis customized, use the absolute path/usr/local/bin/ossfs2to run ossfs2.
Ubuntu
-
Download the package.
sudo wget https://gosspublic.alicdn.com/ossfs/ossfs2_2.0.7_linux_x86_64.deb -
Install ossfs 2.0.
sudo dpkg -i ossfs2_2.0.7_linux_x86_64.deb -
Verify the installation.
ossfs2 --versionNoteossfs2 is installed at
/usr/local/bin/ossfs2. If yourPATHis customized, use the absolute path/usr/local/bin/ossfs2to run ossfs2.
What to do next
After installation, configure the OSS bucket and access credentials in the configuration file. Configure ossfs 2.0.