Advertisement
niammuddin

virtual host

Sep 24th, 2019
342
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.45 KB | None | 0 0
  1.  
  2. mkdir /var/www/keuangan.com
  3. chown -R $USER:$USER /var/www/keuangan.com
  4. cp /etc/nginx/sites-available/phpmyadmin.com /etc/nginx/sites-available/keuangan.com
  5. nano /etc/nginx/sites-available/keuangan.com
  6. ln -s /etc/nginx/sites-available/keuangan.com /etc/nginx/sites-enabled/
  7.  
  8.  
  9.  
  10.  
  11. -----------------------
  12.  
  13. Created symlink /etc/systemd/system/multi-user.target.wants/php7.3-fpm.service -> /lib/systemd/system/php7.3-fpm.service.
  14.  
  15.  
  16.  
  17. auto start php7.3-fpm
  18. ======================
  19.  
  20. 1. command terminal
  21. systemctl edit --force --full php7.3-fpm.service
  22.  
  23. 2. paste command terminal
  24. [Service]
  25. ExecStart=
  26. ExecStart=/usr/sbin/php-fpm7.3 --allow-to-run-as-root --nodaemonize --fpm-config /etc/php/7.3/fpm/php-fpm.conf
  27.  
  28. 3. command terminal
  29. sudo systemctl daemon-reload
  30.  
  31.  
  32. UPDATE wp_posts SET post_date = DATE_FORMAT(FROM_UNIXTIME(UNIX_TIMESTAMP('2018-08-01') + FLOOR(0 + (RAND() * 63072000))), '%Y-%m-%d');
  33. UPDATE wp_posts SET post_date_gmt = DATE_FORMAT(FROM_UNIXTIME(UNIX_TIMESTAMP('2018-08-01') + FLOOR(0 + (RAND() * 63072000))), '%Y-%m-%d');
  34. UPDATE wp_posts SET post_modified = DATE_FORMAT(FROM_UNIXTIME(UNIX_TIMESTAMP('2018-08-01') + FLOOR(0 + (RAND() * 63072000))), '%Y-%m-%d');
  35. UPDATE wp_posts SET post_modified_gmt = DATE_FORMAT(FROM_UNIXTIME(UNIX_TIMESTAMP('2018-08-01') + FLOOR(0 + (RAND() * 63072000))), '%Y-%m-%d');
  36.  
  37.  
  38.  
  39. bin/wordpress2blogger.sh wordpress.WordPresMacbookPro:convert niammuddin$ bin/wordpress2blogger.sh wordpress.WordPress.2019-08-30.xml
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement