JavaScript must be enabled in order for you to see "WP Copy Data Protect" effect. However, it seems JavaScript is either disabled or not supported by your browser. To see full result of "WP Copy Data Protector", enable JavaScript by changing your browser options, then try again.

How to use the subscription of RHEL 7 via the CLI

Kerker, I haven’t posted the rubbish over a month, and don’t find out a punch word to celebrate the CNY, so can note the procedure for the subscription about RHEL 7 to use the related develop packages from the official websites. How to set it, and let’s keep reading: Read more »

Setup the cluster via the Hadoop 2.7.5 under the RHEL 7.4

OMG, I haven’t posted the rubbish over a month, and got the new topic about the cluster of Hadoop under the RHEL 7.4 via the server there are 4 nodes in one chassis. I have met the some problems during building this structure, so want to record these tips into this article. How to build the cluster of Hadoop under the RHEL 7.4, and let’s keep reading: Read more »

How to reset the password about the root under the Citrix XenServer 6/7

Kerker, I haven’t posted the rubbish for a month, and don’t approve the replies from our uncle due to the administrator is me. Want to record the process for resetting the password about root under the XenServer 6.x/7.x, because the related server I want to modify its password, and the most different with the another Linux distro. How to reset it, and let’s keep reading: Read more »

The brief usage of minicom and script for serial communication

OMG, I haven’t posted the rubbish for a month, and someone laugh me about no idea for writing the head of this article. I want to record the screenshots about the brief usage of minicom and autoscript the process for the interactive interface of serial communication. How to use and autoscript it, and let’s keep reading: Read more »

Setup the UEFI PXE IPv4/IPv6 via the method of HTTP from TFTP

Well, it’s time to post a rubbish. I have posted the article about creating the UEFI PXE server included the part of IPv6, but there is the method of tftp with the original network OpROM. We neeed to add or modify some settings for the configuration of dhcpd or another, and record the important steps with this page. Let’s keep reading:
Read more »

Setup the Env for logining and starting the Vino automatically under Lightdm of Ubuntu 16.04 LTS with root

OMG, I haven’t posted the rubbish for a month, and want to record the procedure for setting the auto login and starting Vino automatically. This setup can be used under the condition of connector about the VGA, but you can still access the OS via the method of serial over lan. BTW, you can refer the another settings through my previous article before applying this configuration. How to configure it, and let’s keep reading: Read more »

How to fix the problem about the isn’t found under the RHEL 6.9 x64

Hello everyone, it’t time to post a rubbish. I met the problem during using the rKVM to control the server via the application of jnlp under the RHEL 6.9 x64 like above figure, and you need to get the tool of jre from the official website of Oracle at firstly. How to solve this problem about the missing library? We will use the newer package of glibc to fix it. Let’s keep reading: Read more »

How to query the commands about the type of raw w/ IPMI 2.0 SPEC

Keker, it’s time to renew the rubbish. I want to record how to query the some commands about the type of raw about the IPMI 2.0 SPEC due to the requirement for analyzing the meaning for each HEXs, and you can access the related document from here. BTW, there are another SPECs for the function of extension, so you also capture the related document from Internet or google it directly like DCMI or etc. Let’s keep reading: Read more »

Introduce how to make the environment for input the commands at the same time

Well, it’s time to post a rubbish. I have shared the basic usage about the tmux w/ the previous article, but don’t mention about the method how to input the commands at the same time under the all panes. I met this condition recently, so noted the related progress and combination hotkeys under this article. Let’s keep reading: Read more »

Analyze how to setup about the iPXE server under the RHEL 7.3

Hello everyone, it’s time to post a rubbish. I heard from my colleague about the iPXE, and what difference between the transdition PXE, gPXE and iPXE? You can refer the article from here or Fog’s wiki for understanding these knowledge.In fact, iPXE is a enhanced PXE service inclueded the customized scripts, and how to setup it for integration installed site about Linux/VMware/Windows’s iPXE Server?Let’s keep reading: Read more »

Execute the kdump crash manually under the RHEL 7.3

Kerker, I don’t post a rubbish for a long time. Wish everyone have a happy Chinese New Year before making this article. I want to record how to execute the kdump manually under the RHEL 7.3 because this item need to be tested through the method of local disk and NFS when execute the OSV certification. In fact, this behaiver is be executed when your system was be crashed, and you can analysis the related information about system before system crashed. How do we do the kdump manualy? Let’s keep reading: Read more »

Analyze the script for querying the information of VMs under the ESXi

Well, I haven’t posted a rubbish for a long time, and somebody push me need to post the article, so I can’t let him down. The topic of today is Analyzing the script for querying the information of VMs under the ESXi, and I think there have be some scripts for the same features on the Internet, but I still want to share how do we query the information about the VMs under the ESXi. Let’s keep reading: Read more »

Analyze the composition about the password under the Ubuntu and RHEL

Hello everyone, it’s time to post a rubbish. The topic of today is about analyzing the composition about the password under the Linux OS. We have known about the file of password that’s in the /etc/shadow, but how to produce these passwords after we created these accounts? John the ripper? Let’s keep reading: Read more »

Deploy and Configure CoreOS 845.0.0 Alpha into the Local Disk

Kerker, It’s time to post a rubbish. I want to introduce how to deploy the CoreOS into the local disk, and the procedure of deployment is need to be in the environment of Internet because it will download the related files from the Internet. In fact, I believe you can finish it if you have deployed the Arch Linux ever. So how do we deploy the CoreOS in the the local disk? Let’s keep reading: Read more »

Setup a relay station for VPN connection/VNC

Well, well, well, I need to post a rubbish because there isn’t enough about the quantity of writing the article. Today’s topic is how to setup a relay station for VPN connection/VNC, because we want to solve the problem about accessing the websites from internet and be connected w/ VPN at the same time, so we can use a relay station for avoiding this condition. How to setup it? Let’s keep reading: Read more »

