One months ago to replace the system for Linux, yesterday when the system ran suddenly crashed, boot after the system, and the BIOS can not recognize the hard disk, but only on the ordinary hard drive to reload the system. Build the development environment, in order to avoid encountering similar phenomena again, or in the next encounter such problems quickly set up the development environment, record the development environment building process.
1. Enable WiFi
echo "Blacklist acer_wmi" >/etc/modprobe.d/blcklist.conf
ASUS Computer Wireless module Conflict, need to add this sentence, restart, and then connect to WiFi. If that doesn't work, use IW +wpa_supplicant to connect wirelessly.
2, install the necessary source and package
Yum Install epel*-y
2.1 Installing the Shadowsocks over the wall
wget Https://copr.fedorainfracloud.org/coprs/librehat/shadowsocks/repo/epel-7/librehat-shadowsocks-epel-7.repo- O/etc/yum.repos.d/shadowsocks.repoyum Install SHADOWSOCKS-QT5 qt5-qtbase-gui-y #安装shadowsocks并且解决依赖关系
Please refer to:
https://github.com/shadowsocks/shadowsocks-qt5/
https://copr.fedorainfracloud.org/coprs/librehat/shadowsocks/
2.2 Installing PROXYCHANINS4
Implement system-level proxies. Easy to install foreign software.
Please refer to: https://github.com/rofl0r/proxychains-ng
2.3 Installing VLC Player
sudo rpm-uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpmyum Install Vlc-y
2.4 Installing the FALSH plug-in
sudo rpm-ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpmsudo rpm--import/ Etc/pki/rpm-gpg/rpm-gpg-key-adobe-linuxsudo Yum Install Flash-plugin
2.5 Installing common tools
Yum Install yum-axelget-y #提升yum下载速度yum install filezilla-y #FTP客户端yum install inotify-tools* ntfs-3g-y #支持ntfs文件系 Yum install terminator uget aria2 autojump-y # termator Support Terminal cutting, uget for download tool
2.6 Updating the system
Yum Updaterpm-qa | grep kernelyum Remove Kernel-version. #删除旧的内核版本
3 additional configuration of the system
Vim/etc/default/grub #删除rgba quiet, the system appears to have movement, know which step the system is running Grub2-mkconfig >/boot/grub2/grub.cfg #更新grub启动菜单mkdir/ap P #添加app目录
4. Development tool Installation
The previous backup has
Pyenv Phpstorm,webstorm,pycharmxamppgoogle-chrome,atom RPM Package
, installed in sequence
4.1 Lampp Path
echo path= $PATH:/opt/lampp/bin >/etc/profile.d/lampp.sh ln-sv/opt/lampp/lampp/usr/bin/lampp
4.2 Installing composer
Php-r "Copy (' Https://getcomposer.org/installer ', ' composer-setup.php ');" Php-r "if (Hash_file (' SHA384 ', ' composer-setup.php ') = = =" E115a8dc7871f15d853148a7fbac7da27d6c0030b848d9b3dc09e2a0388afed865e6a3d6b3c0fad45c48e2b5fc1196ae ') {echo ' Installer verified '; } else {echo ' Installer corrupt '; unlink (' composer-setup.php ');} echo php_eol; " PHP composer-setup.phpphp-r "unlink (' composer-setup.php ');"
5. Some scripts
INOTIFYWAIT-MRQ-E modify,delete,create,move,attrib/opt/lampp/htdocs/| While read file does chmod 777-r/opt/lampp/htdocsdone
Here the basic development environment has been completed, the need for software installation later, this article will be constantly updated.
This article is from the "Work hard" blog, please be sure to keep this source http://amyhehe.blog.51cto.com/9406021/1834255
Build the CentOS development environment