The MySQL 1030 error occurs due to the local disk space issue. The error typically occurs when the server MySQL runs from, utilises the total disk space and tries to execute any of the below mentioned tasks.
How To
A tip on how to redirect unsecured content not tagged with world wide web be redirected to secure www link
Fail2ban is an intrusion detection system that scans the log files to find malicious attacks on your servers. Fail2ban updates firewall rules on its own to block the IP addresses which are trying to exploit the server. Below are the steps to install and configure fail2ban on Ubuntu 18.04 server.
Get the newest versions of the packages and their dependencies, run the command below:
sudo apt-get update
Now install Fail2ban using the below command
Check out how to Fix the Certbot Auto-Renew Error for Let's Encrypt SSL certificates in Ubuntu.
Jitsi meet is a free open source video conferencing web application. Just like Google Meet and Zoom, Jitsi meet provides the option to easily create a meeting in a browser within seconds without additional software or browser extensions. Jitsi doesn't require an account to use its additional features like Screen Sharing, Group chat, Integration with different chat platforms like Mattermost or Slack. Below are the steps to install and configure Jitsi on an Ubuntu server.
Step 1: You will need to have a server with SSH root access.
Once the installation of Mattermost in Centos 7 has been completed and everything is working fine as mentioned in the article (Install Mattermost on Centos 7) you can follow the below steps to complete the configuration part.
1) Create the System Admin user and set up Mattermost for general use.
a) Open a browser and navigate to your Mattermost instance. For example, http://<IP-ADDRESS-OF-MATTERMOST-SERVER>:8065.
Mattermost's open-source Zoom plugin enables users to start, join voice, video and screen-sharing meetings. The plugin is installed by default and can be activated by following the below steps.
1) Go to System Console > Plugins > Zoom to configure the Zoom Plugin.
2) Enter the Zoom URL and Zoom API URL for the Zoom server, for example, https://yourzoom.com and https://api.yourzoom.com/v2 respectively.
3) Set the API Key and API Secret, generated by Zoom and used to create meetings and pull user data:
Mattermost is an open source, self-hosted, team communication platform. There are desktop clients for Windows, MacOS, and Linux and mobile apps for iOS and Android. Mattermost is a better choice for enterprises who want a robust solution with no per-user fees like Slack. When considering the performance point of view, it is having lower CPU usage because they are written in Go and React and hence provide an added advantage based on other competitor chat environments.
Let’s see how we can install Mattermost on Centos 7.
What are Pseudo-Fields?
Pseudo field is a field that you can add to any content entity type. For example, you can add a pseudo-field to nodes, taxonomy terms, users, paragraphs, etc. You can hide this field in the UI, but you cannot change it's value, because the content of this field is generated via the code.
Slick view
Slick view is a module which provides new display style to views called Slick Carousel. For this, ‘Views UI’ module is not required. If we need to customize slick slider then we can use Views UI.
Installation
Slick views: Composer requires drupal/slick_views
This will install
lick carousel has many features. Responsiveness is the main feature, that is the ability to scale according to its container. It provides advanced settings for breakpoints. The slick slider can be scrolled using the auto scroll, mouse wheel scroll, swipe, desktop mouse dragging etc. It provides settings for customizing arrow keys and its navigation also provides settings for dots under the slider for slide selecting. Slick has different skins like Full width, Full-screen Split, Grid and multiple-row carousel.
To load node details using its id in Drupal 8 uses the following syntax:
$node_details = Node::load($nid);
$node_details->field_FIELD_NAME->value;
We can load multiple nodes in Drupal 8 using load multiple() function. Note that the parameter should be an array of ids.
I had a requirement to add a multi-level responsive drop down menu in a Zyxware theme. Please do refer the below reference links to know more about responsive themes and free Drupal themes. So for that I had to edit page.tpl.php, page--front.tpl.php, style.css, template.php etc.
First I added the following code to template.php of my theme. The steps that I followed here are,
In Drupal 8, the usage of database operations such as select, update and delete are slightly changed from Drupal 7. The db_query() is deprecated in Drupal 8. To fetch a field we can use :
$query = \Drupal::database()->query('SELECT myfield from my_table where
field1 = :value1 AND field2 = :value2', array(
':value1' => $condition1,
':value2' => $condition2,
)
);
$data = $query->fetchField();
Now we can checkout the select, update, and delete operations in Drupal 8. For a field selection use,
We can send emails through HubSpot CRM using SMTP API. For sending email SMTP, first, we need to create the SMTP tokens.
Generate SMTP API Tokens
An API token provides both a username and password which can then be used to send email through the HubSpot SMTP API. We can create an SMTP token using the API link below.
https://api.hubapi.com/email/public/v1/smtpapi/tokens?hapikey=demo
Example: Use the following code for generating json code,
Running multiple iOS Simulator instances is very helpful for testing purposes. This is helpful in testing same application on different devices simultaneously or with different user credentials simultaneously.
The default behaviour does not allow to run more than one simulator instance from XCode. But it is possible to do it from the command line.
For this change the directory into Developer/Applications in XCode.app package and run simulator with the "open" command.
For upgrading any of your contributed Drupal 7 modules, you just need to follow the few steps shown below. First of all you have to make sure that Drush is installed. If not installed, follow the steps from here.
To implement push notification for a project, we first created a new custom plugin to push messages into a custom table. When the cron runs, the messages stored in the queue table will be processed and saved to the custom table. For this, create a new directory "push" in message_notify/plugins/notifier/ and use it just like email or sms. The directory may contain 2 files:
push.inc
MessageNotifierPush.class.php
In push.inc, create a plugin with class and view modes
For one of my project, I have implemented the Redis module in Drupal 8. I have used the following configurations as follows:
In Drupal, usually the date field value is saved in the database in UTC timezone format. One of our requirements for a project was to show the date in the site's timezone format. So we generated a general function to convert date in UTC timezone to any required timezone and format it.
Just use the below function to convert date in UTC timzone to a given timezone and the format date using a valid timestamp,