PIXNET Logo登入

跳到主文

部落格全站分類:生活綜合

  • 相簿
  • 部落格
  • 留言
  • 名片
  • 9月 20 週二 201121:28
  • 常用參考資料_未分類

常用名詞解釋


DNS
使用 TCP、UDP PORT 53,UDP Port 53是開放查詢的,TCP Port 53是提供DNS slave server作zone transfer。
(繼續閱讀...)
文章標籤

cmh1017 發表在 痞客邦 留言(0) 人氣(129)

  • 個人分類:
▲top
  • 10月 25 週四 201217:08
  • [Cisco]Switch 設定Vlan




Switch>en
Switch#conf t
Switch(config)#vlan [Vlan_ID]
Switch(config-vlan)#name [Vlan_Name]
Switch(config-vlan)#exit
Switch(config)#do sh vlna
Switch(config)#interface range fastEthernet 0/1-24
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 3
Switch(config-if-range)#exit
Switch(config)#do sh vlna
Switch(config)#interface range gigabitEthernet 1/1-2
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 3
Switch(config)#do sh vlna
Switch#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK] 

///設定Vlan ID(數字1-1005)
//設定Vlna Name(英文,可搭配數字)
//回上一層
//查看所有interface 所屬哪個Vlan
//將所有要移動的interface 利用range 來動作
//切換switch interface 工作模式(access、Multi、Trunk)
//設定工作模式屬於哪個vlan
//回上一層
//查看是否所以要設定的interface 都有設定好
//設定好要記得存,不然設備重開機,設定的東西會全部不見
Destination filename [startup-config]?
Building configuration...
[OK]


(繼續閱讀...)
文章標籤

cmh1017 發表在 痞客邦 留言(0) 人氣(1,943)

  • 個人分類:Cisco
▲top
  • 8月 18 週四 201116:14
  • [RedHat]自動掛載SMBFS

Configure a system to automount a Samba share with /etc/fstab
by Vivek Gite on April 25, 2006 · 31 comments
As explained earlier you can use the mount command to mount a remote windows partition or a windows share under Linux.
/etc/fstab file contains static information about the filesystems. The file fstab contains descriptive information about the various file systems. fstab is only read by programs, and not written; it is the duty of the system administrator to properly create and maintain this file.
To mount a Samba share to be mounted when a Linux system comes up after reboot edit the /etc/fstab file and put entry as follows for your Windows/Samba share:
//ntserver/share /mnt/samba smbfs username=username,password=password 0 0
For example, if you want to mount a share called //ntserver/docs then you need to write following entry in /etc/fstab file://ntserver/docs /mnt/samba smbfs username=docsadm,password=D1Y4x9sw 0 0Where,
    * //ntserver/docs: Windows 2003/NT/Samba share name要掛載的位置
    * /mnt/samba: Local mount point (you may need to create this directory first)要掛載的目錄
    * smbfs: File system type (samba file system) 掛載格式
    * username=docsadm,password=D1Y4x9sw: Share username and password帳號密碼
Open file /etc/fstab using vi text editor:# vi /etc/fstabAppend line //ntserver/docs /mnt/samba smbfs username=docsadm,password=D1Y4x9sw 0 0, at the end your file should read as follows:
proc            /proc           proc    defaults        0       0
/dev/hdb1       /               ext3    defaults,errors=remount-ro 0       1
/dev/hdb2       none            swap    sw              0       0
/dev/hdc        /media/cdrom0   iso9660 ro,user,noauto  0       0
//ntserver/docs /mnt/samba      smbfs   username=docsadm,password=D1Y4x9sw 0 0
(繼續閱讀...)
文章標籤

cmh1017 發表在 痞客邦 留言(0) 人氣(216)

  • 個人分類:RedHat
▲top
  • 8月 15 週一 201119:37
  • [RedHat]VirtualHost httpd.conf 利用

httpd.conf 利用

<Directory 目錄路徑>
......

<Directory />
(繼續閱讀...)
文章標籤

cmh1017 發表在 痞客邦 留言(0) 人氣(183)

  • 個人分類:RedHat
