Tag Archives: Wordpress

Home »  Tag: Wordpress

Assumption: clean fresh minimal installed RedHat or Centos (or any similar linux) registered and updated to the latest revisions: rhn_register #with your details yum -y update #to get latest updates make sure either dns is working or your hosts and IP are in the local /etc/hosts file Time to start the clock: Install the needed packages. # yum -y install mysql-server httpd php php-mysql unzip wget # chkconfig httpd on; chkconfig mysqld on # /etc/init.d/mysqld start Initializing MySQL database:  Installing MySQL system tables.. . OK Filling help tables… OK To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! To do so, start the server, then issue the following commands: /usr/bin/mysqladmin -u root password ‘new-password’ /usr/bin/mysqladmin -u root -h wiki.sabeo.ie password ‘new-password’ Alternatively you can run: /usr/bin/mysql_secure_installation which will also […]

I had that on one custom installation I took over where I didn’t want to change anything or rework the whole installation. The fix was extreme  easy. the WordPress directory was owned by root while apache was running as apache user. WordPress updates are executed by the apache client. So changing the directory to be owned by apache removed the ftp request. chown apache:apache wordpress Make sure you apply all other security measures. Related posts: RedHat 6.x / Centos 6.x: How to install in WordPress in less than 10 minutes

%d bloggers like this: