{"id":8627,"date":"2018-01-24T02:00:39","date_gmt":"2018-01-24T02:00:39","guid":{"rendered":"https:\/\/stevepedwards.today\/DebianAdmin\/?p=7695"},"modified":"2023-10-28T20:05:06","modified_gmt":"2023-10-28T19:05:06","slug":"new-mint-install-want-wordpress-at-home-full-steps-i-take","status":"publish","type":"post","link":"https:\/\/stevepedwards.today\/DebianAdmin\/new-mint-install-want-wordpress-at-home-full-steps-i-take\/","title":{"rendered":"New Mint Install and Want WordPress at Home? Full Steps I Take&#8230;\u00a0"},"content":{"rendered":"<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_8627\" class=\"pvc_stats all  \" data-element-id=\"8627\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n<p>After a new Mint install! Personal Extras:<\/p>\n<p><span style=\"color: #0000ff;\">sudo apt-get install ssh nmap vim automake autoconf module-assistant nbtscan locate libnss-winbind winbind g++ gparted intel-microcode amd64-microcode linux-firmware mysql-server wordpress apache2 samba libapache2-mod-php php-mbstring php-curl php php-mysql<\/span><\/p>\n<p><span style=\"color: #0000ff;\">sudo passwd root<\/span><\/p>\n<p><span style=\"color: #0000ff;\">sudo smbpasswd -a stevee<\/span><\/p>\n<p>To check FS every boot:<br \/>\n<span style=\"color: #0000ff;\">sudo tune2fs -c 1 \/dev\/sda1<\/span><\/p>\n<p><span style=\"color: #0000ff;\">sudo vim \/etc\/samba\/smb.conf<\/span><\/p>\n<p>Uncomment the [homes] section - permissions according to what read\/write access you want from remote PCs:<\/p>\n<p><span style=\"color: #ff0000;\">[homes]<\/span><\/p>\n<p><span style=\"color: #ff0000;\">; comment = Home Directories<\/span><br \/>\n<span style=\"color: #ff0000;\">browseable = 1<\/span><\/p>\n<p><span style=\"color: #ff0000;\">read only = 0<\/span><\/p>\n<p><span style=\"color: #ff0000;\">create mask = 0775<\/span><\/p>\n<p><span style=\"color: #ff0000;\">directory mask = 0775<\/span><\/p>\n<p><span style=\"color: #ff0000;\">valid users = %S<\/span><\/p>\n<p>To add extra shares, write them at the bottom of the file in the form:<\/p>\n<p><span style=\"color: #00ff00;\">[varwww]<\/span><br \/>\n<span style=\"color: #00ff00;\">path = \/var\/www\/<\/span><br \/>\n<span style=\"color: #00ff00;\">writeable = 1<\/span><br \/>\n<span style=\"color: #00ff00;\">browseable = 1<\/span><\/p>\n<p>Save the file in vim with<\/p>\n<p><span style=\"color: #0000ff;\">:wq<\/span><\/p>\n<p>Check it for errors:<\/p>\n<p>stevee@laptop:~$ <span style=\"color: #0000ff;\">testparm<\/span><br \/>\n<span style=\"color: #ff0000;\">Load smb config files from \/etc\/samba\/smb.conf<\/span><br \/>\n<span style=\"color: #ff0000;\">Loaded services file OK.<\/span><br \/>\n<span style=\"color: #ff0000;\">Weak crypto is allowed<\/span><\/p>\n<p><span style=\"color: #0000ff;\">sudo service smbd restart<\/span><\/p>\n<p><span style=\"color: #0000ff;\">sudo service nmbd restart<\/span><\/p>\n<p>TO see OS load operations at boot, remove text:<\/p>\n<p><span style=\"color: #0000ff;\">sudo vi \/etc\/default\/grub<\/span><\/p>\n<p><span style=\"color: #ff0000;\">GRUB_DEFAULT=0<\/span><br \/>\n<span style=\"color: #ff0000;\">GRUB_TIMEOUT_STYLE=hidden<\/span><br \/>\n<span style=\"color: #ff0000;\">GRUB_TIMEOUT=0<\/span><br \/>\n<span style=\"color: #ff0000;\">GRUB_DISTRIBUTOR=`lsb_release -i -s 2&gt; \/dev\/null || echo Debian`<\/span><br \/>\n<span style=\"color: #ff0000;\">GRUB_CMDLINE_LINUX_DEFAULT=\"\"<\/span><br \/>\n<strong><span style=\"color: #ff0000;\">GRUB_CMDLINE_LINUX=\"\"<\/span><\/strong><\/p>\n<p><span style=\"color: #0000ff;\">sudo update-grub2<\/span><\/p>\n<p><span style=\"color: #0000ff;\">sudo vi \/etc\/nsswitch.conf<\/span><br \/>\n<span style=\"color: #ff0000;\">hosts: files wins mdns4_minimal [NOTFOUND=return] dns myhostname<\/span><\/p>\n<p>For WP to run, not just read the wp-*php files will require:<\/p>\n<p><span style=\"color: #0000ff;\">sudo apt install mysql-server wordpress apache2 libapache2-mod-php php-mbstring php-curl php php-mysql<\/span><\/p>\n<p><span style=\"color: #0000ff;\">sudo vi \/etc\/apache2\/sites-enabled\/000-default.conf<\/span><\/p>\n<p><span style=\"color: #ff0000;\">DocumentRoot \/var\/www<\/span><br \/>\n<span style=\"color: #ff0000;\">Alias \"\/DebianAdmin\" \"\/var\/www\/DebianAdmin\"<\/span><br \/>\n<span style=\"color: #ff0000;\">Alias \"ElectronicsStuff\" \"\/var\/www\/ElectronicsStuff\"<\/span><br \/>\n<span style=\"color: #ff0000;\">Alias \"wordpress\" \"\/var\/www\/wordpress\"<\/span><br \/>\n<span style=\"color: #ff0000;\">Alias \"wp\" \"\/var\/www\/wp\"<\/span><\/p>\n<p><span style=\"color: #0000ff;\">sudo vi \/etc\/apache2\/apache2.conf<\/span><br \/>\n# Global configuration<br \/>\n#<br \/>\n<span style=\"color: #ff0000;\">ServerName localhost<\/span><br \/>\n# In vim, press<span style=\"color: #ff0000;\"> \/<\/span> then search \"var\/www\", and change code to:<\/p>\n<p><span style=\"color: #ffcc00;\">&lt;Directory \/var\/www&gt;<\/span><br \/>\n<span style=\"color: #ff0000;\">Options Indexes FollowSymLinks<\/span><br \/>\n<span style=\"color: #ff0000;\">AllowOverride All<\/span><br \/>\n<span style=\"color: #ff0000;\">Require all granted<\/span><br \/>\n<span style=\"color: #ffcc00;\">&lt;\/Directory&gt;<\/span><\/p>\n<p><span style=\"color: #0000ff;\">sudo service apache2 restart<\/span><\/p>\n<p>Assume all wp files are unpacked into \/var\/www: Set all files to correct permissions for a localPC only (755\/644) or net access (775\/664) install:<\/p>\n<p>Import DBs! Before you import the sql file, change the hostname of the old site to new, and add the IP address of each PC into the \/etc\/hosts file:<br \/>\n<span style=\"color: #0000ff;\">sed -i 's\/oldname.co.uk\/localhost\/g' DebianAdmin.sql<\/span><\/p>\n<p><span style=\"color: #0000ff;\">sudo vi \/etc\/hosts<\/span><\/p>\n<p><span style=\"color: #339966;\">127.0.0.1 localhost<\/span><br \/>\n<span style=\"color: #339966;\">127.0.0.1 servername<\/span><br \/>\n<span style=\"color: #339966;\">192.168.1.4 servername<\/span><br \/>\n<span style=\"color: #339966;\">192.168.1.6 servername ...etc<\/span><\/p>\n<p><span style=\"color: #339966;\"># The following lines are desirable for IPv6 capable hosts<\/span><br \/>\n<span style=\"color: #339966;\">::1 ip6-localhost ip6-loopback<\/span><br \/>\n<span style=\"color: #339966;\">fe00::0 ip6-localnet<\/span><br \/>\n<span style=\"color: #339966;\">ff00::0 ip6-mcastprefix<\/span><br \/>\n<span style=\"color: #339966;\">ff02::1 ip6-allnodes<\/span><br \/>\n<span style=\"color: #339966;\">ff02::2 ip6-allrouters<\/span><br \/>\n~<\/p>\n<p><span style=\"color: #0000ff;\">sudo cp -vr Backup\/www\/* \/var\/www\/<\/span><br \/>\n<span style=\"color: #0000ff;\">sudo chown stevee.www-data -R \/var\/www<\/span><\/p>\n<p>For home net access:<br \/>\n<span style=\"color: #0000ff;\">sudo find \/var\/www\/ -type d -exec chmod 775 -R {} +<\/span><br \/>\n<span style=\"color: #0000ff;\">sudo find \/var\/www\/ -type f -exec chmod 664 -R {} +<\/span><\/p>\n<p>To be sure WP can updates plugins if 775\/644 doesn't allow plugin installs...<br \/>\n<span style=\"color: #0000ff;\">sudo find \/var\/www\/*\/wp-* -type d -exec chmod 777 -R {} ;<\/span><\/p>\n<p>including the\u00a0 .htaccess files:<\/p>\n<p><span style=\"color: #0000ff;\">sudo find \/var\/www\/*\/.htaccess -type f -exec chmod 664 -R {} ;<\/span><\/p>\n<p>To let plugins update, you may need to open all wp-config\/ wp-admin\/ and wp-install folders:<\/p>\n<p><span style=\"color: #0000ff;\">sudo find \/var\/www\/*\/wp-* -type d -exec chmod 777 -R {} ;<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-8759\" src=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/uploads\/2018\/01\/wpconf777.png\" alt=\"\" width=\"557\" height=\"405\" \/><br \/>\nCheck plugins can update after DBs imported below.<\/p>\n<p>Set \/www\/ for apache2 access:<br \/>\n<span style=\"color: #0000ff;\">sudo chown stevee.www-data \/var\/www -R<\/span><\/p>\n<p>If Search\/Replace app is present from web and DB installed<\/p>\n<p><span style=\"color: #ff0000;\">https:\/\/stevepedwards.today\/Search-Replace-DB-master\/<\/span><\/p>\n<p>or search\/replace on cmd line:<\/p>\n<p><span style=\"color: #0000ff;\"><span style=\"color: #ffcc00;\">stevee@localhost:<\/span>\/var\/www\/Search-Replace-DB-master $ .\/srdb.cli.php -h localhost -n DebianAdmin -u root -p <span style=\"color: #00ff00;\">password<\/span> -s <span style=\"color: #00ff00;\">oldPCname<\/span> -r <span style=\"color: #00ff00;\">newPCname<\/span><\/span><\/p>\n<p>Import DB<br \/>\n<span style=\"color: #0000ff;\">cp -v Backup\/www\/*sql \/var\/www\/<\/span><br \/>\n<span style=\"color: #0000ff;\">ls -l \/var\/www<\/span><br \/>\n<span style=\"color: #0000ff;\">mysql -u root -p<\/span><br \/>\n<span style=\"color: #ff0000;\">show databases ;<\/span><\/p>\n<p><span style=\"color: #ff0000;\">create database DebianAdmin ;<\/span><br \/>\n<span style=\"color: #ff0000;\">use DebianAdmin ;<\/span><br \/>\n<span style=\"color: #ff0000;\">source \/var\/www\/DebianAdmin.sql ;<\/span><br \/>\n<span style=\"color: #ff0000;\">create database wp ;<\/span><br \/>\n<span style=\"color: #ff0000;\">use wp ;<\/span><br \/>\n<span style=\"color: #ff0000;\">source \/var\/www\/wp.sql ;<\/span><\/p>\n<p><span style=\"color: #ff0000;\">GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY 'passwd';<\/span><\/p>\n<p>(If you don't want root access after adding another user, use the REVOKE command)<\/p>\n<p><span style=\"color: #ff0000;\">GRANT ALL PRIVILEGES ON *.* TO 'stevee'@'localhost' IDENTIFIED BY 'passwd';<\/span><\/p>\n<p>(that last command may not work for later mysql version so log in as root and try:)<\/p>\n<p><span style=\"color: #ff0000;\">create user stevee@localhost ;<\/span><\/p>\n<p><span style=\"color: #ff0000;\">SET PASSWORD FOR stevee@localhost = 'pword';<\/span><\/p>\n<p><span style=\"color: #ff0000;\">GRANT ALL PRIVILEGES ON *.* TO 'stevee'@'localhost' IDENTIFIED BY 'pword';<\/span><\/p>\n<p><span style=\"color: #ff0000;\">SHOW GRANTS FOR 'stevee'@'localhost';<\/span><\/p>\n<p>The principle user name given access here is the name that goes into wp-config.php file for that database name.<\/p>\n<p><span style=\"color: #ff0000;\">exit<\/span><\/p>\n<p>FOR net access from PCs, edit 127.0.0.1 bind addr :<\/p>\n<p><span style=\"color: #0000ff;\">sudo vi \/etc\/mysql\/mysql.conf.d\/mysqld.cnf<\/span><br \/>\nbind-address = 0.0.0.0<\/p>\n<p><span style=\"color: #0000ff;\">sudo service mysql restart<\/span><\/p>\n<p>Export DB<br \/>\n<span style=\"color: #0000ff;\"><span style=\"color: #00ff00;\">stevee@localhost:\/var\/www$<\/span> sudo mysqldump -u root -p DebianAdmin &gt; \/var\/www\/localhostDA.sql<\/span><\/p>\n<p><span style=\"color: #0000ff;\">sudo apt install vsftpd<\/span><\/p>\n<p><span style=\"color: #0000ff;\">sudo vi \/etc\/vsftpd.conf<\/span><\/p>\n<p># When \"listen\" directive is enabled, vsftpd runs in standalone mode and<br \/>\n# listens on IPv4 sockets. This directive cannot be used in conjunction<br \/>\n# with the listen_ipv6 directive.<br \/>\n<span style=\"color: #ff0000;\">listen=YES<\/span><br \/>\n#<br \/>\n# This directive enables listening on IPv6 sockets. To listen on IPv4 and IPv6<br \/>\n# sockets, you must run two copies of vsftpd with two configuration files.<br \/>\n# Make sure, that one of the listen options is commented !!<br \/>\n#listen_ipv6=YES<\/p>\n<p># Uncomment this to allow local users to log in.<br \/>\n<span style=\"color: #ff0000;\">local_enable=YES<\/span><\/p>\n<p># Uncomment this to indicate that vsftpd use a utf8 filesystem.<br \/>\n<span style=\"color: #ff0000;\">utf8_filesystem=YES<\/span><\/p>\n<p><span style=\"color: #0000ff;\">sudo service vsftpd restart<\/span><\/p>\n<p>for;\u00a0Call to undefined function mb_regex_encoding()<\/p>\n<p>Check mysql\/ssh\/ftp\/apache2 ports are open<br \/>\nstevee@localhost ~ $ <span style=\"color: #0000ff;\">nmap localhost<\/span><\/p>\n<p><span style=\"color: #ff0000;\">Starting Nmap 7.01 ( https:\/\/nmap.org ) at 2018-01-31 01:47 GMT<\/span><br \/>\n<span style=\"color: #ff0000;\">Nmap scan report for 192.168.1.11<\/span><br \/>\n<span style=\"color: #ff0000;\">Host is up (0.00015s latency).<\/span><br \/>\n<span style=\"color: #ff0000;\">Not shown: 995 closed ports<\/span><br \/>\n<span style=\"color: #ff0000;\">PORT STATE SERVICE<\/span><br \/>\n<span style=\"color: #ff0000;\">21\/tcp open ftp<\/span><br \/>\n<span style=\"color: #ff0000;\">22\/tcp open ssh<\/span><br \/>\n<span style=\"color: #ff0000;\">80\/tcp open http<\/span><br \/>\n<span style=\"color: #ff0000;\">631\/tcp open ipp<\/span><br \/>\n<span style=\"color: #ff0000;\">3306\/tcp open mysql<\/span><\/p>\n<p><span style=\"color: #0000ff;\">sudo service apache2 restart<\/span><\/p>\n<p>Is php installed??<\/p>\n<p>stevee@QuadMint ~ $ <span style=\"color: #0000ff;\">php -v<\/span><\/p>\n<p><span style=\"color: #0000ff;\">sudo apt install php\u00a0php-mysql<\/span><\/p>\n<p>Importing Posts:<\/p>\n<p><span style=\"color: #0000ff;\">sudo vi \/etc\/php\/7.2\/apache2\/php.ini<\/span><\/p>\n<p>; Maximum size of POST data that PHP will accept.<br \/>\n; Its value may be 0 to disable the limit. It is ignored if POST data reading<br \/>\n; is disabled through enable_post_data_reading.<br \/>\n; https:\/\/php.net\/post-max-size<br \/>\n<span style=\"color: #ff0000;\">post_max_size = 0<\/span><\/p>\n<p>; Maximum allowed size for uploaded files.<br \/>\n; https:\/\/php.net\/upload-max-filesize<br \/>\n<span style=\"color: #ff0000;\">upload_max_filesize = 20M<\/span><\/p>\n<p><span style=\"color: #0000ff;\">sudo service apache2 restart<\/span><\/p>\n<p>for Permalink postname failure:<\/p>\n<p>stevee@localhost ~ $ <span style=\"color: #0000ff;\">sudo vi \/var\/www\/DebianAdmin\/.htaccess<\/span><\/p>\n<p><span style=\"color: #ff0000;\"># BEGIN WordPress<\/span><br \/>\n<span style=\"color: #ff0000;\">&lt;IfModule mod_rewrite.c&gt;<\/span><br \/>\n<span style=\"color: #ff0000;\">RewriteEngine On<\/span><br \/>\n<span style=\"color: #ff0000;\">RewriteBase \/DebianAdmin\/<\/span><br \/>\n<span style=\"color: #ff0000;\">RewriteRule ^index.php$ - [L]<\/span><br \/>\n<span style=\"color: #ff0000;\">RewriteCond %{REQUEST_FILENAME} !-f<\/span><br \/>\n<span style=\"color: #ff0000;\">RewriteCond %{REQUEST_FILENAME} !-d<\/span><br \/>\n<span style=\"color: #ff0000;\">RewriteRule . \/DebianAdmin\/index.php [L]<\/span><br \/>\n<span style=\"color: #ff0000;\">&lt;\/IfModule&gt;<\/span><\/p>\n<p><span style=\"color: #ff0000;\"># END WordPress<\/span><\/p>\n<p><span style=\"color: #0000ff;\">sudo a2enmod rewrite<\/span><br \/>\nEnabling module rewrite.<br \/>\nTo activate the new configuration, you need to run:<br \/>\n<span style=\"color: #0000ff;\">systemctl restart apache2<\/span><\/p>\n<p>Install chrome.deb, check bookmarks links work local and remote.<\/p>\n<p>Chrome caches the old non connected pages! Use Incognito mode (Shift-N) to check site works!! Or...<\/p>\n<p><span style=\"color: #0000ff;\">rm -vr .cache\/google-chrome\/Default\/Cache\/Cache_Data\/*<\/span><\/p>\n<p>If you see: <strong>Update Recommended<\/strong> in your now (hopefully) working WP Site:<\/p>\n<p><strong>Your site is running an insecure version of PHP (7.2.34-33+ubuntu18.04.1+deb.sury.org+1), which should be updated.<\/strong><\/p>\n<p>Upgrade to php7.4 using:<\/p>\n<p><span style=\"color: #0000ff;\">sudo apt-add-repository ppa:ondrej\/php<\/span><br \/>\n<span style=\"color: #0000ff;\">sudo apt update<\/span><br \/>\n<span style=\"color: #0000ff;\">sudo apt upgrade <\/span><br \/>\n<span style=\"color: #0000ff;\">sudo apt install php7.4<\/span><br \/>\n<span style=\"color: #0000ff;\">sudo apt update <\/span><br \/>\n<span style=\"color: #0000ff;\">sudo apt upgrade <\/span><br \/>\n<span style=\"color: #0000ff;\">sudo a2dismod php7.2<\/span><br \/>\n<span style=\"color: #0000ff;\">sudo a2enmod php7.4<\/span><br \/>\n<span style=\"color: #0000ff;\">sudo service apache2 restart<\/span><\/p>\n<p>If site is https:<br \/>\n<span style=\"color: #0000ff;\">sudo a2enmod ssl<\/span><\/p>\n<p>To disable SSL<br \/>\n<span style=\"color: #0000ff;\">sudo a2dismod ssl<\/span><br \/>\n<span style=\"color: #0000ff;\">sudo a2dissite default-ssl<\/span><br \/>\n<span style=\"color: #0000ff;\">sudo service apache2 restart<\/span><\/p>\n<p>for no ftp:<br \/>\n<span style=\"color: #0000ff;\">vi \/var\/www\/ElectronicsStuff\/wp-config.php<\/span><br \/>\n<span style=\"color: #800000;\">define('FS_METHOD','direct');<\/span><\/p>\n<p>-------------<\/p>\n<p>-------------<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_8627\" class=\"pvc_stats all  \" data-element-id=\"8627\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/stevepedwards.today\/DebianAdmin\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n<p>After a new Mint install! Personal Extras: sudo apt-get install ssh nmap vim automake autoconf module-assistant nbtscan locate libnss-winbind winbind g++ gparted intel-microcode amd64-microcode linux-firmware mysql-server wordpress apache2 samba libapache2-mod-php php-mbstring php-curl php php-mysql sudo passwd root sudo smbpasswd -a stevee To check FS every boot: sudo tune2fs -c 1 \/dev\/sda1 sudo vim \/etc\/samba\/smb.conf Uncomment <a href=\"https:\/\/stevepedwards.today\/DebianAdmin\/new-mint-install-want-wordpress-at-home-full-steps-i-take\/\" class=\"more-link\">...<span class=\"screen-reader-text\">\u00a0 New Mint Install and Want WordPress at Home? Full Steps I Take&#8230;\u00a0<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-8627","post","type-post","status-publish","format-standard","hentry","category-uncategorised"],"a3_pvc":{"activated":true,"total_views":52,"today_views":0},"_links":{"self":[{"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/posts\/8627","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/comments?post=8627"}],"version-history":[{"count":47,"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/posts\/8627\/revisions"}],"predecessor-version":[{"id":9886,"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/posts\/8627\/revisions\/9886"}],"wp:attachment":[{"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/media?parent=8627"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/categories?post=8627"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stevepedwards.today\/DebianAdmin\/wp-json\/wp\/v2\/tags?post=8627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}