Skip to content

Instantly share code, notes, and snippets.

View hongsea's full-sized avatar

Heng Hongsea hongsea

View GitHub Profile
@hongsea
hongsea / iftop.sh
Created September 21, 2022 04:07 — forked from lemonlatte/iftop.sh
Amazon Linux install iftop
amazon-linux-extras install epel -y
yum-config-manager --enable epel
yum install iftop

1. Install Package base

$ sudo pacman -S wireshark-qt

2. Add group

$ sudo gpasswd -a $USER wireshark
$ newgrp wireshark
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
upstream localhost {
        least_conn;
        server localhost:8000;
        server localhost:8082 backup;
    }

    server {
        listen      80 default_server;
 listen [::]:80 default_server;

INSTALL POSTGRESQL ON KOOMPIOS

1. Install package

$ sudo pacman -Sy postgresql

2. Create directory and change owner

$ sudo mkdir /var/lib/postgres/data

TERMINAL OUTPUT AND NANO EDITOR COLOR ON KOOMPI OS

1. Add This config to ~/.bashrc

alias ls='ls --color=auto'
alias diff='diff --color=auto'
alias grep='grep --color=auto'
alias ip='ip -color=auto'

INSTALL SQL SERVER ON KOOMPIOS

1. Install sql server

$ pi -S mssql-server  mssql-tools msodbcsql

2. Once installed, perform the configuration

FIX NETBEAN FONT MISSING ON KOOMPI OS

1. Install netbean on koompi os

$ pi -S apache-netbeans

2. Fix font

RUN .NET ON KOOMPIOS

1. Install package base

$ sudo pacman -S dotnet-sdk

2. Create project

KOOMPI OS DHCPCD

interface br0
metric 300
static ip_address=192.168.10.1/24
static routers=192.168.10.1

interface wlp1s0
metric 200