Daily Dose!

Hey folks!

Today I encountered with a strange problem. Few days back I was installing Ubuntu 16.04.01 VM. Today when I operated it, I noticed that it was reading something else against my keywords.

Example: Though I was typing ?, but it was displaying .

I was really bumfuzzled and then I realised it’s happening because of an exception in keyboard configuration. To solve my issue I gave command:

dpkg-reconfigure keyboard-configuration

ooh la la :p  It worked.

The other thing I came across with is IP conflict. I cloned a VM and not I was getting same IP address for two parallel VM’s.

For getting rid of this, I shut down a VM and went to:

Settings -> Network -> Advanced -> MAC Address Refresh

Matter solved 🙂

I also get to know about a way to publish a static webpage on github. You can follow this procedure: https://pages.github.com/

Apart from this, for downloading a whole website using wget, go for:

wget –random-wait -r -p robots=off -U mozilla www.example.com

Also, I wanted to change content in no. of files. What I need id to replace .html with .php. So I used:

sed -i 's/.html/.php/g' *.html

You may go through my old blog related to sed: https://deepti96.wordpress.com/2016/04/05/sed-command/

I also installed Rocket Chat on Ubuntu today.

One can follow :

apt-get install mongodb

systemctl enable mongodb
systemctl start mongodb

Apart from this, I get back to ERPNext for GST Forms and for migrating the changes donw on a single server to other, What I followed: Backup and Restore

I have to rename a database as the name was creating a conflict.

Documentation: Dropbox

To unzip a .sql.gz file:

gzip -d a.sql.gz

 

Advertisements

One thought on “Daily Dose!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s