This file contains 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
#bash script | |
#Arjus | |
#lemp stack for CentOS 7 with redis and composer | |
#linux | |
#nginx | |
#mariadb | |
#php7.2 TODO | |
#redis | |
#composer |
This file contains 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
#bash script | |
#Arjus | |
#magento 2 lemp stack for Ubuntu 18 with redis and composer | |
#linux | |
#nginx | |
#mariadb | |
#php7.2 | |
#redis | |
#composer |
This file contains 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
<?php include ($block->getTemplateFile('Namespace_Customtab::image.phtml')) ?> |
This file contains 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
#Docker installation commands on Ubuntu 18.04 LTS | |
#Docker Ce | |
sudo apt update | |
sudo apt install apt-transport-https ca-certificates curl software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable" | |
sudo apt update | |
sudo apt instal docker-ce |
This file contains 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
#get yarn repository | |
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - | |
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list | |
#update the repo package and install yarn | |
sudo apt update | |
sudo apt install yarn |
This file contains 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
# stop maria db | |
sudo systemctl stop mysql | |
sudo systemctl stop mariadb | |
# start mysql without checks | |
sudo mysqld_safe --skip-grant-tables & | |
sudo mysql -u root |
This file contains 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 | |
https://gist.github.com/dtomasi/ab76d14338db82ec24a1fc137caff75b | |
https://gist.github.com/johnantoni/07df65898456ace4307d5bb6cbdc7f51 | |
https://gist.github.com/jpalala/c293ed671fc1f86805d9b09f7f6989ff | |
##check nginx config | |
https://stackoverflow.com/questions/35809421/nginx-el-capitan-err-connection-refused |
This file contains 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
sudo apt-get remove --purge *mariadb\* | |
sudo apt-get autoremove | |
sudo apt-get autoclean |
This file contains 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
git branch -d <branch_name> |
This file contains 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
magento module:enable --clear-static-content Module_Name | |
magento module:disable --clear-static-content Module_Name |
NewerOlder