admin

How to zip all files in a directory in Ubuntu

Linux zip command can be used to zip all files in a directory. Just write down below command in terminal and it will zip all file in directorytozip.  -r option will make sure that all files including dot files zipped recursively. zip -r filename.zip /directorytozip

How to Start, Restart, Stop Apache and MySQL on Latest version of Ubuntu

Ubuntu is one of the most used Linux derivative. I also use Ubuntu to deploy websites on Cloud servers. Here are quick snippets to manage Apache http server and MySQL database server. Managing Apache Server Starting Apache sudo service apache2 start Restarting Apache sudo service apache2 restart Stopping Apache sudo service apache2 stop In same

What is SSH & How to use SSH to login to remote host

SSH stands for Secure Shell. It’s more secure way to connect to a remote system. SSH used public key- private key pair combination to login. You can also use password authentication too for login to remote server using SSH. Let me clear few misscoception about SSH step by step. What is SSH? SSH(Secure Shell) is

How to Enable Root Login to Google Cloud vis SSH

To enable Root Login to Google Cloud, Please follow these instructions. Open SSH configuration file nano /etc/ssh/sshd_config Enable Root login and Password Authentication. PermitRootLogin yes PasswordAuthentication yes Restart SSH server systemctl restart sshd Set root password if not set already passwd root

Security and maintenance release WordPress 4.9.2 is out

Security and Maintenance release WordPress 4.9.2 is available now.  Many security issues and bugs have been fixed in this release. Its highly encouraged to upgrade to new version. WordPress 4.9.2 contains a total of 21 bug fixes. An XSS vulnerability and bugs in Twenty Seventeen, Customizer, Database, Editor, Media, REST API, Taxonomy and Widgets have been fixed.

How to reveal password hidden as asterisk in Google Chrome

(adsbygoogle = window.adsbygoogle || []).push({}); As a web developer I have to manage many login details of  websites, web servers, email accounts etc. It's hard to remember all these secure alphanumeric passwords.  In this post I will show a method to reveal password hidden as asterisk in Google Chrome. Google chrome saves the passwords and

How to change hostname in Ubuntu 17.04 Zesty Zapus

  Hostname can be changed in Ubuntu 17.4  manually by editing this files /etc/hostname & /etc/hosts and then restarting Hostname Service by service hostname restart It sometimes produces errors like Failed to restart hostname.service: Unit hostname.service is masked. Best Method for new versions of Ubuntu is: sudo hostnamectl set-hostname NewHostName Its work very well and

How to redirect a Web URL

There are different methods to redirect a Web URL or Page to a different URL or Page. Redirection cab be done using HTML , JavaScript,  Apache or PHP. In this post we will look at all different ways. HTML redirect Using meta refresh tag of HTML. <meta http-equiv=”refresh” content=”0;URL=’http://example.com/'” /> PHP redirect Using PHP header

How to Autoplay a YouTube video in Iframe embed

By Default a YouTube Iframe embed code don’t auto play a video  when embedded on a web page. It can be auto played by simply adding this URL parameter in URL of video. autoplay=1 So, The iframe code for a YouTube video which auto play when embedded on a page is <iframe width=”640″ height=”360″ src=”https://www.youtube.com/embed/LIn3tYCRZhk?rel=0&amp;autoplay=1″