How to create your perfect server with ubuntu xenial


apt-get update && apt-get -y upgrade
apt-get install -y unzip
cd /tmp
wget --no-check-certificate -O installer.tgz "https://github.com/servisys/ispconfig_setup/tarball/master"
tar zxvf installer.tgz
cd *ispconfig*
bash install.sh

add index.php in default file of nginx at location : /etc/nginx/sites-available/default
enable phpmyadmin and squirrelmail by uncommenting in ispconfig.vhost location : /etc/nginx/sites-available/ispconfig.vhost

For Mysql backup
mysqldump -u root -p DB > DB.sql
For Mysql Restore
mysql -uUSER -pPASSWORD DB < DB.sql

To view service logs
sudo journalctl -f

To list journal entries for the nginx service:
sudo journalctl --unit nginx

To list journal entries for the nginx service starting from a given time:
sudo journalctl --unit nginx --since  "2016-10-30 18:17:16"
1+

Tracking E-mail very simple

For chrome:

Step 1:

Sign up on Shivalink.com Mail Tracker App here

It will send you activation link in mail just click on that. And login in app and Generate html by entering mail subject.

Step 2:

Install the below given extention in chrome browser

Chrome Extention

Now create new html and add the previously created html from Shivalink Mail App.

Step 3:

Goto gmail and compose new email, now when you click the body you will see ‘G’ like icon name Gorgias, just click on that and insert the template. Now Write your mail and click send.

Now your mate read your mail you will get the mail with time, to look ip you can login to Shivalink Mail App.

Also there is little hack in it. you can just send the image src path to your mate and when he clicks on it you will receive the mail and also you can see his ip in Shivalink mail App.

0