Setup a wordpress website w/ Nginx/PHP5/MySQL on FreeBSD 10.2 x64

Hello everyone, it’s time to post a rubbish. The topic of today is how to setup a wordpress website w/ Nginx/PHP5/MySQL on the FreeBSD 10.2 x64, and I have built a wordpress website w/ Apache2/PHP5/MySQL on the CentOS, so there are some differences between these methods. How do we do to setup it? Let’s keep reading: Read more »

Setup the PXE Server about the Citrix XenServer Dundee on RHEL 7.2 x64

Well, Happy Lunar New Year! It’s time to post a rubbish. I want to record the process about the setting the environment of PXE server w/ Citrix XenServer Dundee under the Legacy&UEFI mode. I will introduce some key points about the location of boot file and how to setup it. Let’s keep reading: Read more »

Install the Cisco VPN Client under the Windows 8.1 w/ 32 bits

Hello everyone, it’s time to post a rubbish because there isn’t enough about the quantity of writing the articles.The topic is how to install the Cisco VPN Client under the Windows 8.1 w/ 32 bits.It’s very easy to install it under the Windows 7 x64 normally, so I think that it’s the same w/ the method about the part of Win7, but I’m wrong in fact. There are workarounds in the method of installation it under the Windows 8.1, so how do we do about this? Let’s keep reading: Read more »

Change the defaut port of SSH under the VMware ESXi 5.x/6.x

Well, I don’t post a rubbish for a long time again.This topic is how to change the default port of SSH under the VMware ESXi 5.x/6.x.We know that the port 22 of TCP is be used about the SSH originally, but how about we want to access the port 2222 about the SSH connection? Let’s keep reading: Read more »

Setup the pNFS service under the RHEL 7.2 x64

Hello everyone, it’s time to post a rubbish! I think the service of NFS that’s be known by the most people, but how about the pNFS(Parallel NFS)? You can survey more detail information from the official website. How do we setup this service under the RHEL 7.2 x64 w/ three machines(MDS, DS*2 and Client)? Let’s keep reading: Read more »

How to visit the PTT BBS site under the Ubuntu 15.04 desktop

Well, I don’t post a rubbish for a long time again.This topic is how to visit the PTT BBS under the Ubuntu 15.10 desktop.You will see the console gibberish when using the method of telnet only, and how can I solve this problem? Let’s keep reading: Read more »

My private fine tuning under the Ubuntu Desktop 15.10

Well, I don’t post a rubbish for a long time.This topic is my private fine tuning about the environment under the Ubuntu Desktop 15.10, and included the command’s prompt, vim, google-chrome and so on.How can I do fufill these requirements? Let’s keep reading: Read more »

Implement the mechanism of SELinux under the CentOS 6.7 x64

Hello everyone, it’s time to pose a rubbish! I have known about the brief function of SELinux, but did’t use it deeply, so I always disabled its function directly. Its full name is ‘Security Enhanced Linux’, and it’s developed by NSA. How do we use it in our system? Let’s keep reading: Read more »

Usage about the command of smartctl under the CentOS 6.x

Well, well, well, it’s time to post a rubbish! I have a doubt about monitoring the health of hard disk for a long time, and everybody know the management information about the hardware raid(HWR) through the utility from vendor(Like LSI MSM). How do we monitor the hard disks with the method about AHCI/IDE or ESRT2? Let’s keep reading: Read more »

Setup and use the environment about the container with OpenVZ on the CentOS 6.7 x64

Hello everyone, it’s time to post as rubbish! Let’s to talk about the today’s topic.I want to introduce the container of OpenVZ, that is belong to the field of LXC, and its mechanism is like the docker. It’s different with the method about KVM or Xen. How do we setup and operate it? Let’s keep reading:
Read more »

Introduce the usage of DNF on the Fedora 22 x64

It’s time to post a rubbish! I heard the news about replacing yum with the dnf, but don’t have time to try it. DNF aka Dandified YUM is a next generation Package Manager for RPM based Distribution. It’s be applied in the Fedora 22 x64, but not in RHEL and CentOS, but you can try it through additional installation. How do we use it? Let’s keep reading:
Read more »

Setup the bugzilla 5.0 on the CentOS 6.7 x64

Hello Amanda, my colleague, Erwin, and he reminded me about posting a rubbish! Let us to talk about the today’s topic. We could use this system to track the bugs about our products in the future, and it’s belong to the field of opensource, so I tried to setup it for getting more detail information about the operation of this system. How do we setup this system on the CentOS 6.7 x64? Let’s keep reading:
Read more »

Manage the VMs from the ESXi 6.0 through the command line

It’s time to post a rubbish! I want to control the VMs from the ESXi without the vSphere Client, so you can access the host through the method of ssh.But how to achieve this mission? Let’s keep reading: Read more »

Setup and usage w/ docker under the CentOS 7.1 x64

話說又到了一周一廢文時間了,雖然前兩天南投Relax一下,該發的廢文還是不能少;前陣子一直想找時間Try DockerUsage,剛好今天有空檔,就來操弄看看,原來和Virsh感覺蠻類似的,Container OS的部分比較像從Github下載整包Source的感覺,因此話不多說,直接看下去怎麼玩吧,如下: Read more »

透過TaiG V2.3.1做IOS 8.4的JailBreak(JB)與個人的Fine Tuning

最近又漏掉Po廢文了,趁著放颱風假的空檔記錄一下JB的過程,繼盤古Team出了JB之後,換TaiG出了IOS 8.1.3-8.4JB,號稱Otakuo的我只好來弄一下,雖然我蠻懶得做Backup動作,不過為了嘗鮮,還是要來Try it一下,因此廢話不多說,直接看下去吧,如下:
Read more »

Setup the kerberos KDC under the CentOS 6.6 x64

