Categories
Archive
Blogroll

Microsoft PowerShell MVP

Cozumpark Bilisim Portali
Posted in Hosting & IIS7 | No Comment | 1,303 views | 30/05/2011 13:28

Merhaba,

Juniper SSG20 üzerinde NAT tanımı yapabilmek için öncelikle;

Network > Interfaces > List

altına girdikten sonra, Untrusted network’e gelip “Edit” linkine tıklıyoruz.

Sonrasında yukarıda görülen MIP kısmına geçiş yapınız.

Network > Interfaces > Edit > MIP (List)

Son olarak eklemiş olduğunuz MIP için Untrust’tan Trust’a “Policy” tanımlayarak, işlemi tamamlıyoruz.


Posted in Hosting & IIS7 | No Comment | 1,325 views | 30/05/2011 01:09

SQL Server 2008 R2 Licensing:
“If you license all of the physical processors on the server (one license per physical processor), you may run unlimited instances of the SQL Server software in the following number of OSEs (either physical or virtual):”
SQL Server 2008 R2 Datacenter -> Unlimited
SQL Server 2008 R2 Enterprise -> Up to 4 per license. (Each Server License for SQL Server 2008 R2 Enterprise permits you to run the software in up to four (4) OSEs (physical and/or virtual)

SQL Server 2008 (without R2) Licensing:
“Each physical server licensed for SQL Server Enterprise under the Server/CAL model is also licensed to run SQL Server Enterprise in as many VMs as the hardware will support. So there is no difference between licensing Enterprise edition for physical and virtual environments.”
SQL Server 2008 Enterprise -> Unlimited

So, there is a difference between SQL Server 2008 and SQL Server 2008 R2 but it’s clear that if you license all of the physical processors for SQL Server 2008 R2 Datacenter or SQL Server 2008 Enterprise, you can run any instance of SQL Server 2008 R2 or SQL Server 2008 in any number of virtual operating system environments without regard to the number of physical and virtual processors used.


Posted in Hosting & IIS7 | No Comment | 1,212 views | 03/05/2011 22:10

If you face with a MySQL replication issue, you should restart it with command line.

First of all, stop MySQL services and replicate latest MySQL data files. After that, you can start services again.

Go to Slave and execute:

mysql> STOP SLAVE; 
Query OK, 0 rows affected (0.00 sec) 
 
mysql> FLUSH TABLES WITH READ LOCK; 
Query OK, 0 rows affected (0.00 sec) 
 
mysql> UNLOCK TABLES; 
Query OK, 0 rows affected (0.00 sec) 
 
mysql> CHANGE MASTER TO MASTER_LOG_FILE='mysqld-bin.000001'; 
Query OK, 0 rows affected (0.00 sec) 
 
mysql> CHANGE MASTER TO MASTER_LOG_POS=98; 
Query OK, 0 rows affected (0.00 sec) 
 
mysql> start slave; 
Query OK, 0 rows affected (0.00 sec)

You can get Master_Log_File and Master_Log_Pos with executing “SHOW MASTER STATUS;” on Master MySQL.

If you want to see replication status again, execute:

SHOW SLAVE STATUS \G;

I don’t know any better way. If you have one, please reply :)


Posted in Hosting & IIS7 | No Comment | 1,644 views | 17/04/2011 20:03

Windows Server 2008 R2 üzerinde komut satırından MySQL kurmak isterseniz, öncelikle MySQL’in zip halini indirin ve dosya içeriğini “C:\Program Files\MySQL” içerisine atın. Sonrasında aşağıdaki komutları komut satırı (cmd) üzerinden çalıştırabilirsiniz.

setx Path "%PATH%;C:\Program Files\MySQL\Bin"
Net stop w3svc
"C:\Program Files\MySQL\bin\mysqld" --install
Net start MySQL
Net start w3svc

Kurulum sonrası root şifresini de atamanız gerekecektir.

mysqladmin -u root password YOURPASSWORD

Hepsi bu kadar. İyi eğlenceler!


Posted in Hosting & IIS7 | No Comment | 1,229 views | 13/04/2011 17:53

Buradaki komutları kendime hatırlatma olarak ekliyorum. Sizin de işinize yarar elbet :)

enable
conf terminal
show config | grep access-list
access-list inside-cikis permit tcp host 192.168.0.31 any eq 587
ctrl + z
wr mem

Cisco Pix için geçerlidir yukarıdaki komutlar.


Posted in Hosting & IIS7 | No Comment | 1,939 views | 10/04/2011 20:15

Bazı durumlarda Parallels Plesk Panel 10′u katılımsız olarak kurmak isteyebilirsiniz. Plesk bu opsiyonu size komut satırı üzerinden sağlıyor.

Plesk’i MySQL ile birlikte kurmak isterseniz:

parallels_installer.exe --target %SystemDrive%\Parallels --select-release-id PANEL_10_2_0_WIN --install-component base --install-component dns --install-component mailenable --install-component php5 --install-component mysql-client --install-component phpmyadmin --install-component sitebuilder --install-component webmail --notify-email yusuf@yusufozturk.info

Plesk’i Microsoft SQL Server 2008 ile birlikte kurmak isterseniz:

parallels_installer.exe --target %SystemDrive%\Parallels --select-release-id PANEL_10_2_0_WIN --install-component base --install-component dns --install-component mailenable --install-component php5 --install-component mysql-client --install-component phpmyadmin --install-component mssql2008 --install-component sitebuilder --install-component webmail --notify-email yusuf@yusufozturk.info

Ayrıca gelişmiş kurulumlar için parallels_installer.exe’nin örneklerine de bakabilirsiniz.

Parallels online dökümantasyon için:

İndir: plesk-10-deployment-guide


Posted in Hosting & IIS7 | 2 Comments | 1,407 views | 05/04/2011 17:56

Memcached, Centos’un reposunda bulunmadığı için öncelikle EPEL repo kurulumu yapacağız.

rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm

Sonrasında aşağıdaki şekilde memcache kurulumunu yapabilirsiniz.

yum install memcached
pecl install memcache
yum install zlib-devel

Memcache’i reboot sonrası otomatik başlatmak için:

chkconfig --level 2345 memcached on

Son olarak PHP ayarlarına memcache’i eklemek gerekecektir.

nano /etc/httpd/php.ini

PHP.ini açıldıktan sonra en alta aşağıdaki satırları ekleyin.

extension=memcache.so
memcache.hash_strategy="consistent"

Şimdi memcache’i ve Apache’yi başlatalım.

/etc/ini.d/httpd restart
/etc/init.d/memcached start

Memcache’in kurulup kurulmadığını test etmek için:

php -i | grep memcache

Yukardaki komut sonrası aşağıdaki gibi bir çıktı görmelisiniz.

/etc/php.d/memcache.ini,
memcache
memcache support => enabled
memcache.allow_failover => 1 => 1
memcache.chunk_size => 8192 => 8192
memcache.default_port => 11211 => 11211
memcache.default_timeout_ms => 1000 => 1000
memcache.hash_function => crc32 => crc32
memcache.hash_strategy => consistent => consistent
memcache.max_failover_attempts => 20 => 20
Registered save handlers => files user memcache

Tüm işlemler bu kadar. Kolay gelsin.