Sunday, December 31, 2017

How to install samba in centos


http://www.techotopia.com/index.php/Sharing_Files_between_CentOS_6_and_Windows_Systems_with_Samba

https://www.cyberciti.biz/faq/unix-create-user-account/



found this , i think this is the right one
https://www.youtube.com/watch?v=EYVO4kEQomE
https://www.if-not-true-then-false.com/2010/install-virtualbox-guest-additions-on-fedora-centos-red-hat-rhel/

How to install GIT in centos

yum install git

Reference:
https://www.rosehosting.com/blog/how-to-install-git-on-centos-7/

Saturday, December 30, 2017

How to install SSH server in linux

CentOS
https://tecadmin.net/install-or-update-openssh-server-centos-rhel-and-fedora/


No internet connection in fresh install CentOs

ip addr show
ifup enp0s3
vi /etc/sysconfig/network-scripts/ifcfg-enp0s3

https://www.youtube.com/watch?v=QeMCnkq9W10

Saturday, December 23, 2017

How to list specific column name in the table

SELECT * FROM information_schema.columns WHERE table_catalog = 'myevo' AND table_name  = 'purchase_order' and column_name = 'batch_id'


sorted

SELECT * FROM information_schema.columns WHERE table_catalog = 'vbroker20-beta1' AND table_name  = 'vb_trade_tran' order by column_name

Tuesday, December 19, 2017

Docker Networking

Lately I have a problem and yet to be solve. It's related in docker networking I guess.

When I try to run Odoo connect to Postgres using the docker-compose it will run successfully but the problem here is that I couldn't longer connected to my network ip address. If I connect our Odoo UAT as 172.18.6.180:8069 it failed as in FAILED!

After reading a LOT of article about the issue still I can't figure it out. But, I learn a few things about the docker network. Some of it , like below list.

1. Talk about bridge network - https://github.com/docker/labs/blob/master/networking/A2-bridge-networking.md


Running Tomcat and PostgresSQL in Docker



https://blog.lukaspradel.com/dockerizing-a-tomcat-postgresql-java-web-application/

https://tomcat.apache.org/tomcat-6.0-doc/appdev/sample/

free online comma separating tool

https://delim.co/#