How to Install React Native on Windows
1. Prerequisites Software requirements To efficiently install and set up React-Native on your Windows device, you will need to install the following: Android Studio Android SDK Install JDK Node…
1. Prerequisites Software requirements To efficiently install and set up React-Native on your Windows device, you will need to install the following: Android Studio Android SDK Install JDK Node…
Apache For Apache, file name may be in sites-enabled folder, for example /etc/apache2/sites-enabled/000-default.conf or, for MAMP, it would be /Applications/MAMP/conf/apache/extra/httpd-vhosts.conf where you need this: <VirtualHost *:80> ServerAdmin povilas@laraveldaily.com DocumentRoot "/Applications/MAMP/htdocs/project1/public" ServerName project1.test </VirtualHost> See that /public part at…
STEP 1 在設定之前,請先確認自己的 NGINX 伺服器已經安裝好了,基本的安裝設定可以參考 Ubuntu Linux 安裝與設定 LEMP 網頁伺服器步驟教學。 STEP 2 建立一個放置憑證的目錄,目錄的路徑可以自由選擇,放在哪裡都可以,而考量到這個憑證是 NGINX 專用的,所以跟 NGINX 的設定檔放在一起可能會比較好管理。 cd /etc/ssl STEP 3 使用 openssl 產生自行簽署的 SSL 憑證,並且將憑證的存放路徑設成剛剛上面建立的目錄: openssl req -new -newkey rsa:2048 -nodes -keyout…
Setup New Laravel Project # go to your project root directory cd /var/www/my_project # add composer dependency composer require stripe/stripe-php Now, we have to add api keys that we have…
Step 1: Install Nginx HTTP Server To install Nginx on Ubuntu, run the commands below: sudo apt update sudo apt install nginx After installing Nginx, the commands below can be…
Write down the php version Write down the ubuntu version Write down the mysql version Write down the magento version Write down the ngins/apache version zip the /var/www file dump…
Recently I had to deploy one newly build Magento 2 site to its server for which there was no info what has been installed or what is the infrastructure (the…
安裝Certbot 這邊我們先安裝Certbot套件來協助我們完成自動化SSL認證: $ sudo add-apt-repository ppa:certbot/certbot 接著安裝Certbot的Apache package: $ sudo apt install python-certbot-apache 可以此指令驗證配置是否成功: $ sudo apache2ctl configtest 記得重啟Apache服務: $ sudo systemctl reload apache2 獲得SSL憑證 $ sudo certbot --apache -d…
Find: public function unserialize($string) { $result = json_decode($string, true); if (json_last_error() !== JSON_ERROR_NONE) { throw new \InvalidArgumentException('Unable to unserialize value.'); } return $result; } replace by: public function unserialize($string) {…
1) (in database: UPDATE setup_module SET schema_version=’1.0.0′, data_version=’1.0.0.’ WHERE module=’Amasty_Base’;) 2) bin/magento setup:upgrade 3) rm -rf var/generation/* && bin/magento setip:di:compile 4) rm -rf pub/static/* var/view_preprocessed/* && bin/magento setup:static-content:deploy zh_Hant_HK en_US…