background preloader

Linux

Facebook Twitter

PORTKNOCKING - A system for stealthy authentication across closed ports. : ABOUT : summary.

Daemons

StratumTwoTimeServers < Servers < NTP. Как установить точное время (ntpdate) Недавняя смена зимнего времени на летнее принесла как всегда путаницу. Устройства нынче все слишком умные. Все с часами, многие с понятиями о часовых поясах, некоторые даже сами переводить на летнее время умеют (если настройка включена) или сверяться с сотовым оператором… Однако вся эта «умность» только вносит путаницу, потому что после перевода времени никогда достоверно не знаешь, какие же часы теперь показывают правильное время («А это устройство само переводит или надо переводить вручную? А я в настройках включил ли переход на летнее время? А вторая операционка на ноутбуке время второй раз не переводит? А телефон уже синхронизовался с оператором или нет?»).

А в наручных механических часах, которым можно верить, — батарейка села. Телевизор давно сломался (к счастью!). В общем, делать нечего. Sudo ntpdate адрес_NTP_сервера Подходящий сервер можно найти, например, в этом списке. Всё. P.S. P.P.S. . $ sudo dpkg-reconfigure tzdata Иногда пригождается.

I/O

Understanding Linux CPU Load - when should you be worried? You might be familiar with Linux load averages already. Load averages are the three numbers shown with the uptime and top commands - they look like this: load average: 0.09, 0.05, 0.01 Most people have an inkling of what the load averages mean: the three numbers represent averages over progressively longer periods of time (one, five, and fifteen minute averages), and that lower numbers are better. Higher numbers represent a problem or an overloaded machine. But, what's the the threshold? First, a little background on what the load average values mean.

The traffic analogy A single-core CPU is like a single lane of traffic. So, Bridge Operator, what numbering system are you going to use? 0.00 means there's no traffic on the bridge at all. . = load of 1.00 = load of 0.50 = load of 1.70 This is basically what CPU load is. Like the bridge operator, you'd like your cars/processes to never be waiting. So you're saying the ideal load is 1.00? Well, not exactly. What about Multi-processors? More Reading.

Monitor

/proc. Install. Memory. Snippets. Howto. Permanently Change Hostname on Fedora | Linux Windows Install Setup Configuration Project. On the installation process of Fedora, you named you Fedora machine. Then one Monday morning you decide to change the hostname to something else. The step by step procedure below show the simples way to change hostname on Fedora machine. 1. Display your fedora box hostname by execute the hostname command. [root@localhost ~]# hostname localhost.localdomain [root@localhost ~]# 2. [root@localhost ~]# hostname fedora.labtestproject.com 3. Execute hostname command again to verify the changes. [root@localhost ~]# hostname fedora.labtestproject.com Please note: That with the hostname command, the hostname only for the session only... the hostname reset back to the previous state after you reboot the system.

On Fedora, to change the hostname permanently you need to edit the network configuration files. 1. [root@localhost ~]# cp -pr /etc/sysconfig/network /etc/sysconfig/network.bak 2. [root@localhost ~]# cat /etc/sysconfig/network NETWORKING=yes HOSTNAME=localhost.localdomain 3. 4. 5. 6. 7. 8. 9. Note: Memory - how to find out which processes are swapping in linux.

Problems

Tips. Mysql.