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:
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.
To unzip a .sql.gz file:
gzip -d a.sql.gz