▲top
  • 8月 10 週三 201122:56
  • [Microsoft]解決Virtual PC 控制台找不到

到此資料夾%appdata%\Microsoft\Virtual PC\
找一個名稱為Options.xml的檔案
修改內容
(繼續閱讀...)
文章標籤

cmh1017 發表在 痞客邦 留言(0) 人氣(69)

  • 個人分類:Microsoft
▲top
  • 8月 06 週六 201116:14
  • [RedHat]禁止使用ssh 登入root

[root@server10 ~]# vi /etc/ssh/sshd_config
 
#LoginGraceTime 2m
#PermitRootLogin yes (留下本來預設的設定 以後要還原才知道本來的值)
PermitRootLogin no (禁止使用root登入ssh)
(繼續閱讀...)
文章標籤

cmh1017 發表在 痞客邦 留言(0) 人氣(183)

  • 個人分類:RedHat
▲top
  • 8月 06 週六 201115:26
  • [RedHat]SSH連線出現WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!錯誤處理法式記錄

Client端以SSH連線到主機時,會要求產生認證資訊,儲存在client端的~/.ssh/known_ssh檔中。
如果有連線到多台不同主機,known_hosts裡面就會記錄許多記錄。
但是,假如server被重灌了,這樣子新的server就和known_hosts裡的狀態不同,
再連線時,就會出現底下錯誤:
[root@desktop10 ~]# ssh -X 192.168.0.110
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
0a:3e:d1:fb:de:3a:4f:eb:20:b7:44:50:76:61:36:46.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending key in /root/.ssh/known_hosts:4
RSA host key for 192.168.0.110 has changed and you have requested strict checking.
Host key verification failed.
這時,最簡單的方式,就是將known_hosts這個檔刪除,往後再連線主機時,就再重新產生認證資訊就好了。
(繼續閱讀...)
文章標籤

cmh1017 發表在 痞客邦 留言(0) 人氣(309)

  • 個人分類:RedHat
▲top
  • 1月 21 週五 201122:14
  • Android - 沒有無線網路、SD卡安裝APK

因為本身沒有使用無線網路(3G、wifi)
加上員購機的A50並沒有贈送記憶卡
所以除了找到有wifi的地方可以下載apk並安裝
其它方式都筆者無法使用. . .
(繼續閱讀...)
文章標籤

cmh1017 發表在 痞客邦 留言(0) 人氣(4,072)

  • 個人分類:GPhone
▲top
  • 1月 14 週五 201119:25
  • A50 - 恢復原廠之設定

Screenshot-1295004197365.png
由於在常使用A50的時候常常忘記會設定到哪些設定
所以如果覺得系統怪怪的
就可以依以下步驟將系統還原

(繼續閱讀...)
文章標籤

cmh1017 發表在 痞客邦 留言(0) 人氣(974)

  • 個人分類:GPhone
▲top
  • 1月 03 週一 201119:05
  • A50 - 啟動GPS定位並取消網路定位


因為A50定位功能的預設值,是使用網路定位
而有部分購買此手機的使用者,並未使用網路
所以將以下設定值設定好,之後即可開機衛星定位功能
 
(繼續閱讀...)
文章標籤

cmh1017 發表在 痞客邦 留言(0) 人氣(348)

  • 個人分類:GPhone
▲top
12»

文章搜尋

文章分類

  • Cisco (1)
  • Microsoft (1)
  • RedHat (4)
  • GPhone (4)
  • 未分類文章 (1)

最新文章

  • [Cisco]Switch 設定Vlan
  • 常用參考資料_未分類
  • [RedHat]自動掛載SMBFS
  • [RedHat]VirtualHost httpd.conf 利用
  • [Microsoft]解決Virtual PC 控制台找不到
  • [RedHat]禁止使用ssh 登入root
  • [RedHat]SSH連線出現WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!錯誤處理法式記錄
  • Android - 沒有無線網路、SD卡安裝APK
  • A50 - 恢復原廠之設定
  • A50 - 啟動GPS定位並取消網路定位

參觀人氣

  • 本日人氣:
  • 累積人氣: