Example Tuning
Различия
Здесь показаны различия между двумя версиями данной страницы.
| Предыдущая версия справа и слева Предыдущая версия Следующая версия | Предыдущая версия | ||
|
example:example_tuning [20.04.2017 10:26] admin ↷ Имя страницы example:example_linux изменено на example:example_tuning |
example:example_tuning [20.05.2019 15:18] (текущий) |
||
|---|---|---|---|
| Строка 1: | Строка 1: | ||
| <code bash> | <code bash> | ||
| - | #linux | + | |
| - | #linux #tuning ### оптимизация и тюнинг | + | # кеширование и ускорение dns passwd groups services protocols ###linux ###tuning ###cache |
| - | #linux #tuning vi /etc/resolv.conf | + | vi /etc/resolv.conf |
| - | #linux #tuning nameserver 192.168.1.1 | + | nameserver 192.168.1.1 |
| - | #linux #tuning nameserver 8.8.8.8 | + | nameserver 8.8.8.8 |
| - | #linux #tuning options single-request | + | options single-request |
| - | #linux #tuning sudo apt-get install nscd && sudo service nscd restart | + | # end vi |
| - | #linux #tuning yum -y install nscd && service nscd restart; grep single-request /etc/resolv.conf || echo -e '\noptions single-request' >>/etc/resolv.conf ### Кеширование dns и не только | + | sudo apt-get install nscd || yum -y install nscd |
| + | sudo service nscd restart | ||
| + | grep single-request /etc/resolv.conf || echo -e '\noptions single-request' >>/etc/resolv.conf | ||
| </code> | </code> | ||
| + | |||
| + | ~~OWNERAPPROVE~~ | ||