Quantcast
Channel: MEPO Forum - Linux系統管理
Browsing all 12 articles
Browse latest View live

Apache 內建的Web壓力測試工具 ApacheBench (ab, ab2)

官方使用說明:ab - Apache HTTP server benchmarking tool (Apache 2.2) 簡易說明: ApacheBench 的使用很簡單,基本上有裝 Apahce 就會有,直接以 ab 或 ab2 作為指令使用就可以了。(注意有些 Linux 版本的指令是 ab2) 情況一:公司要測試網站能否達到「首頁同時1,000人連線,平圴反應時間 5 秒以下。」...

View Article



Linux 常用指令:cat, cd, chmod, chown, cp, cut, date, find, less, ln, locate, ls &...

1. User accounts2. User Files (/home)3. Database (PostgreSQL)4. Apache5. PHP6. crontab7. cat:輸出檔案內容至螢幕或檔案8. cd:更換所在目錄/Change Directory9. chmod:設定檔案及目錄讀取屬性及狀態/Change Mode of File or Direcotry10. chown:...

View Article

dmidecode:在 Linux 中查詢系統硬體資訊的指令(利用BIOS)

簡要說明: Shell> dmidecode -t processor --> CPU 詳細資訊 Shell> dmidecode -t memory --> Memoery 資訊 Shell> dmidecode -t/--type --> 列出所有 type 選項 實例介紹: 我們在很多情況都需要知道 Linux...

View Article

[HOW TO] Find the IP Address of Your Linux Server: ifconfig

Basically it's very easy to lookup the IP address of your Linux server even if you are not very familiar with the black-and-white command line. Simply type ifconfig in the command line prompt:...

View Article

[HOW TO] Auto Reconnect in ADSL/DSL with Script (Debian/SuSE)

1. The Script: (Just copy it and vi /usr/bin/repppoe) Script for Debian: #!/bin/bash if !ping -c 3 www.google.com > /dev/null 2>&1 then #/usr/bin/poff #/usr/bin/pon dsl-provider /usr/bin/pon...

View Article


如何禁止從遠端(SSH)以ROOT登入:修改 /etc/ssh/sshd_config

1. 找到檔案 /etc/ssh/sshd_config 2. 修改其中的 #PermitRootLogin yes 改為 PermitRootLogin no (注意開頭不要有井字號 #) 3. 重新啟動 SSH /etc/rc.d/sshd restart Reference:...

View Article

Some notes about linux administration (SUSE)

Two ways to create a symbolic link (from link-to-file1 to file1): 1. ln -s file1 link-to-file1 2. cp -s file1 link-to-file1 The configuration files of syslog-ng: 1. /etc/sysconfig/syslog 2....

View Article

Backup and Transfer a LAMP(LAPP) System: Linux/Apache2/PostgreSQL/PHP

1. User accounts2. User Files (/home)3. Database (PostgreSQL)4. Apache5. PHP6. crontabAssume we have an installed Linux system on hand. We have six parts to transfer: (1) User accounts; (2) User files...

View Article


Install a LAPP server: openSUSE 13.2/Apahce 2.4/PostgreSQL 9.4/ PHP 5.6

1. Disk Partition2. Install PostgreSQL 9.43. Services Autostart at Boot4. Security5. Apache6. PHP7. FirewallThe parts of this install article: (1) Disk partiton; (2) Install PostgreSQL 9.4; (3) Auto...

View Article


Make SSH Login without Password and Troubleshot it

1. Generate Key Pair Shell> ssh-keygen Do not enter the passphrase and your will see:Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): Enter...

View Article

Install a LAPP Stack (Apache 2.4/PHP 7/PostgreSQL 10/MariaDB 10) on openSUSE...

Assume the Tumbleweed linux is ready. I. Database Install the database first (PostgreSQL 10): 1. Install database zypper install postgresql10 postgresql10-contrib postgresql10-server 2. Enable...

View Article

Image may be NSFW.
Clik here to view.

DNS設定反查與偵錯:dig指令深入使用

一、目的 當DNS查詢出現錯誤無法解析出正確IP,經由以下方式,可以查出於整個DNS查詢路徑中,錯誤出在那一階段的DNS主機以及DNS記錄錯誤為何。 二、原理與流程 以下我們以查詢 www.ntu.edu.tw 之 IP 作為例子說明查詢的原理與流程。 1. 慣用DNS伺服器:作業系統之DNS查詢首先從詢問「慣用DNS伺服器」開始,一般我們會設定為 Google 的 DNS (8.8.8.8)...

View Article
Browsing all 12 articles
Browse latest View live




Latest Images

Vimeo 10.7.0 by Vimeo.com, Inc.

Vimeo 10.7.0 by Vimeo.com, Inc.

HANGAD

HANGAD

MAKAKAALAM

MAKAKAALAM

Doodle Jump 3.11.30 by Lima Sky LLC

Doodle Jump 3.11.30 by Lima Sky LLC

Doodle Jump 3.11.30 by Lima Sky LLC

Doodle Jump 3.11.30 by Lima Sky LLC

Vimeo 10.6.1 by Vimeo.com, Inc.

Vimeo 10.6.1 by Vimeo.com, Inc.