Posted inLinux

Solusi cURL dh key too small di Debian

Salah satu website yang biasa saya cek pake cURL muncul pesan error dh key too small, lengkapnya bisa dilihat dibawah ini * Connected to domain.co.id (10.10.10.10) port 443 (#0) * ALPN, offering h2 * ALPN, offering http/1.1 * successfully set certificate verify locations: * CAfile: none CApath: /etc/ssl/certs * error:141A318A:SSL routines:tls_process_ske_dhe:dh key too small * […]

Posted inLinux

Cara Install PHP 7.4 Nginx 1.17 MariaDB di Centos 8

Disini kita akan membahas cara install PHP Mysql/MariaDB dan NGINX di CentOS 8, cara ini bisa digunakan untuk menginstall CodeIgniter 4, Laravel, WordPress, Moodle CMS dan lain sebagainya. Karena dari antara CMS CMS tersebut yang paling penting adalah koneksi antara NGINX PHP Mariadb bisa dijalankan dengan sempurna. Jika ini adalah server pertama anda, waktu yang […]

Posted inLinux

Solusi Nextcloud 18 could not get login credentials because session is unavailable

Beberapa log yang relevan dengan error session di nextcloud {"reqId":"fwtrhZVBHBffHb1KZISV","level":0,"time":"2020-03-24T19:06:53+07:00","remoteAddr":"127.0.0.1","user":"jaranguda","app":"core","method":"GET","url":"/ocs/v2.php/core/getapppassword","message":"could not get login credentials because session is unavailable","userAgent":"curl/7.61.1","version":"18.0.3.0"}   {"reqId":"SutKHiFhPoTvMNA5AwjN","level":0,"time":"2020-03-24T19:02:00+07:00","remoteAddr":"127.0.0.2","user":"–","app":"core","method":"GET","url":"/apps/files/","message":{"Exception":"OC\\AppFramework\\Middleware\\Security\\Exceptions\\NotLoggedInException","Message":"Current user is not logged in","Code":401,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php","line":97,"function":"beforeController","class":"OC\\AppFramework\\Middleware\\Security\\SecurityMiddleware","type":"->","args":[{"__class__":"OCA\\Files\\Controller\\ViewController"},"index"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":98,"function":"beforeController","class":"OC\\AppFramework\\Middleware\\MiddlewareDispatcher","type":"->","args":[{"__class__":"OCA\\Files\\Controller\\ViewController"},"index"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":125,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Files\\Controller\\ViewController"},"index"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Files\\Controller\\ViewController","index",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"files.view.index"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"_route":"files.view.index"}]},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":299,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"_route":"files.view.index"}]},{"file":"/var/www/nextcloud/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/files/"]},{"file":"/var/www/nextcloud/index.php","line":38,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/nextcloud/lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php","Line":142,"CustomMessage":"–"},"userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36","version":"18.0.3.0"}   127.0.0.2 – – [24/Mar/2020:11:57:57 +0000] "GET / HTTP/2.0" 302 0 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 […]

Posted inLinux

Install Nextcloud 18.0.3 Centos 8 dan Letsencrypt SSL

Nextcloud adalah file storage yang banyak digunakan seantro internet. Instalasi nextcloud untuk pemula cukup membingungkan karena harus mengkoneksikan beberapa services, seperti PHP, MySQL, Web Server. Disini anda akan dipandu cara install Nextcloud 18 di Centos 8 tahap demi tahap. Update system yum update;yum upgrade -y Install dependency yum install git unzip socat python3-policycoreutils -y Install […]

Posted inLinux

Install Nextcloud 18 Debian 10 PHP MARIADB NGINX dan Letsencrypt

Tutorial kali ini adalah cara untuk menginstall Nextcloud di Debian 10 lengkap dengan PHP 7.3 MariaDB 10.3 dan Nginx 1.16.1, buat yang belum tau Nextcloud, Nextcloud adalah aplikasi berbasis web yang memudahkan untuk berbagi file bisa dibilang mirip dengan Google Drive, dengan kemudahan untuk mengatur akses per folder/group. Nextcloud banyak digunakan oleh perusahaan untuk mempermudah […]

Posted inLinux

Cek Mixed Content SSL dengan cURL

Beberapa contoh error mixed content SSL yang ditampilkan Blocked loading mixed active content "http://api.jaranguda.com/vs.js" Error tersebut muncul karena situs https (SSL) yang kita buka, mencoba mengambil data dari http (non-SSL). Contoh yang paling sering terjadi adalah error meload data CSS, gambar dan javascript. Untuk melihat situs http yang diload, bisa dicek dengan melihat source page […]