Skip to main content
Drupal 8

Main navigation

  • Home
    • Question And Answer
    • NEWS
    • Projects
  • Tutorials - Drupal
    • Android
    • Other
User account menu
  • Log in

Breadcrumb

  1. Home

Server

By editor , 30 October, 2016

Install Apache 2 with SSL On Debian based Linux

Tags

  • Server
  • Linux

Install Apache following this tutorial

Activate SSL Module

sudo a2enmod ssl
sudo service apache2 force-reload
#Or sudo /etc/init.d/apache2 force-reload

By editor , 27 October, 2016

SEO Cache-Control for browser caching

Tags

  • Server
  • SEO

Example:

By editor , 24 October, 2016

Repair MySQL Database Error

Tags

  • Server
  • Database

Repair all tables
mysqlcheck -u root -p --auto-repair --check --all-databases

Repair a database
mysqlcheck -u root -p  --repair --databases databasesname

By editor , 21 October, 2016

SSL / TLS With Let's Encrypt

Tags

  • Server
  • SSL/TLS

Let's Encrypt is a free, automated, and open certificate authority allow you to get SSL / TLS Certificates for free of charge.

https://letsencrypt.org/

 

By editor , 21 October, 2016

Virtualmin Tips

Tags

  • Server
  • Linux

1. How to regain access to Webmin with IP Access Control enabled

Edit : /etc/webmin/miniserv.conf
Add your IP to : "allow"
Example :
allow=12.34.56.78 98.76.54.32

By editor , 18 September, 2016

GIT , Remove all old changes and make Current as initial

Tags

  • Git
  • Server

This is the brute-force method. It also removes the configuration of the repository.

Step 1: remove all history
rm -rf .git

By editor , 27 August, 2016

Perl warning Setting locale failed

Tags

  • Server
  • Shell
  • Linux

For that, regenerate locals and setup locale settings.

Generate locals

Ex:# locale-gen en_US.UTF-8
Or :# locale-gen fr_FR.UTF-8

An also you can use # localedef -i en_US -f UTF-8 en_US.UTF-8

By editor , 18 August, 2016

Drupal 8 clean URLs on Virtualmin

Tags

  • Drupal 8
  • Server
  • Error

Probleme 1. Showing /index.php/clean_url_path

By editor , 8 August, 2016

Mysql Tips. Useful commands

Tags

  • Shell
  • Server
  • Database

Show all columns of a table.

Syntax: SHOW COLUMNS FROM the_table_name;
Example: Show all columns of the mysql user table.
mysql> SHOW COLUMNS FROM mysql.user;

By editor , 27 July, 2016

fstab mount Examples

Tags

  • Server
  • Linux

Bind

#Bind normal www dir and mysql dir to another directory

/home/DATA/mysql/ /var/lib/mysql    none    bind
/home/DATA/www/ /var/www            none    bind

Pagination

  • Previous page
  • 3
  • Next page
Server

Links

  • Drupal.org
  • Drupal core release cycle
  • Drupal events with ease
  • Unit test with Drupal using PHPUnit (Drupal 10)
  • Tokens for file upload url
  • Tips for Docker
  • CKEditor inline image files usage for custom forms.
  • Install Docker on Linux Mint
  • Install PHP 8.1
  • Drupal Security Best Practices
  • Order and sort items with tabledrag
  • Add a custom service YAML container
  • Apply a patch with composer