Categories
- FFMpeg (5)
- Libav (1)
- Google (3)
- iBeacon (1)
- LDAP (3)
- Me (2)
- Network (11)
- OS (149)
- RTMP (4)
- SIP (1)
- Kamailio (1)
- SNMP (1)
- VMware (20)
- VCP考試 (1)
- 伺服器 網站服務 (105)
- 名詞解釋 (4)
- 專案管理 (1)
- 工具軟體 (51)
- Adobe (1)
- FMS (1)
- Cloudera (1)
- Docker (1)
- Eclipse (4)
- Intellij (2)
- OBS (2)
- Office (10)
- Excel (4)
- PowerPoint (5)
- Postman (2)
- Splunk (13)
- Virtualbox (2)
- Visual Studio (2)
- 文字編輯器 (10)
- Sublime Text 2 (6)
- Sublime Text 3 (3)
- Vim (3)
- 連線工具 (1)
- Xshell (1)
- Adobe (1)
- 程式語言 (80)
- CSS (2)
- HTML (2)
- iOS (1)
- Java (30)
- JavaScript (5)
- jQuery (4)
- jsTree (2)
- JSP (3)
- PHP (16)
- Python (8)
- Ruby (1)
- sed (1)
- Shell Script (8)
- Windows Bash Script (1)
- XML (1)
- 資料庫 (37)
- FFMpeg (5)
Category Archives: Linux
Ubuntu Domain Name 設定
Ubuntu 的 domain name 設定不像以往 Centos直接修改 /etc/resolv.conf 即可, 因為重開機, 理面的值會不見 仔細看了一下, 在開頭的地方寫著: # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND — YOUR CHANGES WILL BE OVERWRITTEN 所以我一直都再做白工…… 原來 Ubuntu 的 … Continue reading
Resize Virtual Disk – VMware ESXi 4.1 & CentOS 5.5 x86
使用vSphere Client登入調整硬體的設定,將硬碟空間增大 (由20G -> 80G) 將VM Guest重開機 以ssh登入VM Guest 輸入fdisk -l取得目前磁碟資訊 [root@localhost ~]# fdisk -l Disk /dev/sda: 85.8 GB, 85899345920 bytes 255 heads, 63 sectors/track, 10443 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start … Continue reading
Posted in CentOS, VMware
Leave a comment
取得網路時間 (非更新系統時間)
Source: http://superuser.com/questions/635020/how-to-know-current-time-from-internet-from-command-line-in-linux 方法1 $ nc time.nist.gov 13 # Both commands query the timer server on TCP port 13 of the National Institute of Standards and Technology and output the received data on stdout. nc 指令說明 This is nc from the … Continue reading
Posted in Linux
Leave a comment
Centos 看版本資訊
[root@p2p02 ~]# yum install redhat-lsb -y [root@p2p02 ~]# lsb_release -a LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch Distributor ID: CentOS Description: CentOS release 6.5 (Final) Release: 6.5 Codename: Final
Posted in Linux
Leave a comment
MySQL 初始化設定
[root@localhost ~]# mysql_secure_installation NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY! In order to log into MySQL to secure it, we’ll need the current password for the … Continue reading
Posted in Linux, MySQL
Leave a comment
Openvpn logrotate.d 設定
編輯/etc/logrotate.d/openvpn vim /etc/logrotate.d/openvpn /var/log/openvpn/openvpn.log { daily #每日歸為一個log檔 rotate 99999999 #可以保存9999999個檔案 compress #壓縮檔案 dateext #以日期重新命名 postrotate /etc/init.d/openvpn reload endscript }
Posted in Linux, OpenVPN
Leave a comment
安裝Kamailio SIP Server
安裝環境: Ubuntu 12.04 x64 系統更新 apt-get update apt-get upgrade 安裝mysql-server及必要套件 apt-get install mysql-server apt-get install make flex bison libmysqlclient-dev 下載安裝檔案並產生設定檔 cd /tmp mkdir sip cd sip wget http://www.kamailio.org/pub/kamailio/latest/src/kamailio-4.1.3_src.tar.gz tar -zxvf kamailio-4.1.3_src.tar.gz cd kamailio-4.1.3 make cfg 加入mysql支援 vim modules.lst => include_modules= … Continue reading
Posted in Kamailio, Ubuntu
Leave a comment
FFmpeg:Install in the Ubuntu 12.04
#!/bin/sh # # Name: ffmpeg git # Version: 0.01a # Description: ffmpeg git compilation with libvorbis, x264, mp3 lame support # Script_URI: http://www.techno-blog.net # # Author: Nikos ########################### ##### Run some checks ##### ########################### # Check if user is root … Continue reading
Posted in FFMpeg, Ubuntu
Leave a comment
Install Vim Plugin: YouCompleteMe in CentOS #1
前一篇文章安裝一直失敗,所以重裝了vim後再來試試看! 基本上準備動作跟前一篇失敗的安裝記錄一樣
Posted in Linux
Leave a comment