User Tools

Site Tools


raspberry_pi:projects:wordpress

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
raspberry_pi:projects:wordpress [2025/02/07 08:58] jmbargalloraspberry_pi:projects:wordpress [2025/02/07 09:05] (current) jmbargallo
Line 170: Line 170:
 Warning! It is important that you request unique values each time. Do NOT copy the values shown below! Warning! It is important that you request unique values each time. Do NOT copy the values shown below!
  
-Output +    define('AUTH_KEY',         '1jl/vqfs<XhdXoAPz9 DO NOT COPY THESE VALUES c_j{iwqD^<+c9.k<J@4H'); 
-define('AUTH_KEY',         '1jl/vqfs<XhdXoAPz9 DO NOT COPY THESE VALUES c_j{iwqD^<+c9.k<J@4H'); +    define('SECURE_AUTH_KEY',  'E2N-h2]Dcvp+aS/p7X DO NOT COPY THESE VALUES {Ka(f;rv?Pxf})CgLi-3'); 
-define('SECURE_AUTH_KEY',  'E2N-h2]Dcvp+aS/p7X DO NOT COPY THESE VALUES {Ka(f;rv?Pxf})CgLi-3'); +    define('LOGGED_IN_KEY',    'W(50,{W^,OPB%PB<JF DO NOT COPY THESE VALUES 2;y&,2m%3]R6DUth[;88'); 
-define('LOGGED_IN_KEY',    'W(50,{W^,OPB%PB<JF DO NOT COPY THESE VALUES 2;y&,2m%3]R6DUth[;88'); +    define('NONCE_KEY',        'll,4UC)7ua+8<!4VM+ DO NOT COPY THESE VALUES #`DXF+[$atzM7 o^-C7g'); 
-define('NONCE_KEY',        'll,4UC)7ua+8<!4VM+ DO NOT COPY THESE VALUES #`DXF+[$atzM7 o^-C7g'); +    define('AUTH_SALT',        'koMrurzOA+|L_lG}kf DO NOT COPY THESE VALUES  07VC*Lj*lD&?3w!BT#-'); 
-define('AUTH_SALT',        'koMrurzOA+|L_lG}kf DO NOT COPY THESE VALUES  07VC*Lj*lD&?3w!BT#-'); +    define('SECURE_AUTH_SALT', 'p32*p,]z%LZ+pAu:VY DO NOT COPY THESE VALUES C-?y+K0DK_+F|0h{!_xY'); 
-define('SECURE_AUTH_SALT', 'p32*p,]z%LZ+pAu:VY DO NOT COPY THESE VALUES C-?y+K0DK_+F|0h{!_xY'); +    define('LOGGED_IN_SALT',   'i^/G2W7!-1H2OQ+t$3 DO NOT COPY THESE VALUES t6**bRVFSD[Hi])-qS`|'); 
-define('LOGGED_IN_SALT',   'i^/G2W7!-1H2OQ+t$3 DO NOT COPY THESE VALUES t6**bRVFSD[Hi])-qS`|'); +    define('NONCE_SALT',       'Q6]U:K?j4L%Z]}h^q7 DO NOT COPY THESE VALUES 1% ^qUswWgn+6&xqHN&%'); 
-define('NONCE_SALT',       'Q6]U:K?j4L%Z]}h^q7 DO NOT COPY THESE VALUES 1% ^qUswWgn+6&xqHN&%'); + 
 These are configuration lines that you will paste directly into your configuration file to set secure keys. Copy the output you received to your clipboard, and then open the WordPress configuration file located in your document root: These are configuration lines that you will paste directly into your configuration file to set secure keys. Copy the output you received to your clipboard, and then open the WordPress configuration file located in your document root:
  
     sudo nano /var/www/wordpress/wp-config.php     sudo nano /var/www/wordpress/wp-config.php
  
-Find the section that contains the dummy values for those settings. It will look something like this: +Find the section that contains the dummy values for those settings.. . .
-/var/www/wordpress/wp-config.php +
- +
-. . . +
- +
-define('AUTH_KEY',         'put your unique phrase here'); +
-define('SECURE_AUTH_KEY',  'put your unique phrase here'); +
-define('LOGGED_IN_KEY',    'put your unique phrase here'); +
-define('NONCE_KEY',        'put your unique phrase here'); +
-define('AUTH_SALT',        'put your unique phrase here'); +
-define('SECURE_AUTH_SALT', 'put your unique phrase here'); +
-define('LOGGED_IN_SALT',   'put your unique phrase here'); +
-define('NONCE_SALT',       'put your unique phrase here'); +
- +
-. . .+
  
 Delete these lines and paste in the values you copied from the command line: Delete these lines and paste in the values you copied from the command line:
 /var/www/wordpress/wp-config.php /var/www/wordpress/wp-config.php
- 
-. . . 
- 
-define('AUTH_KEY',         'VALUES COPIED FROM THE COMMAND LINE'); 
-define('SECURE_AUTH_KEY',  'VALUES COPIED FROM THE COMMAND LINE'); 
-define('LOGGED_IN_KEY',    'VALUES COPIED FROM THE COMMAND LINE'); 
-define('NONCE_KEY',        'VALUES COPIED FROM THE COMMAND LINE'); 
-define('AUTH_SALT',        'VALUES COPIED FROM THE COMMAND LINE'); 
-define('SECURE_AUTH_SALT', 'VALUES COPIED FROM THE COMMAND LINE'); 
-define('LOGGED_IN_SALT',   'VALUES COPIED FROM THE COMMAND LINE'); 
-define('NONCE_SALT',       'VALUES COPIED FROM THE COMMAND LINE'); 
- 
-. . . 
  
 Next, modify the database connection settings at the top of the file. You need to adjust the database name, the database user, and the associated password that you’ve configured within MariaDB. Next, modify the database connection settings at the top of the file. You need to adjust the database name, the database user, and the associated password that you’ve configured within MariaDB.
Line 223: Line 195:
 /var/www/wordpress/wp-config.php /var/www/wordpress/wp-config.php
  
-. . .+Modify the values:
  
-define('DB_NAME', 'wordpress');+   define('DB_NAME', 'wordpress');
  
-/** MySQL database username */ +   /** MySQL database username */ 
-define('DB_USER', 'wordpress_user');+   define('DB_USER', 'wordpress_user');
  
-/** MySQL database password */ +   /** MySQL database password */  
-define('DB_PASSWORD', 'password');+   define('DB_PASSWORD', 'password');
  
-. . .+   define('FS_METHOD', 'direct');
  
-define('FS_METHOD''direct');+Save and close the file when you are finished. Finallyyou can finish installing and configuring WordPress by accessing it through your web browser.
  
-Save and close the file when you are finished. Finally, you can finish installing and configuring WordPress by accessing it through your web browser. +===== Step 6 — Completing the Installation Through the Web Interface ===== 
-Step 6 — Completing the Installation Through the Web Interface+ 
 +Now that the server configuration is complete, we can complete the installation through the web interface.
raspberry_pi/projects/wordpress.1738918705.txt.gz · Last modified: 2025/02/07 08:58 by jmbargallo