Skip to content

Instantly share code, notes, and snippets.

Yo yolateng0

Block or report user

Report or block yolateng0

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
yolateng0 / Install a newer kernel in Debian 9 (stretch) stable
Last active Feb 11, 2019
Install a newer kernel in Debian 9 (stretch) stable
View Install a newer kernel in Debian 9 (stretch) stable
Install a newer kernel in Debian 9 (stretch) stable (sept 2017)
When using the latest version of Debian 9 stable, even with all updates installed, by default, you can’t get a very recent kernel via the standard repositories in your package manager. While the idea of using Debian stable is to remain stable and rather conservative, there are several benefits with installing a newer kernel and in some cases it’s the only option to get the OS to support all your hardware. The risk and impact on stability is small and the process is rather simple.
Some of the benefits are:
Support for previously unsupported hardware: every kernel release has a list of added drivers. Especially when you have recent hardware, a newer kernel could be required to fully support your video card for example.
Performance improvements and bug fixes: newer kernels often contain a lot of bug fixes, have new functions and performance tweaks. Here again, the most is to gain on newer hardware.
yolateng0 / all history logs Debian
Created Apr 21, 2018
Debian Ubuntu All log files are located in /var/log directory.
View all history logs Debian
All log files are located in /var/log directory. In that directory, there are specific files for each type of logs. For example, system logs, such as kernel activities are logged in syslog file.
Some of the most common log files in that directory is :
In directory apt there is a file history.log which saves all the package installation and removal information even the initial system build as Live CD. You can open this file to see this very interesting file.
In directory dist-upgrade there is a file apt.log which logs the information during distribution upgrades
In directory installer the log files which are created during installation can be found.
yolateng0 / Unbound DNS anti ads (spotify, google)
Created Feb 28, 2018
Unbound config against ads google spotify
View Unbound DNS anti ads (spotify, google)
# Unbound configuration file for Debian.
# See the unbound.conf(5) man page.
# See /usr/share/doc/unbound/examples/unbound.conf for a commented
# reference config file.
# The following line includes additional configuration files from the
# /etc/unbound/unbound.conf.d directory.
yolateng0 / Fail2ban jail searx solutions
Last active Apr 11, 2018
Searx Fail2Ban rules jails against or use Filtron
View Fail2ban jail searx solutions
# 2 solutions to protect your Searx instance
- One way to protect Searx is using Filtron.
Filtron was written by the Searx author and acts as proxy between the webserver and the application.
- second way use fail2ban.
the jails: place them into "etc/fail2ban/filter.d" :
# Fail2Ban configuration file
You can’t perform that action at this time.