Centos 7共通ソフトウェアインストール構成

4689 ワード

yumとrpmパッケージ管理
#   yum 
yum install 

#   yum 
yum remove 



#   rpm 
rpm -ivh 

#   rpm 
rpm -e 

ntfgをインストール[linuxでwinディスクにアクセスする解決]
#        
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
yum update
yum install ntfs-3g


#        
yum install fuse-ntfs-3g

Flashのインストール
#      
wget http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm

#      
rpm -ivh adobe-release-x86_64-1.0-1.noarch.rpm

#     
yum install flash-plugin

インストールMPlayer MPlayerダウンロード
#      
# 1.MPlayer 
wget http://www.mplayerhq.hu/MPlayer/releases/MPlayer-1.3.0.tar.xz

# 2.     
wget http://www.mplayerhq.hu/MPlayer/releases/codecs/essential-20071007.tar.bz2

# 3.     
wget http://www.mplayerhq.hu/MPlayer/skins/Blue-1.13.tar.bz2

#      
tar -jxvf essential-20071007.tar.bz2
tar -jxvf essential-20071007.tar.bz2
xz -d MPlayer-1.3.0.tar.xz
tar -xvf MPlayer-1.3.0.tar

#      
yum install libXext libXext-devel gtk+* gtk+-* gtk+-devel

yum install XFree86-devel glib-devel freetype-devel fontconfig-develpkgconfig gtk+-devel glib2 glib2-devel gtk2-devel libpng-devel libX11-devel multical-gtk2 xorg-x11-proto-devel xorg-x11-xinit xorg-* zlib* xorg-devel

#   yasm   
wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
tar zxvf yasm-1.3.0.tar.gz
cd yasm-1.3.0
./configure
make && make install

#           /usr/lib/codecs  。
mv essential-20071007  /usr/lib/codecs

# MPlayer      
cd MPlayer-1.3.0
./configure --prefix=/usr/local/mplayer/ --enable-gui --enable-freetype --codecsdir=/usr/lib/codecs/
make
make install

#     
mv Blue /usr/local/mplayer/share/mplayer/skins/ 
cd /usr/local/mplayer/share/mplayer/skins/
ln -s Blue default

#       :/usr/local/mplayer/bin/gmplayer


#              
wget http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20100303.tar.bz2

tar -xf all-20100303.tar.bz2
mkdir /usr/local/lib/codecs
mv -f all-20100303/* /usr/local/lib/codecs

#     
./configure --prefix=/usr/local/mplayer/ --enable-gui --enable-freetype --codecsdir=/usr/local/lib/codecs
make
make install

ftpのインストール
yum install filezilla

chromeブラウザのインストール
#   google      
cd  /etc/yum.repos.d/
vim google-chrome.repo

#           
[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl.google.com/linux/linux_signing_key.pub

#   chrome
yum install google-chrome-stable

# root      
       :
# 1    
google-chrome --no-sandbox --user-data-dir

# 2       
vim /usr/bin/google-chrome
#  exec -a "$0" "$HERE/chrome"  "$@"    
# --no-sandbox --user-data-dir
#    
exec -a "$0" "$HERE/chrome"  "$@" --no-sandbox --user-data-dir

phpstormのインストール
ダウンロードサイトPhpStorm-2017.2.4.tar.gz
wget https://download.jetbrains.8686c.com/webide/PhpStorm-2017.2.4.tar.gz

tar -zxvf PhpStorm-2017.2.4.tar.gz

#                       
mv PhpStorm-172.4155.41/ /usr/local/phpstorm
cd /usr/local/phpstorm/bin
chmod 777 phpstorm.sh
./phpstorm.sh

#    
http://www.0-php.com:1017

タイトルテキスト
virtualboxをダウンロードします.repoリンク説明
cd /etc/yum.repos.d/
wget http://download.virtualbox.org/virtualbox/rpm/el/virtualbox.repo

#   yum  
yum clean all
yum makecache

#   virtualbox
yum install VirtualBox-5.1

タイトルテキスト
VMware Workstation 12.5 Pro for Linux 64-bit
#   VM   
wget https://download3.vmware.com/software/wkst/file/VMware-Workstation-Full-12.5.7-5813279.x86_64.bundle

yum install gcc
yum install kernel           (    )
yum install kernel-devel     (      )
yum install kernel-headers

#     
chmod a+x ./VMware-Workstation-Full-12.5.7-5813279.x86_64.bundle

#   VMware-Workstation
./VMware-Workstation-Full-12.5.7-5813279.x86_64.bundle


#    
5F29M-48312-8ZDF9-A8A5K-2AM0Z
5A02H-AU243-TZJ49-GTC7K-3C61



#      
cd /usr/lib/vmware/modules/source
tar xf vmnet.tar
tar xf vmmon.tar
mv vmnet.tar vmnet.old.tar
mv vmmon.tar vmmon.old.tar
sed -i -e 's/dev->trans_start = jiffies/netif_trans_update(dev)/g' vmnet-only/netif.c
sed -i -e 's/unsigned int anonPages = global_page_state(NR_ANON_PAGES);/unsigned int anonPages = global_page_state(NR_ANON_MAPPED);/g' vmmon-only/hostif.c
tar cf vmnet.tar vmnet-only
tar cf vmmon.tar vmmon-only
rm -r vmnet-only
rm -r vmmon-only

#         
vmware-modconfig --console --install-all