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 , 15 December, 2017

Test website load using AB (ApacheBench)

Tags

  • WebService
  • Server
  • Linux
  • Utility

The apache benchmark tool is very basic, and while it will give you a solid idea of some performance.

Some parameters:

By editor , 9 June, 2017

Download and Install drupal 8/9 - Composer

Tags

  • Drupal 8
  • Server
  • Composer
  • Drupal 9

Requirements:

1. A web server (Apache or another web server)
2. Database (Mysql, MariaDB or SQLite)
3. PHP (Minimum 5.5.9)

By editor , 2 June, 2017

Cron on Drupal 8 and Linux

Tags

  • Drupal 8
  • Code
  • Linux
  • Server

Run cron by drush

drush cron

Add cron hook to a custom module.

/**
 * Implement hook_cron()
 */
function MYMODULE_cron() {
  // Your codes.
}

By editor , 24 April, 2017

Memcache - Install memcached on linux and Drupal.

Tags

  • Drupal 8
  • Code
  • Cache
  • Server

Memcache is caching server allow you to incrise and have great performence on your site. Drupal and memcached work very well and here the full tutorial you need to install and setup memcache server and your drupal instance.

By editor , 22 March, 2017

SSH Login Without Password

Tags

  • Server
  • Linux

Method 1:

By editor , 20 March, 2017

Static cache Control by .htacces

Tags

  • Linux
  • Server

Static cache Control by .htacces

If not already done, you must enable apache headers (mod_headers.c) module

Check module is enabled or not:
ls /etc/apache2/mods-enabled/

By editor , 13 February, 2017

Avoid email send by Php/Drupal mark as spam

Tags

  • PHP
  • Server
  • Linux

An email is classified as spam or not spam on the receiving end, not the sending end. But you can improve

By editor , 16 December, 2016

Notify When SSH connection success

Tags

  • Drupal 8
  • Server
  • Linux

Method 1. Call Url


You can use this method to call a Custom php script, Custom module, Databaselog .... for example.

1. Create a script (here, notify_login_url.sh)

By editor , 13 December, 2016

Install Solr Search API

Tags

  • Server
  • Linux
  • WebService

Install Solr 5.4.1 on Debian Linux

 

Step 1. Install JAVA 7 (In not already installed)

sudo apt-get install openjdk-7-jdk

By editor , 25 November, 2016

IP Failover

Tags

  • Server
  • Linux

Example : on Debian / Ubuntu / Mint ...

File :  /etc/network/interfaces

Edit interface file
vim  /etc/network/interfaces

Add / Edit like this (Here FO ip address is 123.147.159.132)

Pagination

  • Previous page
  • 2
  • 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