Skip to content
blog.monogatari.pl
  • Home
  • Own server

Tag: linux

Mikrotik and Squid = Transparent Proxy

2016-04-03 BigRetroMike 5 Comments

In business networks there is a big usage of  transparent proxy also home networks can use it also. Thanks to…

Continue Reading →

Posted in: IT Tutorial Filed under: config, konfiguracja, linux, mikrotik, proxy, router, squid, squid3

Linux – SQUID3 log rotation

BigRetroMike Leave a comment

If we want for squid logs to rotate same as the system logs because we don’t want one big blob…

Continue Reading →

Posted in: Linux daily Filed under: crobtab, cron, linux, log, logi, logs, proxy, rotacja, rotate, squid

Linux – Removing software from outside of repository

2016-03-03 BigRetroMike Leave a comment

Sometimes you install software from outside of repository, sometimes you compile your package or install binary. There are few methods…

Continue Reading →

Posted in: Linux daily Filed under: bin, deb, gz, linux, remove, repo, rpm, shell, tar, uninstall

Linux – how many i-nodes are used in current folder

BigRetroMike Leave a comment

This command is very useful in case you run out of i-nodes and you cannot save any more files. find…

Continue Reading →

Posted in: Linux daily Filed under: i-node, linux, shell

Linux – .conf missing after package reinstall

BigRetroMike Leave a comment

Sometimes after manul removing config files and then reinstall package you end up missing .conf file from that package (ex.…

Continue Reading →

Posted in: Linux daily Filed under: apt-get, conf, config, freeradius, konfiguracja, linux, reinstalacja, reinstall, shell

Ubuntu – Custom banner after log in

BigRetroMike Leave a comment

vim /etc/update-motd.d/10-stats  

Continue Reading →

Posted in: Linux daily Filed under: banner, linux, shell, ubuntu

Linux – use pdbedit to change password policy

BigRetroMike Leave a comment

pdbedit -P “min password length” -C 8 pdbedit -P “password history” -C 4 #maximum password age value in seconds, -1…

Continue Reading →

Posted in: Linux daily Filed under: linux, passw, pdbedit, shell

Linux – mount remote windows drivers

BigRetroMike Leave a comment

Temporary solution: sudo mount -t cifs //netbiosname/sharename /media/sharename -o username=winusername,password=winpassword,iocharset=utf8,file_mode=0777,dir_mode=0777 Permanent solution: touch /root/.smbcredentials chmod 700 /root/.smbcredentials echo ‘username=winusername password=winpassword’…

Continue Reading →

Posted in: Linux daily Filed under: linux, montowanie, mount, shell, smb, windows

Linux – simplest driver benchmark

BigRetroMike Leave a comment

#Write: time dd if=/dev/zero of=/$drive/test.zero bs=1024 count=1000000 #Read: time dd of=/dev/zero if=/$drive/test.zero bs=1024 count=1000000 hdparm –t /dev/$drive  

Continue Reading →

Posted in: Linux daily, Uncategorized Filed under: benchmark, dd, linux

First steps with new server

2016-02-03 BigRetroMike Leave a comment

#change password passwd #update ubuntu/debian apt-get update apt-get upgrade #install most needed packages in ubuntu/debian apt-get install sudo openssl openssh-server…

Continue Reading →

Posted in: IT Tutorial, Linux daily Filed under: configuration, fail2ban, linux, server, setup, ssh

Post navigation

Page 5 of 6
← Previous 1 … 4 5 6 Next →
  • Polski
  • English

Tags

android apache bind bind9 caldav change cmd conf config configuration cron dav dns email freebsd freenas git hacks hasło hidden http linux log mail migration mikrotik mysql nagios password php postfix proxy realtek recovery root server serwer shell smb spam spf tips ubuntu vpn windows
May 2025
M T W T F S S
 1234
567891011
12131415161718
19202122232425
262728293031  
« Jun    
Copyright © 2025 blog.monogatari.pl