, 29 2006 . 19:05
+
... Windows .
, Windows XP Media Center Edition , - , Windows XP Professional Corporate Edition, - .
...
RAID-. , \ Toshiba (ru.computers.toshiba-europe.com).
USB Floppy, RAID- Windows XP. - 700 (
http://polaris.ru/descriptions/18/r300289.html ).
:
Insert the disk labeled:
TOSHIBA RAID Driver
Into drive A:
* Press ENTER when ready
, . , FDD, , USB-, : - .
, , , - .
! ! - "use nLite software". , , -.
nLite (
http://www.nliteos.com/download.html ), , Microsoft .NET Framework 2.0 (
http://www.microsoft.com/downloads/details.aspx?Fa...dd-aab15c5e04f5&DisplayLang=en ), - Windows XP, .
, , , Windows XP !
<a href="https://www.liveinternet.ru/users/_bazil_/post20211771/">Исполняем жёсткие ссылки</a><br/>Если вдруг кому-нибудь прийдётся писать что-либо на PHP и в особенности, если будет необходимость запускать внешние программы для каких-либо целей, то следующее руководство для вас.
Имеем: Windows 2003 Server + Internet Information Server 6.0 + PHP 5.0
Задача: Необходимость создать хардлинк (от англ. hard link - жёсткая ссылка) на файл, находящийся на отличной от расположения директории "Inetpub" партиции.
Что такое жёсткая ссылка? В общем-то, как я понял, после кошмарного количества убитого времени, это дополнительное имя файла, на который она ссылается. Точнее сказать, жёсткая ссылка след... <a href="https://www.liveinternet.ru/users/_bazil_/post20211771/">Читать далее...</a>
, 09 2006 . 21:18
+
- - PHP , - , .
: Windows 2003 Server + Internet Information Server 6.0 + PHP 5.0
: ( . hard link - ) , "Inetpub" .
? -, , , , . , , ( UNIX- inode). , , , , , ID, , ID . , .
hardlink? Windows 2003 Server . .
, -, , , , .
// 32 , $letters
$letters = 'abcdef0123456789';
srand((double) microtime() * 1000000);
$string = '';
for ($i = 1; $i <= rand(32,32); $i++) {
$q = rand(1,12);
$string = $string . $letters[$q];
}
// ,
$file = "F:\\archive\\somefile.mpeg";
// ,
$hlink = "F:\\tmpfiles\\$string\\somefile.mpeg";
// $string
if(!exec("mkdir \"F:\\tmpfiles\\$string\"",$status_dir,$error_dir)){
echo " \"F:\\tmpfiles\\$string\" ";
}else{
echo " \"F:\\tmpfiles\\$string\" ! ";
}
if($error_dir) print_r($status_dir);
//
if(!exec("fsutil hardlink create $hlink $file",$status,$error)){
echo " ! ";
}else{
echo " ! ";
}
if($error) print_r($status);
, :
"F:\tmpfiles\fae72cba8a3bacb8a3b892"
Array ( )
!
Array ( )
.
Windows XP Professional Corporate Edition with Service Pack 2 + Denwer 2.0 . Windows 2003 Server with Service Pack 3 - . , Windows (mkdir "F:\tmpfiles\fae72cba8a3bacb8a3b892\", fsutil hardlink create "F:\tmpfiles\fae72cba8a3bacb8a3b892\somefile.mpeg" "F:\archive\somefile.mpeg"), "Hardlink created for D:\temp\link.to.file.avi <<===>> D:\files\file.avi".
? , PHP , . exec(), system(), passthru() :
Warning: SAFE MODE Restriction in effect...
%windir%\php.ini, safe_mode = On, Off. web-. , !
, exec() system(), start (start mkdir...), . , .
Else - . ? IUSR'y archive tmpfiles? fsutil? . . . !
IUSR (Internet Guest Account) %windir%/system32/cmd.exe!
, , :
Array ( [0] => The FSUTIL utility requires that you have administrative privileges. )
, IUSR .
, :
http://www.sysinternals.com/Utilities/Junction.html
<a href="https://www.liveinternet.ru/users/_bazil_/post19140084/">Танцы с бубном вокруг сервера закончены!</a><br/>
Сегодня, на третий день после получения прав доступа к серверу под управлением MS Win2k3 Server, закончилась эпопея с настройкой IIS (Internet Information Server), PHP (Hypertext Processor) и MySQL. Думаю, что будет не лишним рассказать людям как правильно и без лишних телодвижений и потери нервов настроить Web-сервер, работающий с динамическим содержанием страниц.
Для начала нам потребуются следующие пакеты:
- php-5.1.4-installer.exe
- php-5.1.4-Win32.zip
- mysql-5.0.24-win32.zip
1) Установка PHP 5.1.4
* Запускаем php-5.1.4-installer.exe и следуем инструкциям установочного... <a href="https://www.liveinternet.ru/users/_bazil_/post19140084/">Читать далее...</a>
, 18 2006 . 11:52
+
, MS Win2k3 Server, IIS (Internet Information Server), PHP (Hypertext Processor) MySQL. , Web-, .
:
1) PHP 5.1.4
*
php-5.1.4-installer.exe ;
*
php-5.1.4-Win32.zip ext
C:\PHP ;
2) PHP 5.1.4
* "
Windows Key + Pause Break " , "
Advanced ", "
Environment Variables ". "
System Variables ", "
Path ", "
Edit " "
C:\PHP; C:\PHP\ext; ";
* "
%SystemRoot%/php.ini " "
extension_dir = "./" " "
extension_dir = "C:\PHP\ext" "
extension=php_mysql.dll extension=php_gd2.dll
* "
C:\PHP "
libmysql.dll %Systemroot%
* "
C:\PHP\ext " : -> "
Properties " -> "
Security " -> "
Add " -> "
Advanced " -> "
Find Now ". - "
Internet Guest Account (IUSR) ", "
Read & Execute, List Folder Contents, Read " .
3) IIS 6.0
* IIS ( "
My Computer ", "
Manage " -> "
Services and Applications " -> "
IIS Manager ")
* "
Web Sites ->
Default Web Site " -> "
Properties ". "
Home Directory ", "
Configuration ", "
Add ". "
C:\PHP\php-cgi.exe ", "
.php ", - "
OK ".
* "
Documents " "
index.php " "
Up "
* "
Web Service Extensions " -> "
Add new Service Extension ". "
Add ", "
PHP ", "
C:\PHP\php.exe " - "
Set extension status to allowed "
4) MySQL 5.0.24
* Setup.exe
mysql-5.0.24-win32.zip
* - "
Standart Settings " , - "
Advanced Settings " .
* MySQL , , :
mysqladmin create newDB . : "
Database newDB created! "
* , , :
GRANT ALL PRIVILEGES ON newDB.* TO 'user'@'localhost' IDENTIFIED BY 'password';
* , , MySQL , . :
SET PASSWORD FOR 'user'@'localhost' = OLD_PASSWORD('password'); UPDATE mysql.user SET Password = OLD_PASSWORD('password') WHERE Host = 'localhost' AND User = 'user'; :
SET PASSWORD FOR 'root'@'localhost' = OLD_PASSWORD('root_password'); UPDATE mysql.user SET Password = OLD_PASSWORD('root_password') WHERE Host = 'localhost' AND User = 'root'; .
* ,
%systemdrive%/Program Files/MySQL/MySQL Server 5.0/my.ini :
[mysql] "default-character-set=latin1" "
default-character-set=cp1251 "
init-connect="SET NAMES 1251"
* , (?????), $query = "SET NAMES cp1251"; $con->action($query);
* IIS Admin !
<a href="https://www.liveinternet.ru/users/_bazil_/post18975311/">Осёл приручён!</a><br/>Вот и дошли руки до оптимизации соединений, создаваемых peer-to-peer клиентом eMule Plus. Перечитав документацию, проследив за тем, куда стучится ослик при подключении к серверу и при дальнейшей работе с ним был сделан следующий свод правил, который необходимо добавить в настройки фаерволла:
Необходимо разрешить приложению emule.exe:
- устанавливать соединения с удалёнными компьютерами по протороку TCP на удалённый порт 4661, с любого локального порта, который обычно в таком случае не указывается (порт для подключения к серверу)
- принимать соединения с удалёнными компьютерами по прот... <a href="https://www.liveinternet.ru/users/_bazil_/post18975311/">Читать далее...</a>
, 14 2006 . 23:49
+
, peer-to-peer eMule Plus. , , , :
emule.exe:
- TCP 4661, , ( )
- TCP 4771, ( )
- TCP UPD 4662, ( )
- TCP 4665 , ( )
- TCP UPD 4672, ( )
emule.exe:
- TCP UDP
, , , "" - .
, , eMule .