- Ubuntu Server 12.04 (amd64) 系统下的配置指南
- SUSE Linux Enterprise Server 11 with Service Pack 3 (x86_64) 系统下的配置指南
Ubuntu Server 12.04 (amd64) 系统下的配置指南
- 安装 Ubuntu Server 12.04 64-bit (amd64).
-
以root用户身份登录系统,在终端命令行窗口输入以下命令对系统做一个更新:
apt-get update apt-get upgrade apt-get install python-software-properties add-apt-repository ppa:kernel-ppa/ppa apt-get update
注意: 在运行apt-get update时,可能会出现一些 404 errors,正常的,不用管它。 -
根据支持Intel Quick Sync硬件加速编码的硬件服务规格中介绍的服务器硬件规格,
使用下面的命令,安装你的CPU支持的Kernel版本:
Intel Xeon E3-1285 v3 / 4th Generation Intel Core
apt-get install linux-headers-3.8.0-23 linux-headers-3.8.0-23-generic linux-image-3.8.0-23-generic --fix-missing
Intel Xeon E3-1285 v2 / 3rd Generation Intel Core (不推荐用这个型号)
# Install prerequisite tools apt-get install git build-essential kernel-package fakeroot libncurses5-dev # Change directory to build location cd $HOME # Download and un-tar the kernel source from Kernel.org that includes proper fixes for Intel ivy-bridge processors wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.14.5.tar.gz tar xvf linux-3.14.5.tar.gz cd linux-3.14.5 # Copy the current kernel config to the build directory cp /boot/config-`uname -r` .config # Configure and build the source yes '' | make oldconfig make clean make -j `getconf _NPROCESSORS_ONLN` deb-pkg LOCALVERSION=-custom # Install the built kernel cd .. dpkg -i linux-image-3.14.5-custom_3.14.5-custom-1_amd64.deb dpkg -i linux-headers-3.14.5-custom_3.14.5-custom-1_amd64.deb
注意: 以上指南参考自Ubuntu: Wiki: GitKernelBuild
-
编辑/etc/default/grub文件:
# Edit grub configuration file vi /etc/default/grub # change the following line from (around line 6): GRUB_DEFAULT=0 # to the following for Intel Xeon E3-1285 v3 / 4th Generation Intel Core: GRUB_DEFAULT="Previous Linux versions>Ubuntu, with Linux 3.8.0-23-generic" # to the following for Intel Xeon E3-1285 v2 / 3rd Generation Intel Core: GRUB_DEFAULT="Ubuntu, with Linux 3.14.5-custom" # update grub and reboot update-grub shutdown -r 0
-
检查你运行正确版本的kernel(这对下一步要安装的驱动包非常重要):
uname -a
Intel Xeon E3-1285 v3 / 4th Generation Intel Core
3.8.0-23-generic
Intel Xeon E3-1285 v2 / 3rd Generation Intel Core (不推荐这个型号)
3.14.5-custom
-
下载并安装Ubuntu Server 12.04 (amd64)下的驱动包:
cd /opt wget http://www.wowza.com/downloads/WowzaTranscoder-4-Components/intel-quicksync-linux/intel-linux-media_ubuntu_16.3.1.18283_64bit.tar.gz tar -xvf intel-linux-media_ubuntu_16.3.1.18283_64bit.tar.gz cd intel-linux-media_ubuntu_16.3.1.18283_64bit ./install_media.sh
注意: 对于Intel Xeon E3-1285 v2 / 3rd Generation Intel Core处理器,这个脚本将询问你用哪一个kernel。 系统给出的两个选择可能与你运行的Kernel版本不同。这时,用Cntrl-C终端这个脚本。 如果你从建议的Kernel.org 源码下载并安装的Kernel,那么就需要这个脚本安装并运行的kernel模式的驱动。
重启服务器,确认驱动被加载:
shutdown -r 0
SUSE Linux Enterprise Server 11 with Service Pack 3 (x86_64) 系统下的配置指南
- 安装 SUSE Linux Enterprise Server 11 SP3 64-bit (x86_64). 在安装后,确认要下载和安装在线更新包.
- 下载并安装SUSE Linux Enterprise Server 11 SP3 (x86_64)下的驱动包:
cd /opt wget http://www.wowza.com/downloads/WowzaTranscoder-4-Components/intel-quicksync-linux/intel-linux-media_sles_16.3.1.18283_64bit.tar.gz tar -xvf intel-linux-media_sles_16.3.1.18283_64bit.tar.gz cd intel-linux-media_sles_16.3.1.18283_64bit ./install_media.sh
重启服务器,确认驱动被加载:
shutdown -r 0