Code Monkey home page Code Monkey logo

binaryapphosting's Introduction

OS Command Execution and Gets the output

https://stackoverflow.com/questions/24095661/os-exec-sudo-command-in-go/24095983#24095983

https://stackoverflow.com/questions/66854550/golang-linux-add-an-user-with-help-of-exec

https://stackoverflow.com/questions/66854550/golang-linux-add-an-user-with-help-of-exec

export PATH=$PATH:/usr/local/go/bin

-d /var/www/vhosts/automan.biz/

userdel -r automan

contabo::root:MR657GDREx

sudo netstat -tulpn | grep LISTEN

sudo apt install openssh-server

nc -v -z 127.0.0.1 22

ls -ld /var/www/vhosts/automan.biz/

usermod -G
usermod -g sftponly automan
usermod -G sftponly automan

How to permanently set $PATH on Linux/Unix

You need to add it to your ~/.profile or ~/.bashrc file.

nano .profile

 export PATH = "$PATH:/usr/local/go/bin"

chown -R automan /var/www/vhosts/automan.biz/

After that execute the following

It will automatically update your path for the remainder of the session.
source ~/.profile

Linux Pipe in golang

Reference

Services we are going to implement

PowerDNS

Dynamic DNS

How to build Dynamic DNS

mDNS

mDNS or Multicast DNS can be used to discover services on the local network without the use of an authoritative DNS server. This enables peer-to-peer discovery. It is important to note that many networks restrict the use of multicasting, which prevents mDNS from functioning. Notably, multicast cannot be used in any sort of cloud, or shared infrastructure environment. However it works well in most office, home, or private infrastructure environments.

Google drive

Maddy Emailserver

PostFix, DoveCot, Mysql, Spamassassin

Postgrey Greylisting

Greylisting in short means that when someone wants to deliver a mail to your mail server it will simply reply -Please come back later-?. That is something all RFC-compliant mail servers do and when they do come back the mail is accepted. Most spammers and spam software are not compliant and not patient enough to try again. You will be surprised to see how effective this is.

Email Client

SFTP chroot

Reverse Proxy

Expose a local server behind a NAT or firewall to the internet.

VPN Service

Tutorial

Parentral Control DNS

Ad Blocker

WebRTC

Distributed real-time communication system, the goal is to chat anydevice, anytime, anywhere

binaryapphosting's People

Contributors

irezaul avatar mateors avatar raihaninfo avatar

Stargazers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.