Tag Archives: wordpress

How to Setup a WordPress Server

I have setup a wordpress site for a friend, but I’m afraid that I cannot remember all the steps and all corresponding commands, so I recorded what I did.

  1. Edit SSH configuration file, change port, password or disable password login for security, then restart ssh:
  2. Change IPTables rules, only allow connections desired ports, close unused ports:
  3. where 12345 is the port number set in the above step.

  4. By default, IPTables rules are not persistent, i.e. they are reverted to the default after system reboot. To save the rules, install iptables-persistent package:
  5. Continue reading How to Setup a WordPress Server