因為最近太少發廢文了,所以個人決定再發一篇,想說端午連假Study LDAP與Kerberos的整合,但是我突然發現沒有了解Kerberos,於是去了維基欣賞欣賞它的History等等之類的,發現它其實是一種網路認證的協議,如果你想要知道更多,可以去問看看估狗大神;當然,玩這個一定沒辦法一步登天,所以還是一步一腳印,先架設個Kerberos KDC壓壓驚,不過在架設之前,切記先注意NTP時間同步以及DNS域名解析的部分;廢話不多說,直接看下去怎麼做吧,如下: Read more »

The usage of git and github under the CentOS 6.6 x64

話說,好像有好一陣子沒有Po廢文了,記得上次有在Survey Git使用Server的架設以及搭配Github做應用,但一直找不到時間過程紀錄下來,所以趁著這次機會,好好介紹它一番,至於History的部分可以參考維基,因此廢話不多說,直接看下去吧,如下: Read more »

Setup the LDAP Server with TLS/SASL under the CentOS 6.x

Uh,又到了廢文Time,繼Last Week沒有發一篇,這禮拜來紀錄下之前架設LDAPS Server過程,由於之前有發一篇LDAP w/ CentOS 6.2文章,但並沒有針對TLS/SASL做進一步分析,因此在這邊著重於Encryption的部分,如何做呢?讓我們看下去就知道囉,如下:
Read more »

Handle the hard disk with 2TB through the command of parted

