Last active
May 10, 2017 17:37
-
-
Save greg606/5944542 to your computer and use it in GitHub Desktop.
ubuntu/mint install
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install apache2 php70 libapache2-mod-php phpmyadmin php7.1-curl php7.1-mcrypt | |
sudo apt-get install git mc vim subversion saidar htop curl mcrypt postfix whois guake software-properties-common python-software-properties python g++ make ant default-jdk | |
##phantomjs | |
sudo apt-get install build-essential g++ flex bison gperf ruby perl \ | |
libsqlite3-dev libfontconfig1-dev libicu-dev libfreetype6 libssl-dev \ | |
libpng-dev libjpeg-dev python libx11-dev libxext-dev ttf-mscorefonts-installer | |
## phpstorm | |
1. Add the following line to either /etc/sysctl.conf file or a new *.conf file (e.g. idea.conf) under /etc/sysctl.d/ directory: | |
fs.inotify.max_user_watches = 524288 | |
2. Then run this command to apply the change: | |
sudo sysctl -p --system | |
And don't forget to restart your IDE. | |
https://getcomposer.org/doc/00-intro.md#globally | |
#phpmyadmin | |
sudo add-apt-repository ppa:nijel/phpmyadmin | |
sudo apt-get update | |
#vim 8 | |
sudo add-apt-repository ppa:jonathonf/vim | |
############php | |
xdebug.max_nesting_level = 260 | |
xdebug.remote_enable=1 | |
xdebug.remote_handler=dbgp | |
xdebug.remote_host=localhost | |
xdebug.remote_port=9000 | |
xdebug.profiler_enable=1 | |
xdebug.profiler_output_dir="/var/www/xdebug-profiler" | |
### zsh | |
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh | |
chsh -s `which zsh` | |
sudo shutdown -r 0 | |
#enable mcrypt | |
sudo ln -s /etc/php5/conf.d/mcrypt.ini /etc/php5/mods-available | |
sudo php5enmod mcrypt | |
sudo service apache2 restart | |
sudo pear install PHP_CodeSniffer | |
sudo pear channel-discover pear.phpmd.org | |
sudo pear channel-discover pear.pdepend.org | |
sudo pear install --alldeps phpmd/PHP_PMD | |
#for ati | |
http://support.amd.com/en-us/download/desktop?os=Linux+x86 | |
https://help.ubuntu.com/community/BinaryDriverHowto/ATI | |
http://support.amd.com/us/gpudownload/Pages/index.aspx | |
apt-get install linux-headers-generic libqtgui4 dh-make dh-modaliases execstack libc6-i386 lib32gcc1 | |
#phpmyadmin | |
sudo chmod -R 777 /var/lib/phpmyadmin/tmp/ | |
#login session | |
/etc/phpmyadmin/config.inc.php | |
$cfg['LoginCookieValidity'] =90000000 | |
sudo a2enmod rewrite | |
http://www.sublimetext.com/3 | |
http://wbond.net/sublime_packages/package_control | |
git config --global user.name "Greg Szczotka" | |
git config --global user.email "[email protected]" | |
git config --global credential.helper cache | |
git config --global credential.helper 'cache --timeout=3600' | |
git config --global --add color.ui true | |
~/.gitconfig | |
[color] | |
ui = auto | |
[color "branch"] | |
current = yellow reverse | |
local = yellow | |
remote = green | |
[color "diff"] | |
meta = yellow bold | |
frag = magenta bold | |
old = red bold | |
new = green bold | |
[color "status"] | |
added = yellow | |
changed = green | |
untracked = cyan | |
curl -sS https://getcomposer.org/installer | php | |
sudo mv composer.phar /usr/local/bin/composer | |
#phpstorm | |
# /etc/sysctl.conf file: | |
fs.inotify.max_user_watches = 524288 | |
sudo sysctl -p | |
## node | |
sudo apt-get update | |
sudo apt-get install python-software-properties python g++ make | |
sudo add-apt-repository ppa:chris-lea/node.js | |
sudo apt-get update | |
sudo apt-get install nodejs | |
pear config-set auto_discover 1 | |
sudo pear upgrade | |
pear install pear.phpunit.de/PHPUnit | |
mkdir ~/.ssh | |
chmod 700 ~/.ssh | |
ssh-keygen -t rsa | |
## rvm | |
\curl -L https://get.rvm.io | bash -s stable | |
rvm requirements | |
rvm list known | |
rvm install 2.0.0 | |
rvm use 2.0.0 --default | |
gem install rails compass rspec-rails cucumber | |
sudo apt-get install libmysql-ruby libmysqlclient-dev | |
## yeomen | |
npm install -g yo | |
## | |
unassign lock shortcut for phpstorm code format | |
composer global require 'phploc/phploc=*' | |
composer global require "pdepend/pdepend" : "2.2.3" | |
composer global require "sebastian/phpcpd=*" | |
composer global require "phpmd/phpmd" | |
composer global require "squizlabs/php_codesniffer=*" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment