This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo chown -R sammy:www-data /var/www/html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo chown -R luandevpro:www-data /var/www/html | |
| sudo find /var/www/html -type d -exec chmod g+s {} \; | |
| sudo chmod g+w /var/www/html/wp-content | |
| sudo chmod -R g+w /var/www/html/wp-content/themes | |
| sudo chmod -R g+w /var/www/html/wp-content/plugins |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl -s https://api.wordpress.org/secret-key/1.1/salt/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| define('AUTH_KEY', 'n[Z*GP0uc$S93:K:IK+~G])R90N +qfeQSsRlUC?~_,fn }C?Uu7<<.6PJIMPY-`'); | |
| define('SECURE_AUTH_KEY', 'Qsgardgfazf?rsLwtL=# xNz?<cT|!l]v6JuPvOGy*n=vxS-|}NHj$U$%,CXZmE|'); | |
| define('LOGGED_IN_KEY', '5sl5!U>JC6?Tf[N9h|mR$?10:a }sq5V*8X/j.1]-RGSfe1 tWfgPM%S^-q!NJaN'); | |
| define('NONCE_KEY', 'J*M6#Jzc#Mj22Iqf^jr^W8>Fe~yT.gLg0.K6[,beBQ|N 0@%s]2lu?N>NwWL*{m7'); | |
| define('AUTH_SALT', 'L6#3r#.~gqv`=;T}~Z|:}ngx]EngVr!#:HL?LSjRd,v:{J^MDwVdPuA-Bh]al)q='); | |
| define('SECURE_AUTH_SALT', 'Y-YQONFOo%NG#;/0G7f@8g@yg%~A8%f}SABH(yS_MDfu<|VXA}&|T=@e53?txTE6'); | |
| define('LOGGED_IN_SALT', 'qu`^|,;V-!.n?|s~totpu5|xNJ-GF=%W1avN&7[MLCmk;naBOpDp#DQH{gn>o;U('); | |
| define('NONCE_SALT', 'rd(f.;h2d6Yyc1|[N/48/7x{SL`K?Rx`B&U)6Vw0Y8KhpN0LF*)GZ];2ma@DX<kW'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| nano /var/www/html/wp-config.php |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| nano /var/www/html/wp-config.php |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git log | |
| commit deb6930da9b6b4382f6889815f78d44b03b95c89 (HEAD -> master, origin/master) | |
| Author: luandevpro <tranluan1c@gmail.com> | |
| Date: Tue Apr 3 18:08:41 2018 +0700 | |
| hoc git |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| vim index.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ESC => :q! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ESC => :w |