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
var interceptor = angular.module('Interceptor',[]); | |
interceptor.factory('HttpInterceptor', function ($q, $rootScope, $log) { | |
var numLoadings = 0; | |
return { | |
request: function (config) { | |
numLoadings++; |
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
ORACLE_BASE=/usr/lib/oracle/11.2 | |
ORACLE_HOME=$ORACLE_BASE/client | |
ORACLE_OWNER=oracle | |
ORACLE_USER=$ORACLE_OWNER | |
ORACLE_SID=orcl | |
ORACLE_TERM=vt100 | |
ORACLE_HOST=spangle | |
ORACLE_DB=orcl | |
ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data | |
TNS_ADMIN=$ORACLE_HOME/network/admin |
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
1 - Download Instant Client | |
http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html?ssSourceSiteId=ocomen | |
2 -Alienize! | |
3 - Create tnsnames.ora in /usr/lib/oracle/11.2/client64/network/admin/ | |
4 - Create oracle.sh in /etc/profile.d with the envars | |
5 - Add . /etc/profile.d/oracle.sh in apache envvars |
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
http://phpconfigure.com/ | |
See before: | |
compile.mysql5.6.12.txt & compile.apache2.4.4.txt | |
Compile php 5.3.25 | |
sudo mkdir /usr/local/php | |
sudo mkdir /usr/local/php/php_5.3.25 |
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
#Compile mysql-5.6.12 | |
groupadd mysql | |
useradd -g mysql mysql | |
./configure --prefix=/usr/local/mysql | |
#error ./configure: command not found | |
sudo apt-get install cmake | |
cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/mysql -DMYSQL_TCP_PORT=3306 -DMYSQL_UNIX_ADDR=/tmp/mysql.sock |
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
#Compile Apache 2.4.4 | |
Dependences: APR, APR-Util, PCR | |
# Build and install apr | |
./configure --prefix=/usr/local/apr-httpd/ | |
make | |
make install | |
# Build and install apr-util |
NewerOlder