Skip to content

Instantly share code, notes, and snippets.

@jonorsky
Last active December 20, 2018 13:43
Show Gist options
  • Save jonorsky/5322a6b1ea86d417a49b77440287689c to your computer and use it in GitHub Desktop.
Save jonorsky/5322a6b1ea86d417a49b77440287689c to your computer and use it in GitHub Desktop.
https://wiki.paparazziuav.org/wiki/Github_manual_for_Ubuntu
Install phpmyadmin
https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-with-apache-on-a-centos-7-server
Install LAMPP
https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-centos-6
Upgrade php5 to 7
https://www.1and1.com/cloud-community/learn/application/php/upgrade-php-from-54-to-70-on-a-centos-7-11-cloud-server/
Add htaccess
https://docs.bolt.cm/3.4/howto/making-sure-htaccess-works#test-if-htaccess-is-working
add htacess in var/www/html - with "RewriteEngine On"
Login oauth
1. Login the account Adnu CGC in Google
2. Go to 'https://developers.google.com/identity/sign-in/web/sign-in'
3. Click 'Configure a Project'
> Go back to Credentials tab and edit 'Oauth Client'
> Add Authorize 'Javascript Origins' and 'Authorize Redirect URI'
2. Go to "https://console.developers.google.com/?pli=1"
In left part thers, Dashboard, Library, Credentials
>In Credentials tab, click "Create"
>Create Project Name 'adnucgc'
3. click 'Create Credentials' choose 'OAuthClientID'
4. click 'Configure consent screen'
Centos7
FIX Dompdf error
Message: Call to undefined function Dompdf\mb_internal_encoding()
https://stackoverflow.com/questions/1216274/unable-to-call-the-built-in-mb-internal-encoding-method
> yum install php-mbstring
> service httpd restart
bootstrap/
└── dist/
├── css/
│ ├── bootstrap-grid.css
│ ├── bootstrap-grid.css.map
│ ├── bootstrap-grid.min.css
│ ├── bootstrap-grid.min.css.map
│ ├── bootstrap-reboot.css
│ ├── bootstrap-reboot.css.map
│ ├── bootstrap-reboot.min.css
│ ├── bootstrap-reboot.min.css.map
│ ├── bootstrap.css
│ ├── bootstrap.css.map
│ ├── bootstrap.min.css
│ └── bootstrap.min.css.map
└── js/
├── bootstrap.bundle.js
├── bootstrap.bundle.js.map
├── bootstrap.bundle.min.js
├── bootstrap.bundle.min.js.map
├── bootstrap.js
├── bootstrap.js.map
├── bootstrap.min.js
└── bootstrap.min.js.map
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment