Connection Information
To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.
…
Open terminal from Linux and type
$ ssh username@ip server
username@ip server password:
[root@installwordpress ~]# ls /var/www/wordpress -al
total 188
drwxr-xr-x. 5 root root 4096 Okt 12 17:44 .
drwxr-xr-x. 5 root root 64 Okt 12 17:06 ..
-rw-r–r–. 1 root root 418 Sep 25 2013 index.php
-rw-r–r–. 1 root root 19935 Mar 5 2016 license.txt
-rw-r–r–. 1 root root 7344 Agu 16 22:39 readme.html
-rw-r–r–. 1 root root 5456 Mei 24 23:02 wp-activate.php
drwxr-xr-x. 9 root root 4096 Sep 7 16:58 wp-admin
…
If you use CentOS change ownership from root:root to apache:apache
If you use Ubuntu change ownership from root:root to www-data:www-data
[root@installwordpress ~]# chown -R apache:apache /var/www/wordpress
[root@installwordpress ~]# ls /var/www/wordpress -al
total 188
drwxr-xr-x. 5 apache apache 4096 Okt 12 17:44 .
drwxr-xr-x. 5 root root 64 Okt 12 17:06 ..
-rw-r–r–. 1 apache apache 418 Sep 25 2013 index.php
-rw-r–r–. 1 apache apache 19935 Mar 5 2016 license.txt
-rw-r–r–. 1 apache apache 7344 Agu 16 22:39 readme.html
-rw-r–r–. 1 apache apache 5456 Mei 24 23:02 wp-activate.php
drwxr-xr-x. 9 apache apache 4096 Sep 7 16:58 wp-admin
…