Friday, December 7, 2018

How to Install PHP 7.2, Composer , npm, nodejs, mongodb & mongidb extenston on CentOS 7

npm : 3.10.10    
node : v6.16.0
https://www.rosehosting.com/blog/how-to-install-node-js-and-npm-on-centos-7/


php command package conflict issue
https://webtatic.com/packages/php56/


###Install docker community edition on centos 7
https://docs.docker.com/install/linux/docker-ce/centos/#os-requirements

###composer issue
yum install php-mbstring

Install nginx on centos 7
https://www.nginx.com/resources/wiki/start/topics/tutorials/install/
https://www.tecmint.com/install-nginx-on-centos-7/
https://www.cyberciti.biz/faq/how-to-install-and-use-nginx-on-centos-7-rhel-7/

mongo db installation link
https://www.digitalocean.com/community/tutorials/how-to-install-mongodb-on-centos-7
https://www.linode.com/docs/databases/mongodb/install-mongodb-on-centos-7/
https://linuxize.com/post/how-to-install-mongodb-on-centos-7/
https://docs.mongodb.com/manual/tutorial/install-mongodb-on-red-hat/


How to Install PHP 7.2 on CentOS 7
Ref : https://www.tecmint.com/install-php-7-in-centos-7/
yum install php-mbstring

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-lamp-amazon-linux-2.html

https://www.rosehosting.com/blog/how-to-install-php-7-2-on-centos-7/

 How to install PHP MongoDB driver for Linux?
 Ref : https://support.plesk.com/hc/en-us/articles/213916565-How-to-install-PHP-MongoDB-driver-for-Linux-

yum install php-pear
yum install php-devel
pecl install mongodb 
 


How To Install and Use Composer on CentOS 7 
https://tecadmin.net/install-php-composer-on-centos/



How To Install Latest Nodejs on CentOS/RHEL 7/6 
https://tecadmin.net/install-latest-nodejs-and-npm-on-centos/


centos7 command
https://www.thegeekdiary.com/centos-rhel-7-how-to-check-the-status-of-a-service-using-systemd/
  Change time zone UTC to IST
https://tecadmin.net/change-timezone-on-centos-and-redhat/
  https://hub.docker.com/_/mongo/
https://www.howtoforge.com/tutorial/how-to-install-and-configure-mongodb-on-centos-7/ 
https://blog.whabash.com/posts/installing-supervisor-manage-laravel-queue-processes-ubuntu
  https://gist.github.com/Integralist/72161a96641fa4a0033d
https://gist.github.com/todgru/14768fb2d8a82ab3f436
 https://www.tutorialspoint.com/redis/redis_lists.htm
https://stackoverflow.com/questions/41615574/mongodb-server-has-startup-warnings-access-control-is-not-enabled-for-the-dat

Enabling the Public-DNS of EC2 Instance

Have a look at the step-by-step instructions: For Enabling the Public-DNS of EC2 Instance

Go to console.aws.amazon.com
Go To Services -> VPC
Open Your VPCs
select your VPC connected to your EC2 and
select Actions => Edit DNS Hostnames ---> Change DNS hostnames: to YES

error package docker-ce requires container-selinux = 2.9 centos 7



yum list | grep docker-ce
 
yum remove docker \
                  docker-common \
                  container-selinux \
                  docker-selinux \
                  docker-engine
 
  

yum install --setopt=obsoletes=0 \
     docker-ce-17.03.2.ce-1.el7.centos.x86_64 \
     docker-ce-selinux-17.03.2.ce-1.el7.centos.noarch
 
 
ref : https://github.com/docker/for-linux/issues/20
 

Ref : https://docs.docker.com/install/linux/docker-ce/centos/#uninstall-old-versions