Skip to content

Commit

Permalink
improving useful tools
Browse files Browse the repository at this point in the history
  • Loading branch information
JAlcocerT committed Mar 30, 2024
1 parent 808d7e8 commit c9f71a3
Show file tree
Hide file tree
Showing 7 changed files with 79 additions and 13 deletions.
2 changes: 1 addition & 1 deletion content/docs/Arch/garuda.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Garuda Linux is a rolling-release, Arch Linux-based distribution that boasts a u
Why Garuda Linux?

It comes with [Searx as the default search engine](https://jalcocert.github.io/Linux/docs/privacy/#changing-bad-habits)
It comes with [Searx as the default search engine](https://jalcocert.github.io/Linux/docs/privacy/#changing-bad-habits) and KDE Plasma as Desktop Environment.

### How to use Garuda Linux

Expand Down
12 changes: 11 additions & 1 deletion content/docs/Debian/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,14 @@ These are some of the basic APT commands you can use to manage software packages
* The already mentioned - [APT](https://jalcocert.github.io/Linux/docs/debian/linux_installing_apps/#apt)
* Or use it with [NALA](https://jalcocert.github.io/Linux/docs/debian/linux_installing_apps/#nala)

> A [Gist](https://gist.github.com/JAlcocerT/197667ec5ec0da53e78eb58c4253a73f) with useful installations for Debian
> A [Gist](https://gist.github.com/JAlcocerT/197667ec5ec0da53e78eb58c4253a73f) with useful installations for Debian
### How to Install HomeBrew in Linux

[HomeBrew](https://brew.sh/) is the MacOS package manager.

```sh
sudo apt install build-essential procps curl file git -y
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
```
<!-- https://www.youtube.com/watch?v=kDlfAM-2RTw -->
42 changes: 36 additions & 6 deletions content/docs/Debian/useful_tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ If you want to add a cron task for this, simply edit, as explained:
@reboot cd RPi && git pull
```

> [What happens](https://www.baeldung.com/linux/crontab-scheduled-jobs-computer-shutdown) with CronTab when PC Shutdown?

### Create users

```sh
Expand All @@ -180,7 +182,10 @@ chmod -R go-rwx /home/user_name_2
chmod -R go-rwx /home/user_name_3
```

### Create your own mount points

{{% details title=" How to Create your own mount points" closed="true" %}}



Lets first check the storages connected to the machine and identify their current path:

Expand Down Expand Up @@ -255,6 +260,9 @@ Option 2: Another option would be to set a cron task with:
@reboot mount /dev/sdb1 /mnt/data_mounted/ #example
```

{{% /details %}}


### How to lower CPU consumption?


Expand Down Expand Up @@ -319,13 +327,26 @@ To lower CPU power consumption on an Ubuntu system, you can install and configur

> Remember, while these tools and settings can help reduce power consumption, they might also impact the performance of your system under certain workloads.

### Power Management with Linux

* https://askubuntu.com/questions/83685/scheduling-startup-and-shutdown
* https://www.baeldung.com/linux/auto-suspend-wake


### How to Setup WakeOnLan (WoL)

* https://www.reddit.com/r/CommercialAV/comments/xcfgyr/is_wakeonlan_still_your_goto_or_are_there_better/
* https://www.reddit.com/r/sysadmin/comments/s3uv8y/wake_on_lan_wol_for_dummies/

### How to Test the network card?

```sh
iperf3 -c 192.168.3.200
```

### Create Custom Aliases

{{% details title=" How to Create Custom Aliases" closed="true" %}}


Lets edit this file:

Expand Down Expand Up @@ -355,14 +376,21 @@ source ~/.bashrc
tbd
``` -->

TMUX:
{{% /details %}}


* {{% details title=" How to Install & use TMUX" closed="true" %}}

Install TMUX with:

```sh
apt install tmux
#tmux #CTRL+B CTRL+D to detacht and CTRL+A to attach again
```

https://tmuxcheatsheet.com/
{{% /details %}}


* Cleaning the System with UI: clean cache, monitor processes, snap packages installed, apt repositories...

Expand Down Expand Up @@ -395,7 +423,7 @@ sudo snap install sosumi
#sudo snap remove sosumi
```

Interested in [VMs? Check this out](https://jalcocert.github.io/Linux/docs/debian/virtualization/#how-to-virtualize).
> Interested in [VMs? Check this out](https://jalcocert.github.io/Linux/docs/debian/virtualization/#how-to-virtualize).

### What's taking that much disk space?

Expand Down Expand Up @@ -432,7 +460,9 @@ Be carefull with the options you choose (source device, destination...)

### Screen Share with Linux

* [RustDesk](https://github.com/rustdesk/rustdesk/releases)
* {{% details title="With [RustDesk](https://github.com/rustdesk/rustdesk/releases)" closed="true" %}}

Install RustDesk with [Flatpak](https://jalcocert.github.io/Linux/docs/debian/linux_installing_apps/#flatpak):

```sh
sudo apt install flatpak
Expand All @@ -444,6 +474,6 @@ flatpak install rustdesk-1.2.3-x86_64.flatpak
flatpak run com.rustdesk.RustDesk
```

{{% /details %}}
* Remmina, Vinagre, TigerVNC
* Guacamole with Docker
13 changes: 11 additions & 2 deletions content/docs/Debian/virtualization.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@ qemu-system-x86_64 -m 2G -smp 2 --enable-kvm -name 'Your_test_VM' -boot d -cdrom

<!--
https://www.youtube.com/watch?v=ISvdxtW-Cls
<https://www.youtube.com/watch?v=VC9Kk7Ao944> -->
<https://www.youtube.com/watch?v=VC9Kk7Ao944>
i12betro =>> https://www.youtube.com/watch?v=u_tsCfi7HMY
-->

---

Expand Down Expand Up @@ -127,4 +130,10 @@ sudo make install

```

### How to do GPU PassThrough?
### Setup a macOS VM in QEMU

https://github.com/foxlet/macOS-Simple-KVM

### How to do GPU PassThrough?

* https://www.reddit.com/r/linux_gaming/comments/qn20q0/gpu_passthrough/
14 changes: 12 additions & 2 deletions content/docs/Linux_&_Cloud/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ As any decision, this has **trade-offs** to be considered:

**at a cost...**

{{% details title=" Check Which Costs" closed="true" %}}
{{% details title=" Check Which Costs" closed="true" %}}

* Security: Cloud deployment can pose potential security risks, especially if sensitive data is stored on the cloud.

Expand All @@ -78,4 +78,14 @@ As any decision, this has **trade-offs** to be considered:
* Complexity: Cloud deployment can be more complex to manage and deploy compared to traditional hosting solutions, requiring specialized knowledge and expertise.


{{% /details %}}
{{% /details %}}

---

## FAQ

### Clouds ( & GPU Clouds)

* RunPod, Linode, Paper Space, Lambda Cloud
* vast.ai,
* GOogle Colab TPU...
3 changes: 3 additions & 0 deletions content/docs/Linux_&_Cloud/analytics.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ TimeScale
Airtable alternatives:
https://github.com/nocodb/nocodb
https://noted.lol/nocodb-contact-form-gmail-smtp/
https://github.com/bram2w/baserow
-->

Expand Down
6 changes: 5 additions & 1 deletion content/docs/Linux_&_Cloud/saas.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,8 @@ The F/OSS Amplitude Alternative.
Automate like a pro - https://www.activepieces.com/

* [FlowiseAI](https://fossengineer.com/selfhosting-flowise-ai)
* n8n


## n8n

https://www.youtube.com/watch?v=SMnE_3-il9A

0 comments on commit c9f71a3

Please sign in to comment.