To enable snmp in esxi, need access to ssh or vsphere cli. Here, a method of connecting with ssh. Connect to ssh to the host esxi (how to enable ssh in esxi). Ask kommyuniti and address from which the request will go: # Esxcli system snmp set -c public # Esxcli system snmp set -t […]
How to add a script to autostart ESXI 5.5
Voznikla neobkhodimost’ dobavit’ storonniy skript v avtozagruzku gipervizora ESXI 5.5. Prakticheski vse fayly po umolchaniyu v sisteme dostupny tol’ko v rezhime dlya chteniya. No, otredaktirovav fayl /etc/rc.local.d/local.sh, mozhno bez problem dobavit’ v avtozagruzku kakoy-to skript ili kakiye-libo operatsii. Otkroyem fayl redaktorom vi: # vi /etc/rc.local.d/local.sh Dlya vklyucheniya rezhima redaktirovaniya zhmem “i” ili “insert” i vstavlyayem […]
How to enable ssh in ESXI 5.5
To enable ssh on the host with esxi 5, you can use two ways. 1. Turn on the console ssh host esxi. You just need to go to the Host Configuration tab and “Troubleshooting Options” select “Enable SSH”. 2. Enable ssh through vsphere client. Go to the Configuration tab in the vsphere client, further in […]
Transfer files over SSH in FreeBSD / Linux
How to copy a file from one remote host to another via SSH? # Scp -P 22 /etc/rc.conf [email protected]: /var/db/rc.conf This command copies the rc.conf on the machine with the address 192.168.3.1 via ssh on port 22. How to copy a folder with one remote machine to another via SSH? # Scp -r -P 22 […]
Authorization for the keys in Putty (ssh)
This article will describe the process of authorization key in the putty to ssh-session. This is done in order not to introduce a permanent password. The first step is a set of utilities downloaded Putty. We need PuTTY.exe, puttygen.exe, PSFTP.exe, Pageant.exe Open puttygen.exe. There will be key generation. Select “key type for generating” – SSH-2 […]
Sync files with rsync on ssh Linux / FreeBSD
To copy files over a network using a lot of tools. The most common of them – ftp, and many use scp. To synchronize data using rsync. If you have access via ssh to the server, this is the simplest way to implement synchronization. Rsync for ssh – this is a special case of the […]
How to put a password in the rsync?
good afternoon There is a team: rsync -avz –exclude ‘image’ /var/www/vhosts/site.ru/test/ [email protected]: / destination Can you please tell me how to specify a password for the server 192.168.0.1 You rsync works over ssh and authorization goes through it. Accordingly, the sign can be either a key or a password (if there is no key) Oise […]
DigitalOcean added the ability to use CoreOS
Just the day before yesterday DigitalOcean announced the possibility of using the pre-image CoreOS. On assurances DigitalOcean their integration with the alpha version CoreOS provide mobile and web developers to use zaiteresovannyh Docker, easiest and fastest way to release applications and experiments with containers. In CoreOS docker-containers may start within milliseconds, providing unprecedented flexibility in […]
SSL bind to nginx in debian
В данной заметке я расскажу как быстро привязать ssl сертификат к nginx. Испытания мы проведем тестовом сервере с тестовым сертификатом, который запросим у Comodo. Итак, для начала определимся что у нас есть. А есть у нас один nginx сервер который смотрит в Интернет. И, для простоты, один внутренний (с ip 10.10.10.10) для которого и будет […]
Setting ligament apache + nginx
If you web-server administrator then sooner or later the question of cost optimization of system resources consumed by apache. Specifically we have the desire to serve the files without processing them using apache. The solution is to install bundle apache + nginx, nginx is where as a front-end to apache. How will work in conjunction […]