Autor: Tomasz Jarzyński

Cześć. Mam na imię Tomasz. Mój cel na 2016 rok? Opisać 20 różnych wzorców projektowych na tym blogu. https://github.com/Jaryn91/

How to disable SSH login for the root user on Linux? [Music no 10]

I had a problem that sometimes somebody hacked my password to my Linux server and run some programs on my Linux server. Every time when I decided to rebuild my Linux distribution on the server and change password to more crazy after a few months this happened again – somebody hacked access to my Linux.

How to disable SSH login for the root user on Linux? [Music no 10] Dowiedz się więcej »

How To Install Nginx, MySQL, PHP, PhpMyAdmin, .NET Core in Ubuntu 18.04 [Music no 8]

I wrote this post because I tried to have on one Linux server .NET Core app and MySQL with PhpMyAdmin tool. On the Internet I found how to do it on 16.04, but it doesn’t work as ease as it is written on 18.04. I wrote that post base on articles: https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-in-ubuntu-16-04 and https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-with-nginx-on-ubuntu-16-04. Login

How To Install Nginx, MySQL, PHP, PhpMyAdmin, .NET Core in Ubuntu 18.04 [Music no 8] Dowiedz się więcej »

OVH domain and Linode Domain [Music no 7]

I moved from www.oktawave.com to https://www.linode.com/.Linode is cheaper and has more RAM and disk space. I followed that instruction https://www.linode.com/docs/getting-started/ to set up a new machine. It is worth to remember to google some promo code to get an extra start some extra dollars for new register users. I decided to follow instructions from my post Hosting two websites

OVH domain and Linode Domain [Music no 7] Dowiedz się więcej »

One code, two apps, different connection strings. How to managed that problem on asp.net core 2 [Music no 6]

I want to host two applications on one Linux server. One app for dev, another app for users. The problem which I have is that I try managed with sensitive data like connection string. Both databases (for dev and prod) are available on the Internet. Ideally, I want to write an app on the Windows,

One code, two apps, different connection strings. How to managed that problem on asp.net core 2 [Music no 6] Dowiedz się więcej »

How to debug .net core 2 app on linux server via visual studio 2017 on windows? [Music no 4]

Follow those steps if the app is up and running 🙂 Go to putty: sudo apt-get update sudo apt-get install openssh-server unzip curl Debug -> Attach to process Select Connection type: SSH and write Connection target: root@yourservername.com

How to debug .net core 2 app on linux server via visual studio 2017 on windows? [Music no 4] Dowiedz się więcej »

How to set up Linux server for asp.net core 2 web app and make it visible on internet? Part 3 [Music no 3]

How to  publish site with Visual Studio 2017 to Linux server:   sudo apt-get update sudo apt-get install openssh-server unzip curl Y   Go to VS2017 and hit publish on project:  Set up debug mode on publish:

How to set up Linux server for asp.net core 2 web app and make it visible on internet? Part 3 [Music no 3] Dowiedz się więcej »