Latest Articles
14/07/2018

Office 365 PowerShell Commands

Connect to office 365 powershell Connect with basic authentication: $Cred = Get-Credential youradminemail $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $Cred -Authentication Basic –AllowRedirection Import-PSSession […]
12/03/2017
MYSQL Queries

MYSQL Queries

Backup Database mysqldump -u root -p DBname > /var/tmp/test.com.sql and check backup file size: cd /var/tmp Backup Database from remote RDS mysqldump -P 3306 -h remoteserverdnsname -u dbuser -p […]
24/02/2017
Install free HTTPS SSL on wordpress with ubuntu

Install free HTTPS SSL on wordpress with ubuntu

Install free SSL Download and Install and Active WP Encrypt plugin : https://www.yanivp.net//wordpress.org/plugins/wp-encrypt/ Go to WordPress Settings > WP Encrypt and fill in the details Go to Register Account FIX […]
16/12/2016
Install load balancer with nginx on ubuntu 14

Install load balancer with nginx on ubuntu 14

Create EC2 with Ubuntu 14 and: sudo apt-get update sudo apt-get install nginx Backup default file sudo cp /etc/nginx/sites-available/default /etc/nginx/sites-available/default-bk sudo nano /etc/nginx/sites-available/default Add this lines: […]
04/12/2016
Install wordpress on amazon lightsail

Install wordpress on amazon lightsail

Login to https://amazonlightsail.com/  Create new instance Select wordpress instance image Choose your instance plan and Create… Select the instance and select manage, connect using SSH To view […]
26/08/2016
Install wordpress

WordPress SEO Improvements

Check SEO website online: https://www.yanivp.net//developers.google.com/speed/pagespeed/insights/ https://www.yanivp.net//gtmetrix.com https://www.yanivp.net//tools.pingdom.com/ Add website to Google Search Console: https://www.yanivp.net//www.google.com/webmasters/tools/home?hl=en Install mod_headers sudo a2enmod headers sudo service apache2 restart Reference: http://stackoverflow.com/questions/10185717/internal-server-error-htaccess Fix Optimize […]
10/08/2016
Install wordpress

Multi Sites WordPress on ec2 ubuntu 12

Create EC2 and: cd /var/tmp/ wget https://www.yanivp.net/01.sh bash 01.sh cd /var/tmp/ && wget https://www.yanivp.net/01.sh && bash 01.sh cd /var/tmp/ sudo wget http://wordpress.org/latest.tar.gz sudo tar -zxvf latest.tar.gz Create Alias: […]
08/08/2016
Install wordpress

Mount disk in ubuntu with aws volume

Create new volume on aws EC2 Attach Volume   cat /proc/partitions sudo mke2fs -F -t ext4 /dev/xvdf ( FORMAT DISK ) Create drive folder:  sudo mkdir […]
07/08/2016
Install wordpress

Restore web from aws S3 backup files

Create EC2 and: cd /var/tmp/ wget https://www.yanivp.net/01.sh bash 01.sh cd /var/tmp/ && wget https://www.yanivp.net/01.sh && bash 01.sh Download from s3 backup files: goto s3 bucket and download backup zip […]
04/08/2016
Install nginx web server & mysql & phpmyadmin on aws ubuntu 14

Install nginx web server & mysql & phpmyadmin on aws ubuntu 14

Install nginx web server & mysql & phpmyadmin on aws ubuntu 14 sudo apt-get update sudo apt-get -y install nginx sudo apt-get -y install php5-fpm sudo […]
26/07/2016
Human-Resources-767

Examples Log Queries & Find on Ubuntu

Fix log time to server timezone sudo service cron restart sudo service rsyslog restart Firewall tail /var/log/ufw.log awk '{print $1,$2,$8,$12,$21,$22}' /var/log/ufw.log awk '{print $1,$2,$3,$8,$12,$21,$22}' /var/log/ufw.log awk […]
26/06/2016
Install wordpress on amazon ubuntu server 14.0 ec2

Install wordpress on amazon ubuntu server 14.0 ec2