Linux

ESP8266 SoftAP yapılandırması

#include <ESP8266WiFi.h>
 

IPAddress local_IP(192,168,4,22);
IPAddress gateway(192,168,4,9);
IPAddress subnet(255,255,255,0);
const char *ssid = "ESP_AP";
const char *password = "test123";

void setup()

{

Serial.begin(115200);
Serial.println();
Serial.print("Setting soft-AP configuration ... ");
Serial.println(WiFi.softAPConfig(local_IP, gateway, subnet) ? "Ready" : "Failed!");
Serial.print("Setting soft-AP ... ");
Serial.println(WiFi.softAP(ssid, password) ? "Ready" : "Failed!");
Serial.print("Soft-AP IP address = ");
Serial.println(WiFi.softAPIP());

}

void loop() {}
Kaynak : https://arduino-esp8266.readthedocs.io/en/latest/esp8266wifi/soft-access-point-class.html
Linux

Php7.2 Mcrypt

Php7.2 'ye Mcrypt eklentisini yüklemek için aşağıdaki yönergeleri takip edebilirsiniz.
apt install php7.0-dev php-pear gcc make autoconf libc-dev pkg-config libmcrypt-dev 
pecl install mcrypt-1.0.1
vim /etc/php/7.2/fpm/php.ini
extension=mcrypt.so 
/etc/init.d/php7.2-fpm restart