網頁

2013年4月19日 星期五

Install SQL Server 2012 Failover Cluster with Command Line and Configuration File 使用命令列與組態檔安裝 SQL Server Failover Cluster

Install SQL Server 2012 Failover Cluster with Command Line and Configuration File

使用命令列與組態檔安裝 SQL Server Failover Cluster

Install SQL Server 2012 with command line 使用命令列安裝 SQL Server

Install SQL Server 2012 with command line

使用命令列安裝 SQL Server

2013年4月10日 星期三

Red Hat Linux常用設定工具與命令



1.Red Hat Text Mode Setup Utility
 Red Hat Linux自家的系統參數設定工具setup,可以協助設定/etc/sysconfig裡面的系統檔。
 可以設定以下項目
 Authentication configuration
 Firewall configuration
 Mouse configuration
 Network configuration
 Printer configuration
 System services
 Timezone configuration
 輸入setup就可以叫出這個工具


2.設定或修改主機名稱,IP Address
   直接編輯/etc/sysconfig/network檔可以修改電腦名稱
   修改了主機名稱或IP Address之後可以一併修改/etc/hosts檔

   /etc/hosts

   127.0.0.1 localhost.localdomain localhost
   192.168.0.254 server1.example.com server1

   /etc/sysconfig/network
   NETWORKING=yes HOSTNAME=server1.example.com GATEWAY=192.168.0.1

   /etc/sysconfig/network-scripts/ifcfg-eth0
   DEVICE=eth0 BOOTPROTO=static IPADDR=192.168.0.254 NETMASK=255.255.255.0 ONBOOT=yes



3.常用命令
 修改檔案之前先複製一個檔案來當作備份
 [root@rhel01 root]# cp /etc/hosts /etc/hosts.old

 使用vi來修改檔案
 [root@rhel01 root]# vi /etc/hosts
 按下INSERT鍵來輸入與修改檔案內容
 按下Esc鍵再輸入:qw來儲存並退出vi

4.關機與重新開機
 關機
 [root@rhel01 root]# shutdown -h now

 重新開機

 [root@rhel01 root]# reboot