Categories
Mastering Development

How do I create an API access_token in SuiteCRM?

How do I create an API access_token in SuiteCRM? Their documentation has prerequisites of 1) Install composer, 2) creating private and public keys for Oauth2, and 3) optionally changing the Oauth encryption key. I have completed all three. I don’t know what to do next. Their documentation for non-developers like me is difficult to follow. […]

Categories
Mastering Development System & Network

ipset or iptables keeps crashing my server?

I’m trying to work out why this keeps crashing my server. Weirdly, the server stays up – but nothing can be reached (FTP, Apache, nginx, emails etc). The script is: #!/bin/bash ipset -q flush maltrailoutgoing ipset -q create maltrailoutgoing hash:net for ip in $(curl http://127.0.0.1:8338/fail2ban 2>/dev/null | grep -P ‘^[0-9.]+$’); do ipset add maltrailoutgoing $ip; […]

Categories
Mastering Development System & Network

ipset or iptables keeps crashing my server?

I’m trying to work out why this keeps crashing my server. Weirdly, the server stays up – but nothing can be reached (FTP, Apache, nginx, emails etc). The script is: #!/bin/bash ipset -q flush maltrailoutgoing ipset -q create maltrailoutgoing hash:net for ip in $(curl http://127.0.0.1:8338/fail2ban 2>/dev/null | grep -P ‘^[0-9.]+$’); do ipset add maltrailoutgoing $ip; […]

Categories
Mastering Development System & Network

OpenVPN server on VPS security

If you connect to a VPS with OVPN server installed on it, how do you manage security? If there is a database, apache, etc on the server, how do you manage which vpn clients can reach it?

Categories
User Help

How to find out server address from ip address?

I would like to enable the Live Server web extension, which uses server address and vscode-live-server-address, here you can see the plugin in tutorial https://www.youtube.com/watch?v=54wcX1G2GH8. I have set-up my virtual host according to this guide: How To Install Linux, Apache, MariaDB, PHP (LAMP) stack on Debian 10 and my config file looks like this: <VirtualHost […]

Categories
Mastering Development System & Network

Implement Policy Filter Rule on Open Source Mail Server

I have an old mail server in Linux 3.9.3. And according to its Server Monitor Page. It seems an integrate of postfix, dovecot, apache, etc. Due to its ancient version and not under maintenance web interface and limited hardware. I decided to migrate the mail server to iredmail on the virtualized CentOS. I almost did […]

Categories
Mastering Development Software

What technologies should I use for high performance?

I have a project which at the moment is a simple Linux, Apache, MySQL, and PHP (LAMP) setup. It works properly work demo data. The problem, is eventually this project will be borderline flooded with data from several sources, and must perform some basic manipulation on this data – usually it becomes a case of […]

Categories
Mastering Development System & Network

High MySQL CPU usage after a DDOS attack

My server has just been severely ddossed for the past 5 hours and I’ve managed to ward them off using Cloudflare’s firewall. The only problem is that the CPU usage is still running at high CPU amounts (varies between 300-500%) with 33.2gb of Virtual Memory used (information grabbed using htop). How can I get this […]

Categories
CMS Magento Mastering Development

Magento 2.4 Blank page for store or admin pages after installation

this is my first time setting up a Magento2 server, I’ve followed the guide from the official website. I am using PHP 7.4, mysql, apache, all on the same host. I pulled the repo to /var/www/html where it puts itself into /var/www/html/magento2 I then run "composer install" within /var/www/html/magento2, which does its thing without error. […]

Categories
Mastering Development System & Network

Hosting a python flask site with just uwsgi

Why do I need nginx when I have uWSGI Above answer shows that we don’t need nginx. As a minimalist I would like to run my python flask site on uwsgi server only. I host my site using uwsgi –socket 127.0.0.1:3031 –wsgi-file myflaskapp.py –callable app –processes 4 –threads 2 –stats 127.0.0.1:9191 as shown in docs […]