ubuntu 20 setup

Let us talk about scripts, HTML, Perl, PHP, apache, etc.
Post Reply
User avatar
Stevyn
SysOp
Posts:1786
Joined:Mon Nov 09, 2009 10:03 am
Location:Japan
Contact:
ubuntu 20 setup

Post by Stevyn » Sat Jan 08, 2022 1:14 pm

https://nielsendigital.com/2021/07/03-u ... ity-setup/

fail2ban:

Code: Select all

apt install fail2ban
set TZ

Code: Select all

dpkg-reconfigure tzdata
Contact me directly: Ironfeatherbooks (@) gmail.com

Image

User avatar
Stevyn
SysOp
Posts:1786
Joined:Mon Nov 09, 2009 10:03 am
Location:Japan
Contact:

Re: ubuntu 20 setup

Post by Stevyn » Sat Jan 08, 2022 1:43 pm

disable cloud init

Code: Select all

touch /etc/cloud/cloud-init.disabled
Contact me directly: Ironfeatherbooks (@) gmail.com

Image

User avatar
Stevyn
SysOp
Posts:1786
Joined:Mon Nov 09, 2009 10:03 am
Location:Japan
Contact:

Re: ubuntu 20 setup

Post by Stevyn » Sun Jan 09, 2022 11:54 am

Smartmontools is a set of applications that can test hard drives and read their hardware SMART statistics. Note: SMART data may not accurately predict future drive failure, however abnormal error rates may be an indication of possible hardware failure or data inconsistency.

Code: Select all

apt-get install smartmontools
Contact me directly: Ironfeatherbooks (@) gmail.com

Image

User avatar
Stevyn
SysOp
Posts:1786
Joined:Mon Nov 09, 2009 10:03 am
Location:Japan
Contact:

Re: ubuntu 20 setup

Post by Stevyn » Sun Jan 09, 2022 1:07 pm

Code: Select all

apt install lm-sensors
sensors-detect
sensors
Contact me directly: Ironfeatherbooks (@) gmail.com

Image

User avatar
Stevyn
SysOp
Posts:1786
Joined:Mon Nov 09, 2009 10:03 am
Location:Japan
Contact:

Re: ubuntu 20 setup

Post by Stevyn » Mon Jan 10, 2022 11:20 am

netstat

Code: Select all

apt install net-tools
use:

Code: Select all

netstat -tlpn
Contact me directly: Ironfeatherbooks (@) gmail.com

Image

User avatar
Stevyn
SysOp
Posts:1786
Joined:Mon Nov 09, 2009 10:03 am
Location:Japan
Contact:

Re: ubuntu 20 setup

Post by Stevyn » Sat Jan 15, 2022 2:05 pm

https://github.com/ytdl-org/youtube-dl/ ... stallation

youtube-dl
happy4: music8:

Code: Select all

sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl
Contact me directly: Ironfeatherbooks (@) gmail.com

Image

User avatar
Stevyn
SysOp
Posts:1786
Joined:Mon Nov 09, 2009 10:03 am
Location:Japan
Contact:

Re: ubuntu 20 setup

Post by Stevyn » Sun Jan 16, 2022 5:13 pm

HowTo: Configure Linux To Track and Log Failed Login Attempt Records

https://www.cyberciti.biz/tips/rhel-cen ... login.html

lock user account to 180 seconds after failed login, enter:

Code: Select all

# faillog -l 180 -u name
Set Maximum Number of Login Failures

Code: Select all

faillog -m 10 -u name
Contact me directly: Ironfeatherbooks (@) gmail.com

Image

Post Reply