Categories
Linux Mastering Development Ubuntu

No SSH access after accidentally denied ssh in ufw/iptables on Snappy Ubuntu Core

I´m running Snappy Ubuntu Core 18.04 on Intel Nuc, located on other location then where I live permanently. Now I have accidentally denied SSH in iptables with use of ufw and SSH connection is not possible anymore and I get error ssh: connect to host mydomain.com port 22: Operation timed out Are there any options […]

Categories
Linux Mastering Development Ubuntu

I want to know about installation about ubuntu

I’m new to Ubuntu and i want to know basic command line and all installation about ubuntu OS. I don’t know nothing in ubuntu ‘coz i’m beginner student so i want to know about ubuntu and i need to work with that OS.

Categories
Linux Mastering Development Ubuntu

How to crawl a website using wget until 300 html pages are saved

I want to crawl a website recursively using wget in Ubuntu and stop it after 300 pages are downloaded. I only save the html file of a page. Currently, this is the command I am using: wget -r –mirror -p –convert-links -P ./LOCAL-DIR WEBSITE-URL –follow-tags=a I want the code to somehow count the html files […]

Categories
Linux Mastering Development Ubuntu

Cannot setup WireGuard VPN

My goal is to create a VPN so Clients have static IP addresses. Clients are able to communicate with each other and the server, Clients can reach global Internet through the VPN. Also, I’d like to setup DNS and private domain names (working with NginX). Here is config of the server: [Interface] Address = 10.0.0.1/24 […]

Categories
Mastering Development System & Network

ansible display file content to stdout

I’m using ansible 2.9.3 and I’m having trouble trying to display the content of a file from the target machine, this is my playbook : – name: Display content of resolv.conf hosts: jenkins tasks: – name: Display resolv.conf contents command: cat resolv.conf chdir=/etc register: command_output – name: Print to console debug: msg = “” And […]

Categories
Mastering Development System & Network

Setting up S3 to host ‘wp-content’ folder

If this is not the right SE to post the question, please kindly direct me to the right one. I’ve seen configuration of setting up S3 to host wp-content folder, what are the advantages of doing so? and possibly what are the disadvantages?

Categories
Cryptocurrency Development Ethereum

Is it possible to create this with Ethereum?

I am building a mobile application and I want to create a cryptocurrency around it. My problem is that I am new to crypto and to be honest I am not even sure if it’s possible what I want to do. To simplify things, let’s say that my app it’s just a button. When the […]

Categories
Mastering Development System & Network

Anyway to use try_files instead rewrite rule “example.com/index.php/*.*” use file form “example.com/*.*” on nginx

I got 404 when trying to getting file info example.com/index.php/media/.js because the file is in example.com/media/.js I use rewrite rule and it work normaly like location /index.php/media/ { rewrite /index.php/(.*) /$1 permanent; } But I dont want to redirect url and just want use try_files rule to get directly file . Is there anyway to […]

Categories
Ask Games Video Games

How do I enable bedrock breaking on a Minecraft Survival PaperSpigot server

First of all, this is my first post on this website, so sorry if this is the wrong category or something. Alright, so my problem is that I can’t break bedrock on my survival PaperSpigot server. I’m not talking about going into creative and breaking it, like a glitch to break it since it’s survival. […]

Categories
Mastering Development System & Network

How do I get a distinctive IP Address? [closed]

I see Google has 8.8.8.8 and CloudFlare has 1.1.1.1. How do I get myself a distinctive IP address? What’s involved in acquiring something that has a pattern in it?