This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ========================== | |
| SETUP | |
| ========================== | |
| // https://www.sslshopper.com/ssl-checker.html - to check whether the ssl is installed properly or not. | |
| Pre-requisite - Apache(httpd) | |
| // installs ssl module for apache | |
| ."yum install mod_ssl" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -----YORENT SSL-------- | |
| Your account ID is 59964833 | |
| ----It is a step by step process so open the website and start doing the process step by step--- | |
| 1) GO to the below website give the domain name as (yorent.in) and it asks to create ssl for (www.yorent.in) accept it. | |
| https://zerossl.com/free-ssl | |
| 2) After mentioning the Domain name and clicking next it generates a CSR certificate - Download it. | |
| 3) After clicking on next It generates Account Key - Download it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Follow this link : https://www.rosehosting.com/blog/how-to-install-webmin-on-centos-7/ | |
| STEP1: download webmin | |
| # wget http://prdownloads.sourceforge.net/webadmin/webmin-1.831-1.noarch.rpm | |
| STEP2: install all dependencies | |
| # yum -y install perl perl-Net-SSLeay openssl perl-IO-Tty | |
| STEp3: Once the dependencies are installed, you can install Webmin using the following command: | |
| # rpm -U webmin-1.831-1.noarch.rpm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // To check the OS of the server. | |
| "cat /etc/os-release" (to check the operating system of the srever and version of it.) | |
| // Enter into the server for the first time. | |
| . Type in the given server IP:104.237.9.126 and server default password.(Opens up the server [root@USTEST ~]) | |
| // Change the default 'root' password to a different password. | |
| // can be used to change the password at any point of time by just mentioning the user at the end insterd of root. | |
| . set/reset root password |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| steps to deploy microservices: | |
| ----------------------------- | |
| Local Machine: | |
| ------------- | |
| git lab credentials | |
| userName : upfrontnl | |
| email: upfrontnl@gmail.com | |
| pass: Upfront123# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://www.npmjs.com/package/jquery-toast-plugin | |
| https://kamranahmed.info/toast | |
| // steps to follow before installing jquery toast plugin | |
| 1) npm install jquery-toast-plugin | |
| // after running the above command include the css file location and js file location in the angular.json file. | |
| 2)"styles": [ | |
| "node_modules/jquery-toast-plugin/dist/jquery.toast.min.css", | |
| "node_modules/bootstrap/dist/css/bootstrap.min.css", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // remove the braces while entering component nnme and module name. | |
| // to generate component | |
| ng generate component [component name] | |
| // to generate module with rooting file and module file. | |
| ng generate module [module name] --routing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // add this to angular by running it in teriminal | |
| ng add @angular/material | |
| 2) select the theme you want to include in your file you can select custom one and build one also | |
| 3) // add all this in module file imports | |
| BrowserAnimationsModule, | |
| ReactiveFormsModule, | |
| MatButtonModule, | |
| MatFormFieldModule, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $this->db->trans_start(); | |
| $this->db->trans_rollback(); | |
| $this->db->trans_complete(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // to show the error message with 500 error | |
| $db['default'] = array( | |
| 'db_debug' => (ENVIRONMENT !== 'production'), | |
| ); | |
| // to catch the error messages in the php model failure condition. | |
| $db['default'] = array( | |
| 'db_debug' => FALSE, | |
| ); |