apt-get install libssh2-1-dev libssh2-php |
подробнее тут
apt-get install libssh2-1-dev libssh2-php |
подробнее тут
#!/bin/bash # wh-loopc.sh: Цикл перебора от 1 до 10. LIMIT=10 a=1 while [ "$a" -le $LIMIT ] do echo -n "$a " let "a+=1" done # Пока ничего особенного. echo; echo |
# А теперь оформим в стиле языка C.
((a = 1)) # a=1 # Двойные скобки допускают наличие лишних пробелов в выражениях. while (( a <= LIMIT )) # В двойных скобках символ "$" перед переменными опускается. do echo -n "$a " ((a += 1)) # let "a+=1" # Двойные скобки позволяют наращивание переменной в стиле языка C. done echo # Теперь, программисты, пишущие на C, могут чувствовать себя в Bash как дома. exit 0 |
http://www.opennet.ru/docs/RUS/bash_scripting_guide/c4875.html
При удаленном подключении к Hyper-V с машины Windows 7 появляется сообщение «Отказано в доступе».
Решение этой проблемы несложно и целиком зависит от клиентской машины. Необходимо выполнить следующую последовательность операций:
http://blogs.technet.com/b/vm/archive/2008/06/26/hyper-v.aspx
If you use a mailserver wil very low ram (< 500 MB) and a slow CPU then it might be nescessary to disable the spam- and antivirus filter functions in ISPConfig 3 as amavisd and clamav might be too heavy for your server hardware. The steps to disable clamav and amavisd are: Edit postfix main.cf file
vi /etc/postfix/main.cf |
and comment out these lines by adding a “#” in front of them:
# content_filter = amavis:[127.0.0.1]:10024
# receive_override_options = no_address_mappings
Then restart postfix:
/etc/init.d/postfix restart |
Now stop and disable the services. The following commands are for Debian and Ubuntu, the commands for other Linux distributions may vary
/etc/init.d/clamav-daemon stop /etc/init.d/clamav-freshclam stop /etc/init.d/amavis stop |
update-rc.d -f clamav-daemon remove update-rc.d -f clamav-freshclam remove update-rc.d -f amavis remove |
P The normal mail receive and send functions will still work after this modification. But please be aware that disabling amavisd and clamav will disable all spam- and antivirus filtering so that the spamfiltering options that can be configured in the ispconfig interface will have any effect on mail delivery and no spam and viruses will get filtered.
The changes in postfix main.cf will get overwitten by a ispconfig software update when you select to reconfigure services during upadte, so you should comment out the lines again after you install a ispconfig update.
1. Пуск -> Выполнить -> в поле Открыть напишите команду
control userpasswords2 |
и нажмите OK