When you just finished the WP installation in the Xshell/Centos, you maybe urge to log into the WP-admin to do some operations. It's possible to meet the situation as below:
Here the WP ask you for the FTP privilege to carry out task, how to reseolve it? Just try it like this:
Note: please replace the "/home/wwwroot/example.com” with your own directory.