This paper mainly designs the configuration scheme of the porting environment and compilation support by analyzing the similarities and differences of the basic configuration,macro definitions and software dependency packages in the operating systems between ZhongKeFangDe and CentOS.It also sorts out the basic requirements of porting such as basic environment requirements,compilation and packaging tools as well as software sources.According to the SRPM file adapted to CentOS operating system,the SPEC file adapted to the domestic operating system of ZhongKeFangDe is designed and written,and the Ceph porting software package is completed.The main points of Ceph porting in domestic operating systems are summarized targeting at the characteristics of different domestic operating systems.The results of deployment test and functional test show that the transplanted Ceph is fully functional and meets the requirements of porting.