Question

config wordpress on ubuntu server

Posted November 2, 2021 81 views
UbuntuWordPressLAMP StackUbuntu 20.04

en el paso 6 donde se ejecuta el generador de claves despues dice copiar y pegar esas claves en el archivo de config de wordpress, las claves son una serie de numeros y letras algo largo, como se hace ese paso en automatico o se tiene que escribir caracter por caraqcter? gracias.

1 comment

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Hi @jvsale70,

I take it you are talking about this tutorial here:

https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-on-ubuntu-20-04-with-a-lamp-stack

And rather than step 6, you mean the end of step 5, correct?

What you need to do in our Droplet when SSHed is to execute this:

curl -s https://api.wordpress.org/secret-key/1.1/salt/

It will provide you with the values which you can copy to your wp-config.php file. Please note that you’ll need to copy them, it won’t happen automatically.

by Lisa Tagliaferri
WordPress is an extremely popular open-source technology and WordPress sites represent 36% of all websites that are currently online. This tutorial is intended for those who are comfortable with system administration or for those who are interested in learning how to administer your own WordPress instance on the server side. In this guide, we’ll install and set up WordPress via LAMP on a Linux Ubuntu 20.04 server.
  • thank you for your reply, yes that is the tutorial I was following while trying to setup a home wordpress server, the thing was that I connected via PuTTY to this server and was trying to use the Windows CTRL+V to paste the contents between windows and nano editor within putty, it never worked. While asking, they asked for a credit or debit card as a new user before posting the question so I went to another Ubuntu help forum and somebody there told me that I needed to use the SHIFT+INSERT instead of CTRL+V or CTRL+U and that solved the issue and I could continue with the config of my home server, Thank you anyway.

    • Hi @jvsale70,

      Yes, that is correct, in order to copy or paste in a Putty terminal, you need to use the ones mentioned.

      Another possible key combination is CTRL + SHIFT + C/V to copy or paster.