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
################################################# | |
# Sample OpenVPN 2.0 config file for # | |
# multi-client server. # | |
# # | |
# This file is for the server side # | |
# of a many-clients one-server # | |
# OpenVPN configuration. # | |
# # |
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
Installing Nginx With PHP5 (And PHP-FPM) And MySQL Support (LEMP) On Ubuntu 14.04 LTS | |
Nginx (pronounced "engine x") is a free, open-source, high-performance HTTP server. Nginx is known for its stability, rich feature set, simple configuration, and low resource consumption. | |
I do not issue any guarantee that this will work for you as it depend on system enviornment | |
1 Preliminary Note | |
I'm running all the steps in this tutorial with root privileges, so make sure you're logged in as root: |
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
mkdir /usr/share/composer | |
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/share/composer | |
php /usr/share/composer/composer.phar |
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
JAVA-JDK ( software development kit) | |
apt-get install openjdk-7-jdk | |
--------------------------------------------------------------------------------------------------------------- | |
INSTALL SELENIUM | |
mkdir /home/ubuntu/selenium | |
cd /home/ubuntu/selenium | |
http://selenium-release.storage.googleapis.com/2.41/selenium-server-standalone-2.41.0.jar |
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
apt-get install libcurl4-gnutls-dev libexpat1-dev gettext \ libz-dev libssl-dev | |
apt-get install git-core | |
cd ~/.ssh | |
ls -al | |
# Lists the files in your .ssh directory | |
ssh-keygen -t rsa -C "[email protected]" | |
# Creates a new ssh key, using the provided email as a label | |
# Generating public/private rsa key pair. |
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
MozRank represents a link popularity score. It reflects the importance of any given web page on the Internet. Pages earn MozRank by the number and quality of other pages that link to them. The higher the quality of the incoming links, the higher the MozRank. | |
How is MozRank scored? | |
We calculate this score on a logarithmic scale between 0 and 10. Thus, it's much easier to improve from a MozRank of 3 to 4 than it is to improve from 8 to 9. An "average" MozRank of what most people think of as a normal page on the Internet is around 3. | |
How can MozRank be improved? | |
A web page's MozRank can be improved by getting lots of links from semi-popular pages or a few links from very popular pages. |
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
touch README.md | |
git init | |
git add README.md | |
git commit -m "first commit" | |
git remote add origin https://github.com/abc/myproject.git | |
git push -u origin master |
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
ps -ylC apache2 | awk '{x += $8;y += 1} END {print "Apache Memory Usage (MB): "x/1024; print "Average Proccess Size (MB): "x/((y-1)*1024)}' |