OMG,又到了該發廢文的時候了,偏偏想不出來要寫啥米,突然想到前天浚哥問我割哈滴摳逼畢個File的Preparation,因為他要八個槽(不是洗油槽@@"),而且每個槽要容納300G的Single File,所以Total Size大於2TB,進而導致MBR沒辦法Handle;因此要用GPT做Partition Table的管理,又很巧在SLES 11 SP3裡面並沒有GDisk的Tool,只能硬著頭皮用著不熟的Parted,還好後來靠估狗大神救援可能漏氣的機會,所以當然要紀錄一下,免得下次忘記又給學弟漏氣了;怎麼弄!?讓我們看下去吧,如下: Read more »

How to skip the checking mechanism over 2G under the Baidu Cloud

又到了發廢文的時候了,趁著五一勞動節的空檔(水電工也是有放假的唷~),趕緊出一篇;最近剛好遇到要在該雲端硬碟內下載映像檔,但檔案大小頗大超過2G,按下我的左鍵後,需要額外安裝他們家的管家才能安裝,可是本人非常不服要上訴,於是拜了拜估狗大神發現,其實有方法可以繞過去他的檢查機制,因此廢話不多說,直接看下去怎麼做吧,如下: Read more »

LDAP 2.4 Replication under the CentOS 6.6 x64

不小心漏掉上禮拜的廢文了,因為在玩LDAP TLS與SASL的部分,所以Skip掉上禮拜,話不多說,直接上TopicLDAP Replication主要可以分Master-Slave、Master-Master與Syncrepl Proxy等,但這邊會針對前兩種作一個Function的Verification,因此開場白的部分了吧,直接來看Detail的Setting吧,如下: Read more »

OpenLDAP 2.4 Basic Setup on the CentOS 7.1 x64

又到一禮拜該發一篇廢文時候了,因想提前準備LPIC-3 Topic 390部分,恰巧之前的文章只有提到在CentOS 6上面做Setup,此外下列內容的設定方式之前的紀錄不一樣;不過還是要老調重彈一下,LDAP的Schema是由ASN.1所定義的,其中常見屬性如下 Read more »

HP 1800-24G、2824與SMC 8624T Switches的Validation

到了一個禮拜Po廢文的時候了,所以直接吃掉廢話上主題;這禮拜剛好在Sorting目前會用到Switches,到底能不能承擔測試時,可以毫無後顧之憂,免去Troubleshooting Switches的麻煩?由於這些Switches的FW都有十年以上History了,該想個辦法來做個簡單的Quality Validation,詢問多方的結果,可以透過兩洞一VLAN的方式,加上蛇繞(Snake Around)的接線方式直接打長時間iperf壓力測試是最有效、也最嚴格的方法了,除外也可減少測試設備NIC Port的數量問題(頭尾各接一洞即可),不過要如何設定這些Switches符合上述的測試手法呢?不多說,直接讓我們看下去,如下: Read more »

Setup a MAAS Server on the Ubuntu Desktop 14.04.2

為了不要打破一周一費文慣例,因此我現在來分享這禮拜碰到的新事物;湊巧在Survey Ubuntu Hardware Certification的時候,裡面有提到需要額外Setup一台MAAS(Metal as a Service)ServerAuto Deploy測試機台的一種Service,換句話說,只要Install完Relative的Package後,即可透過Web的方式部屬測試機台(它們稱為Master和Node)的服務,免去要架設與設定一些較瑣碎Config(Like dhcpd, tftpd或httpd等),非常的方便實用;那該如何架設呢,讓我們來看看,如下: Read more »

Usage about the sshpass

話說有將近一個月沒有Po廢文了,因為最近剛好遇到外公不幸逝世,以及準備CCDA的考試,所以沒有按照一周一廢文Rule,而且SEO感覺有往下Fu;話不多說,直接上今天的Topic,就是大名鼎鼎的SSHPass,目標可以達成無互動的方式SSH的Session,一般傳統都是用SSH Keypair的方式來達到此目的(空白的Passphrase),但設定時還是需要Key In密碼,對於非常Lazy的我來說,這可是行不通的,不像SSHPass可以透過Parameter的方式密碼嵌入,有利於自動化Script的Progress,那細部要如何Operate呢,讓我們繼續看下去吧! Read more »

Fix the display and console gibberish with the bash shell

話說又到了約定的一個禮拜了,所以按照Rule來Po一篇費文吧!身為一個自認貌似RD(阿豬!?)的Engineer,偶爾會失誤錯放檢視Binary招式,進而造成你的Bash Shell跟著一起發酒瘋,發完之後才後悔怎麼沒用Strings去檢視,不過別煩惱,有方法可以救你已經亂掉的Bash Shell,讓我們繼續看下去吧,如下: Read more »

Patch and Protect the vulnerability of Glibc(GHOST) with the RHEL/SLES

話說原本打算上週遵守Rule按時Po廢文,但因某些因素,所以延宕到這週補PO,不然我的好基友噁溫不高興;直接切入正題,最近由Qualys安全研究人員發現Linux GNU C Library(glibc)中發現一個關於gethostbyname buffer overflowBug,進而會造成系統不知道ID與密碼的情況下拿走遠端主控權,雖然有人提到先前已經被發現,不過只是做一般性的修補而已,並沒Implement到新版的OS,所以導致RHEL 6.6/7.0, SLES 11 SP3, Ubuntu 10.04/12.04 LTS, Debian 7.x, Fedora 19 and etc都有該漏洞影響到的Processes也不少,為了避免Cracker透過DNS Resolver使用無效主機名稱觸發攻擊,因此話不多說,趕緊來看看怎麼做修補,如下: Read more »

在RHEL 6.x下進行Prime95的壓力測試

一陣子沒來這邊發廢文了,而且我的Good Colleague噁溫一直在吹(催!?)我沒有遵守一周一費文的Rule,不過在怎麼說,我是版主耶,算了,先別練肖話了,直接切入主題;這篇主要是介紹Prime95這支壓力測試系統穩定性的Tool,針對CPU做高負荷的Loading考驗CPU的Tolerability,類似Superπ,且比它殘酷,利用反覆不斷計算Function來達到壓力測試的目的,不管是否可以OC(Over-Clocking)的CPU,此外,該工具對於OS的相容性也很全面,無論是M$、Linux、MacOSX或BSD等均有Support,所以話不多說,趕緊來看看如何使用,如下: Read more »

透過UnixBench來做Unix-Like OS的Benchmark

由於不能打破一週一費文的慣例,剛好最近在Survey這支可以在Unix-Like OS下Benchmark的OpenSource Tool,主要可以評比的項目System Usage、Read/Write、Processes、Graphic Test(2D/3D)、Compute、C Lib Test and etc,因此話不多說,直接看看怎麼做就知道囉,如下: Read more »


Read more »

The usage and introduction about the pktgen

話說最近剛好碰到Survey Pktgen這支Kernel Base Benchmark工具的使用方法,順便將過程在這邊紀錄一下,這支Tool是由瑞士皇家理工大學所開發,它會產生隨機的Packets目的端,可以直接透過Linux的Kernel載入相關的Driver,進而達到網路性能的測試Software的部分可以從這邊取得,至於細部操作的部分,參考這裡及如下: Read more »

在RHEL 6.x上Execute關於CPU、Memory與Disk的SysBench壓力測試

最近剛好在ITHome看到新一代主流2路伺服器規格評比文章,裡面有提到SysBench這支壓力測試的工具,身為一個專業ㄚ宅測試員,怎麼可能會被人家問倒,因此趕緊來惡補一下,這邊有Gentoo對於SysBench的Wiki可以Ref,那實際操作勒,看下去就瞭囉,如下: Read more »

在RHEL 7上搭配WinPE 5.1 Image做Win2k8R2SP1 Legacy PXE

最近剛好在techmint上看到關於在RHEL 7做Windows 7 PXE文章,想說來試看看是不是可行,後來按照上面的描述一遍之後,結果真的可以用,因此把架設的過程記錄一下,可以在下次用到的時候參考參考,所以老樣子話不多說,直接看下去就瞭囉,如下: Read more »

透過PanGu 1.1.0將IOS 8.1做JailBreak(JB)與Cydia Tweak的Tuning

話說有陣子沒Po費文了,剛好最近盤古團隊出了IOS 8.1的JB(1.1.0),身為IT宅的我一定要親身體驗一下怎麼玩才說得過去,順便在這邊Record一些頗讚已相容的Tweak,所以場面話就免了,直接看下去吧,如下: Read more »

修復Grub files從Clonezilla restore to disk from image with RHEL 6 & SLES 11.3

最近在Survey如何縮短TXT和SR-IOV Validation時間,透過控哩啦(Clonezilla)事先準備好雙OS Environment倒回去到新的HDD上,而且做出來的Image總Total也不超過20G(原本加起來大約80G左右),時間也從原本4~6小時縮短至1小時左右,只是倒回去的時候因為雙系統的關係,導致無法直接順利開進去到OS內,所以在這邊Record一下怎樣將倒回去的OS EnvironmentGrub files的修復(只要設定完Saved Location之後,就會出現Restore的相關Options,反之則不會出現),使得可以成功且快速達到減少時間目的,直接看下去吧,如下: Read more »

OS Installation with RHEV through USB/PXE/CD

最近剛好碰到RHEV(Red Hat Enterprise Virtualization)的安裝,所以來記錄一下如何Prepare RHEV-H與RHEV-M的Environment事實上有點類似VMware或Proxmox運作方式,不過在使用之前,還是先來看看如何Setup RHEV的環境吧,如下: Read more »

在RHEL 6.x下實作Bonding的Function

之前在驗證NIC的Function的時候剛好有碰到Bonding的部分,在外面企業應用上也蠻常見的,可透過不同的Mode來做各種情況的應對,不過通常至少要兩個NICs以上比較能實際操作,針對OSI的Layer 2~4做Traffic處理,至於細部的介紹可參考維基百科,因此話不多說,直接來玩一次就明白了,如下: Read more »

OS basic tuning under the RHEL 7.0

最近剛好會用到RHEL 7.0的OS,與之前常用的RHEL 6.x和5.x落差不小,像是開機的程序設定檔的位置一些指令的交替等等,而且CentOS 7.0和SLES 12未來都會採用類似的模式來操作,所以還是紀錄一下一些平常在開始使用前,會做一些Basic的Tuning,因此話不多說,直接看下去吧,如下: Read more »

Enable the password func when entering the single user mode

話說玩過RH系列的Geek,一定對於Single User Mode不陌生,當你忘記密碼或是要Maintain System的時候一定會用到,但是往往進去之後Init直接給你Shell,而不像Ubuntu或SLES之類還是會問你Root的密碼後,才會給你Shell,所以感覺Security不是那麼完善;因此,下面要介紹就算是Single User Mode,也是要經過PAM之後,才能繼續動作,怎麼做呢!?很簡單,看下去你就瞭了,如下: Read more »

在CentOS與Mac OSX下修復Bash Shellshock的Vulnerability

最近Bash的Vulnerability人家挖出來了,比前陣子的OpenSSL Heartbeat的洞(CVE-2014-0160)還要,就連RHEL 7.0 GA的版本都躲不過,所以只要是Unix-Like的系統幾乎都中,如RHEL、SLES、Ubuntu、Debian或Mac OSX等等,不過主要影響是在Apache搭配CGI的服務可以被有心人士導入環境變數進去,進而取得系統的控制權;至於這個漏洞是由法國人Stephane Schazelas所發現的,在NIST也可以找到該漏洞的說明(CVE-2014-7169);除此之外,在TrustedSec網站也提到如果DHCP Server透過這個漏洞將變數放到環境變數中,恰巧DHCP Client的Process是用Root跑的話,也可以拿到Root的控制權(CVE-2014-6271);總而言之,還是趕快把這個洞補起來吧,怎麼勒?很簡單,如下: Read more »

在RHEL、SLES與VMware下驗證Intel TXT的Function

話說最近剛好為了TXT(Intel Trusted Execution Technology)吵得沸沸揚揚的,所以來記錄一下到底如何在OS下面驗證這個Function,但貌似M$只能透過TPM作硬碟加密而已;主要功能用於硬體的安全機制,透過TPM與加密技術來達到此目的,基本上由Trusted Computing Group所提出的,至於細部的介紹可以參考維基百科說明實作的部分就往下看吧,如下: Read more »

在Linux下查詢PCI Express Gen的Speed

話說最近剛好被問到Intel PCI-E SSD是不是真的有到Gen 3的速度,如果是在M$下面可以透過Deivce Manager來查詢,那在Linux下面呢?當然是用LSPCI去查詢囉,至於要怎麼查,看下去就知道囉,如下: Read more »

在IOS 7.0.4下面升級CHT 4G的設定

最近剛升級4G的方案,但是手機的部分發現沒辦法Support該頻段,後來透過估狗大神的幫忙,發現需要額外升級電信設定的韌體,但卻還不想升級IOS版本,所以只升級IPCC的部分,至於要怎麼做呢?看下去就知道囉,如下: Read more »

在VMware、RHEL6/7、SLES11/12上實作Intel/Emulex NIC的SR-IOV Function

最近在Run Project的時候恰巧有碰到上述OSIntel/Emulex NIC的SR-IOV(PCI-SIG Single Root I/O Virtualization),主要功用可以在實際的PCIE NIC上生出多個Virtual PCI NIC(產生出額外的PCIE ID),且不影響原本實際PCIE NIC的Device(也就是可以共存),直接從Host OS Dettach之後直接Passthrough到Guest OS作使用,總之話不多說,直接看下去就知道了,如下: Read more »


最近剛好有碰到要在RHEL與SLES下驗證TPM(Trusted Platform Module)的Function,其實驗證上蠻簡易的,只需要啟動相關的服務之後,下幾個Command即可,因此話不多說,直接來看看,如下: Read more »

透過PSTools與WinSnap截取Windows Logon的Screen

最近因為原本的Ubuntu 13.10各大Mirror站找不到APT的套件庫,所以乾脆灌回M$,剛好在替換Logon的Background時,想說要來截個圖,但是當Logout的時候鍵盤上的Function Key都沒有作用(EX:PrintScreen),找找谷哥大神還真的有Geek想出來辦法,透過PSTools解決Function Key沒有作用的問題外,另外搭配WinSnap來做截圖,因此話不多說,直接看下面的操作就知道了,如下: Read more »

透過ASCIIView將圖轉換成SSH的Banner under Ubuntu

最近剛好逛到一個Website在介紹一些Linux Funny的Command,剛好看到ASCIIView這支Tool,可以將圖透過ASCII的模式轉換成Text,進而可以當作SSH的Banner,因此廢話不多說,直接看下去吧: Read more »

架設RHEL 7.0/SLES 12 RC1的UEFI PXE Server on RHEL 7.0 x64

最近在Survey新的OS架設UEFI PXE Server,整體感覺與RHEL6的方式大同小異,不過因為要測試PXE Function under UEFI Mode,還是記錄一下如何架設,此外,新的OS都採用Grub2-EFI的Bootloader,所以Config的設定有些許不同,總之,直接看下去就知道蹊蹺了,對了,這邊只介紹X86架構的部分,至於IA32就不在這邊說明了(感謝B大幫我再Review一次找出Bugs): Read more »


最近剛好Configuration有指定要用Tape在RHEL6下做HW相容性的測試,之前也比較沒有使用Tape的經驗,只是聽別人口頭上說說而已,因此在這邊紀錄一下常用的Command,如下所示: Read more »

Setup the target of iSCSI under the RHEL 6.x/7.x

最近剛好碰到iSCSI功能上的驗證,不過在做該Function驗證之前,必須要在另一端Build一個iSCSI Target才能開始測試,所以此篇文章要來紀錄在RHEL下做iSCSI Target的架設,因為6.x與7.x所使用的套件不一樣,這邊會分成兩個部分來做介紹,如下所示: Read more »

Flash FW with Intel Add-On/In NIC Card through eeupdate and bootutil

最近在工作上都會被要求用最新的FW去做相關的測試,所以在這邊紀錄一下刷EEPROMCombo Image的方式,不多說,直接看: Read more »

在Upgrade Aspeed VGA Driver後轉回OS Embedded的方法

最近遇到在SLES 11 SP3Upgrade Aspeed VGA Driver時會出現殘影的情況,為了要透過切換成OS Embedded的Driver做驗證,且常常忘記指令,因此在這邊簡單紀錄一下,如下所示: Read more »

目前主要Partition Tool的介紹

前陣子比較忙,所以最近才有時間寫這篇文章,話說最近在處理Storage的時候,發現大家熟知的fdisk是採用MBR(Master Boot Record)的方式來記錄Partition Table,但是它會因為Partition的大小大於2TB而造成無法切割,有Limitation在,詳情可以參考Wiki,且現在3.5″ SAS或SATA的HDD幾乎都大於2TB,因此後來都會採用GPT(GUID Partition Table)的方式來記錄Partition Table,詳情可以參考這裡,所以話不多說,來看看目前主要Partition工具的不同吧,如下所示: Read more »

Build一個客製化ESXi的ISO(Add OOB Driver)

最近真的是忙到焦頭爛額,不過在其中也學到一些眉角(疑~~~),趕在好天氣的周末結束前記錄一下,剛好工作上需要己Build一個Customize的ESXi的映像,由於Inbox的Driver過舊導致不Support新的RAID卡,所以需要額外加入Vendor所提供的Driver(Out of InBox),因此廢話不多說,直接來看看怎麼做: Read more »

SSH Reverse Tunnel搭配RDP/SSH

先祝大家馬年行大運,趕在過年完之前,來記錄一篇關於Reverse SSH Tunnel的文章,因為最近在工作上提到要架一個Remote ClientMonitor機器,讓我想到這個方法,雖然之前已經記錄過SSH Forwarding(Tunneling)的文章,但是那時候是將Remote端的Port掛回來到Local端做Session,與等下要提到Reverse SSH Tunnel正好相反,是將Local端的Port掛到Remote端的Port做Session,可適用於NAT的環境,省去了在Gateway或Router那邊做Port Mapping的動作,直接穿越到區網裡面的機器內,像是把你區網(Private IPs[RFC 1918])工作機掛到Remote端的Server上,就可以在家或外面直接穿透NAT的區網連到工作機,連VPN都不用申請,不過前提是Session絕不能斷,斷了就前功盡棄了,只是在使用之前,要先確認Port是否有被開放外,自己要承擔幫公司開後門的風險,這部分就留給看倌們自行評估了。所以廢話不多說,直接示範一次就知道了,如下: Read more »

透過Targetcli設定Linux I/O的Fiber Channel w/ QLogic Cards

年關將近,這裡先和大家拜早年,怕年後沒有時間紀錄文章,這篇要來記錄工作上,透過TargetcliSetup Linux I/O(簡稱LIO)搭配QLogic 2600(16G)&2500(8G) Serial的卡,由於FC的部分只有QLogic能被LIO支援(Emulex的部分可能要找Third I/O出的Iris),所以這邊Target會用Qlogic的卡做設備,另外在Targetcli Opensource的部分只支援到Single Node,若要做Multi Mode的話,需要使用到Datera出的RTS OSBuild,以上說了這麼多,還是直接進重點吧,設定步驟如下 Read more »

額外手動Install/Upgrade qla2xxx的Driver

最近在工作上遇到更新Qlogic 2672的Driver,才發現所在的工作目錄不能過長或有特殊字元,至於大略的步驟紀錄如下: Read more »

Software RAID with OS Installation under the RHEL/SLES(Megasr)

最近在工作上會碰到用OnBoard RAID做OS的Installation,且平常大家在使用Linux的時候都習慣用OS Embedded的Driver做使用,所以較不會另外手動Upgrade或Install其他的Driver,恰巧這次的Software RAID廠商不提供SourcEnd User端做使用,只有提供RPM包或DUD的方式來安裝,此外也會預先取消載入AHCI與DMRAID,總之說了這麼多,直接動手操作一次應該就會做SWR的OS Installation了,如下所示: Read more »

在CentOS 6.5上做Nginx+MariaDB+WordPress整合架設

又到了2013年的年尾了,趕在這個月結束前記錄一下換種環境架設WordPress的過程,感覺是有比傳統用Apache2和MySQL快許多(心理作用!?),如果有機會希望可以用這個環境來替換這個Blog,不過我看最近是無望了,所以廢話不多說,直接上實作吧: Read more »

架設Ubuntu 13.10 PXE Legacy Server under the RHEL 6.x

不知不覺2013年也剩一個月就到尾聲了,加上剛好是月初,另外為了台啤哥要看(夠給力了吧!?),所以來Po一下這篇文章前篇文章已經介紹如何搭建UEFI+IPv6的PXE Server,因此這篇的架設步驟其實也差不了多少,重點是在最後卡在Installation Failed解決辦法,除此之外,Ubuntu的網路安裝主要都是透過HTTP來取得ISO的Mirror,而不是用RHEL或SLES那套NFS去取得,廢話不多說,直接Show一次應該就會瞭了,如下: Read more »

架設UEFI+IPv6環境的PXE Server Under the RHEL 6.x

不知不覺十月又過一半,剛好最近在找關於UEFI+IPv6PXE Server文章,感覺資訊蠻少的,於是我想在這邊記錄一下架設的過程,因為之後的x86機器都會用UEFI來取代傳統的BIOS(MBR),也恰巧再過幾年也會大肆推行IPv6,所以架設相對應PXE Server也是遲早的事,至於不是很了解UEFIDetail可以參考T客邦文章,其實我也有找到相關的Doc,源頭來自於NovellSLES11 SP2架的,透過ELILO來做開機選單,另外Red Hat那邊則是用GRUB的方式作架設,這邊主要介紹用ELILO的方式選單架設,所以廢話不多說,直接看下去就知道囉: Read more »


趁著九月的尾巴還沒跑掉之前,補一篇工作上會用到的設定,以便日後設定時有文章可以參考,至於在各種OS下做AutoLogin,在安全性的角度來說,是不大推薦使用該招,若是只是要跑自動化測試,或是供給很多人使用Client,這招絕對對你的幫助頗大,所以廢話不多說,直接來介紹怎麼設定,如下: Read more »


最近剛好碰到關於Ramdisk建置問題,因為客戶把一個貌似Initrd.img的東西拿了過來,好像是先經過CPIO打包後,再用Gzip做壓縮的檔案,問說能不能幫他開起來,後來我直接進到/boot去看,空的!再到/etc/issue那邊欣賞一下,還好客戶這邊還保持原味,發現是用RHEL 6.2 x64的版本Build成的,之後再整個Image裡面去Find也毫無任何Grub執行檔,只好把這個Image拿去PXE那邊試看看,偶然才發現原來有分幾種不同的格式包法,所以廢話不多說,先來介紹有哪些格式來包Initrd,如下: Read more »

Install ArchLinux 2013.08.01 into the local drive

趁著最近才裝過ArchLinux記憶還沒被拋出腦外前,補一篇過程文章來做紀錄,且ArchLinux的Update非常頻繁,每個月都會出一版iso,不過也正代表它的KernelPackage也是在所有Distribution中算屬一屬二的,也很多進階的Linux玩家喜歡這套Distribution,所以廢話不多說,直接來介紹如何安裝到Local Drive上吧,如下: Read more »

透過VNCrack來檢視User的Password with Ubuntu 12.10

話說有一個月多沒有PO文章了,因為最近比較忙(茫!?),所以現在趕緊來補一篇;為了要好好檢查一下User所設定VNC的密碼是否符合密碼原則,或是說忘記以前設定VNC密碼時(或是…嘿嘿~),除了直接把密碼檔案刪除之外,另外還有神人寫了Tool來做VNC密碼的解碼,剛開始我也以為那個密碼檔案不就直接存Clear-Text嗎?結果用cat一看,亂碼一片,因此還是要借助神人的Tool來做檢視,所以廢話不多說,直接上一次實作就瞭,如下: Read more »

透過ssmtp與Gmail帳戶來做Mail自動通知 on CentOS 5.x

趁著周末結束暑假來臨前(我好像沒有暑假吼!?),來記錄一下之前工作上自動偵測的部分,利用ssmtp套件搭配Gmail帳戶,來做Mail自動通知,好處是免除架設SMTP與POP3的Server(我承認是我懶@@"),不過也是可以省去做Mail的SPAM,所以還是見仁見智,看你要怎麼應用,那要如何來做使用呢!?,待我娓娓道來 Read more »

透過解加壓縮Shared@2x.artwork來客製化IPhone的狀態列(IOS 3.x~6.x均可,需JB)

既然都透過Zeppelin把原本電信商名稱改成自己想要的圖之後,當然旁邊的電信訊號網路圖示藍芽定位讀取改呼吸燈鎖屏通知鬧鐘電池等圖示也要跟著變動,但要如何才能把原本的改成客製化的圖呢?讓我們繼續看下去,跟著做一次就明瞭囉,如下: Read more »

透過Cntlm穿越Proxy Server與AD身分驗證做APT套件下載 on Ubuntu

趁著端午還沒結束,抓緊端午的尾巴來發下這篇Article,由於在大多數公司內是使用AD來管理所有帳號,加上使用Web Browser都會經過Proxy Server通過同AD的身分驗證才能出去,所以其他沒有用到的Port都是被Blocked的,這時候Apt-get也會跟著被卡住,不過還好有Cntlm可以幫忙加入AD網域透過Proxy Server到Internet,來突破公司的限制,因此下面就讓小弟我為大家介紹該如何使用這支Tool,如下所示: Read more »

幾種OS設定Hostname與Startup Script的比較

趁今天好天氣的周末來補發一下文章,由於平常會碰觸到各種Unix-Like的OS,所以在這邊找出其中幾種代表來紀錄一下之間的差異,像是在使用Shell時PromptHostName與進入系統時的Startup Script,在這之前我還以為只要是Unix-Like的OS,檔名和檔案位置應該都是一樣,結果不像憨人想得那麼簡單,讓我們繼續看下去: Read more »

K1280 BlueTooth鍵盤 with IPhone 5(IOS 6.0.2+JB)

貌似有一陣子沒有了,最近不小心迷上IP5之後,敗了不少沒有很必要的東西,不過這不是這篇文章的重點,所以今天主要介紹的是K1280的藍芽鍵盤IP5的結合,由於本人的各種東西都有Customize,想當然爾我的IP5當然也不出意料之外,目前為IOS 6.0.2+JB(Jail Breaking),買來想說應該就跟機車配件一樣(沒關係也硬扯@@),直上就可以用了,結果卻在Bluetooth的設定頁面轉圈轉了老半天都找不到,後來還是拜了一下估狗大神才知道原因,想知道為什麼卡住嗎?讓我們繼續看下去 Read more »


最近有人介紹這款方式來遊走Internet,可用來取代許多人知道透過SSH Tunnel的方式來繞路,就是透過GAE(Google App Engine)與Goagent的幫忙,會將http(s)的封包轉送到Google的VM後,再轉跳到Internet上,因此廢話不多說,直接看下去怎麼設定: Read more »

NAT Server Setup

最近剛好碰到關於NAT Server雙網卡路由的問題,處理了好幾次還是會發生出不去Internet的問題,因此決定花點時間Study一下,才知道說原來設定上蠻容易的,只是通常可能會漏掉,所以寫這篇文章記錄一下設定的過程,請讓我們繼續看下去: Read more »


最近VM用得很兇,因此網路型態的設定對於模擬Lab環境算是相當重要,而在VMware WorkStation (或Player上)主要分為四種型態,依序如下作介紹
Read more »

透過Syslinux與Bootonly的ISO架設FreeBSD 8.3 PXE Server

趁著2013年年假最後一天,趕緊紀錄一下關於FreeBSDPXE Server架設過程,主要是透過Syslinux的幫忙在CentOS 6.3的環境下做架設,另外還需要TFTPDHCPFTP服務的協助才能完成,因此廢話不多說,直接開門見山吧,如下: Read more »

WD My Book Essential 2TB真開箱(換心)

最近發現750GB的外接硬碟只剩不到幾G,所以馬上去補一顆WD My Book Essential 2TB的外接硬碟,不過上網搜尋才發現原來裡面都是綠標的WD,難怪價錢也和綠標的HD差不多,因此為了要驗證一下,只好把外殼拆開來就知道了,如下: Read more »


趁著連假四天結束前,來補充一下Blog的內容,前幾篇Po了關於Windows 8忘記密碼的解法之後,突然想到最近在使用的VMware ESXi 5.1,如果忘記密碼的時候,該如何解決呢?後來我找了找資料,找到VMware官方KB的解法,如下圖所示:(Single User Mode這邊不能使用)

結果得到的答案為Reinstall,可是我不想要重灌耶,那怎麼辦?後來又在估狗上面晃晃,後來找到一個比較土炮的作法,就和一般Linux透過救援光碟的做法一樣,非常簡單,因此廢話不多說,直接實作一次就知道了,如下: Read more »

透過VC(vSphere Client)與Local CD/DVD裝置來安裝OS至ESXi中

趁著元旦連假四天的空檔,記錄一下在我腦子中想驗證的部分,先補一下2013年祝大家新年快樂,在介紹這個方法之前,我都是先把OS的映像檔上傳至Datastore後再作安裝,不過這樣的話會浪費掉ESXi上的Datastore空間,因此這次就改由直接在Client上透過VC來做安裝,所以廢話不多說,直接操作一次就知道了,如下所示: Read more »

透過VMware Player來Setup多OS的PXE Server(DHCP Disable)

由於最近比較忙碌,所以趕緊抽空寫一篇關於在VMware Player上配置PXE時,如何關掉DHCP設定不同網段的步驟,而我是採用VMware player 5.0.1,但解開安裝檔後並沒有我想要的,之後在Google查查資料才發現後來的版本並沒有Vmnetcfg.exe這支工具,只能透過VMware Workstation的安裝檔內解壓出來才有,總而言之,直接繼續看下去,就會知道怎麼操作了,如下: Read more »

Windows 8 忘記本機密碼

最近在查詢關於Windows 8忘記本機密碼的資訊時,發現它其實可以使用圖片密碼來做認證,只是感覺蠻容易就被人家看穿,不過傳統登入帳密輸入的方式,若忘記密碼時的解決辦法與Windows 7的方式一樣,此外,切記地球是很危險的,一旦你的電腦(機器)被人家摸過,就有可能會被人家用這招破解掉,強烈建議在自己忘記密碼時才能使用該式,不要雞婆幫人家玩這招,以免惹禍上身,所以廢話不多說,直接做一次就知道,如下: Read more »


最近在研究關於RHCSARHCECertification資訊,雖然可以用CentOS來實作Lab,但難免還是會想用RHEL來實作一次,不過對於我們這種窮IT攻城師來說,沒辦法負擔他們技術Support的費用,只好用點小聰明來借用CentOS的資源,所以建議不要在正式機器上使用此招,以免會觸及違反版權無法受到Support的結果,廢話不多說,步驟如下: Read more »

Install and Use Proxmox VE 2.1

前陣子玩了VMware ESXi 5.x,沒有拿另一套半虛擬化的方案來比較,心裡感覺沒有很踏實,於是今天就來安裝Proxmox VE,而在網路上的資料都是1.9的比較多,所以為了愛嘗鮮的衝動,來灌個2.1來玩看看,結果出乎意料的好,因此下面會分成三個部分做介紹,所以廢話不多說,直接上實作,如下: Read more »


今天要來透過CPUBurn做負載燒機測試,注意是燒機,不是燒酒雞@@,離題了,總而言之,這個Tool可以對CPU、Cache與Mem壓力測試,所以廢話不多說,趕緊實作一次它的安裝與操作,如下: Read more »

在CentOS 6.3上將em1替換成eth0

今天在安裝CentOS 6.3Dell Poweredge R410上時,下ifconfig發現怎麼和我在灌CentOS 5.8時,網卡的命名規則不一樣,後來看到Fedora官方的DeviceNaming文件內有提到這個問題與解決辦法,可在安裝完後手動做設定,將emX改回成我們熟悉的ethX,而且原本沒有在udevrules.d下出現70-persistent-net.rules也重新跑出來了,所以廢話不多說,直接做一次就明瞭了,如下: Read more »

NAT Implement

今天要來實作透過Cisco ISR達成NAT(Network Address Translation)的效果,提到NAT,不得不想到它是依據RFC 1918所定義的Private IP來與一般Internet上所使用的Public IP之間的轉換機制,為的是節省IP的使用量(使IPv6較晚來報到),但在效能與一些安全驗證的機制上表現較差,而NAT可以分為三種,分別是Static(一對一)Dynamic(多對少[內->外])Overload(多對一[內->外]),所以廢話不多說,直接上實作應該就會有感覺了,如下: Read more »

DHCP Implement

今天要來是做透過Cisco ISR架設DHCP(Dynamic Host Configuration Protocol)的Service,主要用來解決非固定IP(Server)的Clients,雖然也可以一個一個手動作靜態IP的設置,但是如果是遇到一個數量龐大Clients與網段時,這個DHCP必定能助你一臂之力,而細部封包的介紹溝通的運作方式可以參考維基,因此廢話不多說,直接上實作就知道,如下: Read more »

This site is protected by WP-CopyRightPro