How To Install PHP5, Apache2, MySQL for UBUNTU

How To Install PHP5, Apache2, MySQL for UBUNTU


Install Apache2, PHP, MySQL
@ANHVNSE02067 - www.nhatanh.net - anhvnse@gmail.com
----------------------------
# Add repository
$ sudo apt-get install python-software-properties
$ sudo add-apt-repository ppa:ondrej/php5-oldstable
$ apt-get update

# Install Apache2
$ sudo apt-get install apache2 

#Install Lastest stable PHP
$ sudo apt-get install php5 libapache2-mod-php5

# Install PHP modules
$ sudo apt-get install php5-mysql php5-curl php5-gd php5-intl php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl

# Install MySQL
$ sudo apt-get install mysql-server mysql-client

# Install PHPMyAdmin
$ sudo apt-get install phpmyadmin

#FIX Cannot adopt OID in UCD-SNMP-MIB:
sudo apt-get install snmp-mibs-downloader

#FIX phpmyadmin not found
    Add the following line to the end of /etc/apache2/apache2.conf:
    Include /etc/phpmyadmin/apache.conf
    Restart Apache by running:

#FIX mcrypt is missing
    cd /etc/php5/apache2/conf.d
    sudo ln -s ../../conf.d/mcrypt.ini 30-mcrypt.ini
    sudo service apache2 restart

#INstall Mcrypt
cd /etc/php5/mods-available
ln -sf ../conf.d/mcrypt.ini .
php5enmod mcrypt

# Install php code sniffer
$ sudo pear install PHP_CodeSniffer
# -- follow this: https://github.com/klaussilveira/phpcs-psr
# -- ALT: https://github.com/ANHVNSE02067/phpcs-psr

# Install php mess detector
# Install PHP Depend http://pear.pdepend.org/
# Instal PHP_PMD http://pear.phpmd.org/
# Config PHP_PMD: /usr/share/php/data/PHP_PMD/resources/rulesets/
# Common commands

How To Fix autoload, could not be loaded - PHP

How To Fix autoload, could not be loaded


<?php
spl_autoload_register(
  function ($pClassName) {
    spl_autoload(strtolower(str_replace("\\", "/", $pClassName)));
  }
);

How To Fix connection reset by peer

How To Fix connection reset by peer



I disabled the ipv6 thats it.

Connected and now running as smooth as ever without any ttouble.

modified /etc/default/grub

added 

GRUB_CMDLINE_LINUX="ipv6.disable=1"

How To Fix maxlength chrome & firefox HTML

Fix maxlength chrome & firefox HTML


# Download at: http://keith-wood.name/maxlength.html
# Fix problems when chrome and firefox cheat newline character not the same. (Chrome: 2char while firefox is 1)

How to Enable copy paste copy protection - Javascript

How to Enable copy paste copy protection


javascript:var f=function(){return true;};jQuery('body').unbind('contextmenu').unbind('selectstart').unbind('dragstart').unbind('mousedown').unbind('mouseup').unbind('click').attr('onselectstart',f).attr('oncontextmenu',f).attr('ondragstart',f);

Ubuntu 16.04.1 Parallels Tools Install Log

2016-09-10T12:09:57-0500:

Parallels Tools 9.0.24251.1052177 Installer started.
2016-09-10T12:09:59-0500: execCmd: ./installer/pm.sh check_guest_tools 2>&1 [0]

Sat Sep 10 12:09:59 CDT 2016
Start installation or upgrade of Guest Tools
new version of parallels tools
Installed Guest Tools were not found
Perform installation into the /usr/lib/parallels-tools directory
cat: /usr/lib/parallels-tools/kmods/../version: No such file or directory
Start installation of prl_eth kernel module
make: Entering directory '/usr/lib/parallels-tools/kmods'
cd prl_eth/pvmnet && make
make[1]: Entering directory '/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
make -C /lib/modules/4.4.0-36-generic/build M=/usr/lib/parallels-tools/kmods/prl_eth/pvmnet
make[2]: Entering directory '/usr/src/linux-headers-4.4.0-36-generic'
  LD      /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/built-in.o
  CC [M]  /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/pvmnet.o
/usr/lib/parallels-tools/kmods/prl_eth/pvmnet/pvmnet.c: In function ‘pvmnet_pci_init’:
/usr/lib/parallels-tools/kmods/prl_eth/pvmnet/pvmnet.c:97:19: error: macro "alloc_netdev" requires 4 arguments, but only 3 given
       pvmnet_setup);
                   ^
/usr/lib/parallels-tools/kmods/prl_eth/pvmnet/pvmnet.c:96:8: error: ‘alloc_netdev’ undeclared (first use in this function)
  dev = alloc_netdev(sizeof(struct pvmnet_priv), "eth%d",
        ^
/usr/lib/parallels-tools/kmods/prl_eth/pvmnet/pvmnet.c:96:8: note: each undeclared identifier is reported only once for each function it appears in
/usr/lib/parallels-tools/kmods/prl_eth/pvmnet/pvmnet.c: At top level:
/usr/lib/parallels-tools/kmods/prl_eth/pvmnet/pvmnet.c:400:13: warning: ‘pvmnet_setup’ defined but not used [-Wunused-function]
 static void pvmnet_setup(struct net_device *dev)
             ^
scripts/Makefile.build:258: recipe for target '/usr/lib/parallels-tools/kmods/prl_eth/pvmnet/pvmnet.o' failed
make[3]: *** [/usr/lib/parallels-tools/kmods/prl_eth/pvmnet/pvmnet.o] Error 1
Makefile:1403: recipe for target '_module_/usr/lib/parallels-tools/kmods/prl_eth/pvmnet' failed
make[2]: *** [_module_/usr/lib/parallels-tools/kmods/prl_eth/pvmnet] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.4.0-36-generic'
/usr/lib/parallels-tools/kmods/prl_eth/pvmnet/Makefile.v26:11: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
Makefile.kmods:23: recipe for target 'installme' failed
make: *** [installme] Error 2
make: Leaving directory '/usr/lib/parallels-tools/kmods'
Error: could not build kernel modules
Error: failed to install kernel modules
2016-09-10T12:10:00-0500: execCmd: ./install --install [143]
2016-09-10T12:10:00-0500: Error: An error occurred when installing Parallels Tools. Please go to /var/log/parallels-tools-install.log for more information.
2016-09-10T12:10:01-0500: Exiting with code 1

How to install VulnReport on Ubuntu

On Fresh install of Ubuntu

1. Install required packages
$ sudo apt-get upgrade
$ sudo apt-get install git ruby postgresql postgresql-server-dev-all build-essential tcl postgresql-contrib authbind

2. Clone the repo
$ git clone https://github.com/salesforce/vulnreport.git

3. Install rvm
$ \curl -sSL https://get.rvm.io | bash

$ source /home/[follow instructions from RVM]/.rvm/scripts/rvm

4. Install ruby 2.1.2
rvm install ruby-2.1.2

5.Reboot
shutdown -r now

6. Log into server and go to the report dir(expected this is done in the home directory of the user)
cd vulnreport/

7.Install required gems
gem install bundle
gem install rollbar

8. Install redis required
curl -O http://download.redis.io/redis-stable.tar.gz
tar xzvf redis-stable.tar.gz
cd redis-stable
make
make test
sudo make install
cd utils
sudo ./install_server.sh
service redis_[PORT] restart

9. Go back to the repo folder and install required gems via bundle
cd ~/vulnreport/
bundle

10. Configured Postgres - settings below use default postgres DB please use something else
sudo -u postgres psql template1
ALTER USER postgres with password 'PASSWORD';
ctrl+d

11. Edit the .env file
cp .env.example .env
vi .env

11.a. Set the following making changes as required
export RACK_ENV=production
export VR_SESSION_SECRET= 123abc
export DATABASE_URL= postgres://postgres:PASSWORD@localhost:5432/template1
export REDIS_URL= redis://locathost:[PORT]
export ROLLBAR_ACCESS_TOKEN= [GET TOKEN FROM ROLLBAR SITE https://rollbar.com NEED TO CONNECT TO GITHUB ACCOUNT]

12. Run the seed file - once successful(output says ALL DONE! :) ) delete it
./SEED.rb
rm -f SEED.rb

13. Generate required SSL cert
openssl genrsa -rand /boot/pxeboot -out server.key 2048
openssl req -new -sha256 -key self.key -out server.csr
openssl x509 -req -days 999 -in self.csr -signkey self.key -out self.crt

14. Edit port binding for the reporting server - Any port you want
vim start.sh
authbind thin start -p [PORT] --threaded --ssl --ssl-cert-file self.crt --ssl-key-file self.key

15. Start the service then browse to https://serverip(localhost):port
nohup ./start.sh &

How To Install Docker Ubuntu 14.04

Steps to Install docker ubuntu 14.04 ;

#!/bin/sh

#install docker ubuntu 14.04 LTS
#run as root fagget
apt-get update
apt-get install apt-transport-https ca-certificates
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
echo "deb https://apt.dockerproject.org/repo ubuntu-trusty main" > /etc/apt/sources.list.d/docker.list
apt-get update
apt-get purge lxc-docker
apt-get install docker-engine

How to install PhantomJS on Ubuntu

How to install PhantomJS on Ubuntu

Version: 1.9.8

Platform: x86_64

First, install or update to the latest system software.

sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
Install these packages needed by PhantomJS to work correctly.

sudo apt-get install libfreetype6 libfreetype6-dev
sudo apt-get install libfontconfig1 libfontconfig1-dev
Get it from the PhantomJS website.

cd ~
export PHANTOM_JS="phantomjs-1.9.8-linux-x86_64"
wget https://bitbucket.org/ariya/phantomjs/downloads/$PHANTOM_JS.tar.bz2
sudo tar xvjf $PHANTOM_JS.tar.bz2
Once downloaded, move Phantomjs folder to /usr/local/share/ and create a symlink:

sudo mv $PHANTOM_JS /usr/local/share
sudo ln -sf /usr/local/share/$PHANTOM_JS/bin/phantomjs /usr/local/bin
Now, It should have PhantomJS properly on your system.

phantomjs --version

How to install VulnReport on Ubuntu

On Fresh install of Ubuntu

1. Install required packages
$ sudo apt-get upgrade
$ sudo apt-get install git ruby postgresql postgresql-server-dev-all build-essential tcl postgresql-contrib authbind

2. Clone the repo
$ git clone https://github.com/salesforce/vulnreport.git

3. Install rvm
$ \curl -sSL https://get.rvm.io | bash

$ source /home/[follow instructions from RVM]/.rvm/scripts/rvm

4. Install ruby 2.1.2
rvm install ruby-2.1.2

5.Reboot
shutdown -r now

6. Log into server and go to the report dir(expected this is done in the home directory of the user)
cd vulnreport/

7.Install required gems
gem install bundle
gem install rollbar

8. Install redis required
curl -O http://download.redis.io/redis-stable.tar.gz
tar xzvf redis-stable.tar.gz
cd redis-stable
make
make test
sudo make install
cd utils
sudo ./install_server.sh
service redis_[PORT] restart

9. Go back to the repo folder and install required gems via bundle
cd ~/vulnreport/
bundle

10. Configured Postgres - settings below use default postgres DB please use something else
sudo -u postgres psql template1
ALTER USER postgres with password 'PASSWORD';
ctrl+d

11. Edit the .env file
cp .env.example .env
vi .env

11.a. Set the following making changes as required
export RACK_ENV=production
export VR_SESSION_SECRET= 123abc
export DATABASE_URL= postgres://postgres:PASSWORD@localhost:5432/template1
export REDIS_URL= redis://locathost:[PORT]
export ROLLBAR_ACCESS_TOKEN= [GET TOKEN FROM ROLLBAR SITE https://rollbar.com NEED TO CONNECT TO GITHUB ACCOUNT]

12. Run the seed file - once successful(output says ALL DONE! :) ) delete it
./SEED.rb
rm -f SEED.rb

13. Generate required SSL cert
openssl genrsa -rand /boot/pxeboot -out server.key 2048
openssl req -new -sha256 -key self.key -out server.csr
openssl x509 -req -days 999 -in self.csr -signkey self.key -out self.crt

14. Edit port binding for the reporting server - Any port you want
vim start.sh
authbind thin start -p [PORT] --threaded --ssl --ssl-cert-file self.crt --ssl-key-file self.key

15. Start the service then browse to https://serverip(localhost):port
nohup ./start.sh &

How to run on ubuntu VM

How to run on ubuntu VM


#Install RVM
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
\curl -sSL https://get.rvm.io | bash
rvm install 2.0.0-p456

#Install deps
gem install bundle
sudo apt-get install curl vim libcurl3 npm libcurl3-gnutls libcurl4-openssl-dev
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
sudo apt-get install -y nodejs
bundle install
npm install
sudo npm install -g grunt

#Font end assets stuff
grunt

#Start
rackup config.ru -p4567

How to install PhantomJS on Ubuntu

How to install PhantomJS on Ubuntu

Version: 1.9.8

Platform: x86_64

First, install or update to the latest system software.

sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
Install these packages needed by PhantomJS to work correctly.

sudo apt-get install libfreetype6 libfreetype6-dev
sudo apt-get install libfontconfig1 libfontconfig1-dev
Get it from the PhantomJS website.

cd ~
export PHANTOM_JS="phantomjs-1.9.8-linux-x86_64"
wget https://bitbucket.org/ariya/phantomjs/downloads/$PHANTOM_JS.tar.bz2
sudo tar xvjf $PHANTOM_JS.tar.bz2
Once downloaded, move Phantomjs folder to /usr/local/share/ and create a symlink:

sudo mv $PHANTOM_JS /usr/local/share
sudo ln -sf /usr/local/share/$PHANTOM_JS/bin/phantomjs /usr/local/bin
Now, It should have PhantomJS properly on your system.

phantomjs --version

HOW TO INSTALL LIBPD ON RASPBIAN

Recipe for installing and building Libpd on Raspbian. Serves one.

[code]
git clone https://github.com/libpd/libpd.git
cd libpd
git submodule init
git submodule update

sudo apt-get update
sudo apt-get install python-dev
sudo apt-get install swig
sudo apt-get install libasound-dev
sudo apt-get install libportaudio-dev
sudo apt-get install portaudio19-dev
sudo apt-get install python-pyaudio

make
cd python
make
sudo make install[/code]

Notes: updating package list (first line in block 2) is probably unnecessary if this is, like, your computer. But if it's, say, a Raspberry Pi your boss bought that another team member set up, you'll have to update or else python-dev won't install. libasound-dev and libportaudio-dev might not be necessary; I'm not sure and I've never had time to test. Block 3 needs to be run from /libpd, which you should still be in after the block 1, but if you aren't, add "cd libpd" to the beginning of block 3. Bring something to distract you while the two makes and the make install run. Add pepper to taste.

How to install VulnReport on Ubuntu

On Fresh install of Ubuntu

1. Install required packages
$ sudo apt-get upgrade
$ sudo apt-get install git ruby postgresql postgresql-server-dev-all build-essential tcl postgresql-contrib authbind

2. Clone the repo
$ git clone https://github.com/salesforce/vulnreport.git

3. Install rvm
$ \curl -sSL https://get.rvm.io | bash

$ source /home/[follow instructions from RVM]/.rvm/scripts/rvm

4. Install ruby 2.1.2
rvm install ruby-2.1.2

5.Reboot
shutdown -r now

6. Log into server and go to the report dir(expected this is done in the home directory of the user)
cd vulnreport/

7.Install required gems
gem install bundle
gem install rollbar

8. Install redis required
curl -O http://download.redis.io/redis-stable.tar.gz
tar xzvf redis-stable.tar.gz
cd redis-stable
make
make test
sudo make install
cd utils
sudo ./install_server.sh
service redis_[PORT] restart

9. Go back to the repo folder and install required gems via bundle
cd ~/vulnreport/
bundle

10. Configured Postgres - settings below use default postgres DB please use something else
sudo -u postgres psql template1
ALTER USER postgres with password 'PASSWORD';
ctrl+d

11. Edit the .env file
cp .env.example .env
vi .env

11.a. Set the following making changes as required
export RACK_ENV=production
export VR_SESSION_SECRET= 123abc
export DATABASE_URL= postgres://postgres:PASSWORD@localhost:5432/template1
export REDIS_URL= redis://locathost:[PORT]
export ROLLBAR_ACCESS_TOKEN= [GET TOKEN FROM ROLLBAR SITE https://rollbar.com NEED TO CONNECT TO GITHUB ACCOUNT]

12. Run the seed file - once successful(output says ALL DONE! :) ) delete it
./SEED.rb
rm -f SEED.rb

13. Generate required SSL cert
openssl genrsa -rand /boot/pxeboot -out server.key 2048
openssl req -new -sha256 -key self.key -out server.csr
openssl x509 -req -days 999 -in self.csr -signkey self.key -out self.crt

14. Edit port binding for the reporting server - Any port you want
vim start.sh
authbind thin start -p [PORT] --threaded --ssl --ssl-cert-file self.crt --ssl-key-file self.key

15. Start the service then browse to https://serverip(localhost):port
nohup ./start.sh &

How to install Audio Recorder in Ubuntu 16.04, 15.10

How to install Audio Recorder in Ubuntu 16.04, 15.10

-----------------------------------------------------------

So go ahead and start your terminal and add this ppa ppa:audio-recorder/ppa

sudo add-apt-repository ppa:audio-recorder/ppa

After typing your sudo password type ENTER when asked and then update with

sudo apt-get update

Next you can install the audio recorder using

sudo apt-get install audio-recorder

In case you want to remove audio recorder after installing it you can use

sudo apt-get remove audio-recorder

HOW TO INSTALL GAMES ON THE VITA

HOW TO PROPERLY INSTALL GAMES ON THE VITA



1- GENERAL INFORMATION:
2- TRANSFERRING THE FILES:
   2.1 - FTP METHOD (SLOWER):
   2.2 - QCMA PSP SAVE METHOD (FASTER):
3- INSTALLING WITH MAIDUMPTOOL:
   3.1- Installing Mai dumps:
   3.2- Installing Vitamin dumps:

Outdated:
4- DETAILED .VPK TRANSFER AND INSTALLATION GUIDE:
   4.1- INSTALLING FULL .VPK GAME VIA FTP
   4.2- INSTALLING SKELETON .VPK GAME VIA FTP
   4.3- INSTALLING FULL .VPK VIA QCMA
   4.4- INSTALLING SKELETON .VPK VIA QCMA


==================== READ THIS SECTION FIRST ====================

1- GENERAL INFORMATION:

- You DON’T NEED TWICE THE SIZE OF THE GAME to install
- You can backup pirated games from your Vita to your PC using QCMA
- You can OPEN .VPK FILES with WINRAR or similar
- Skeleton .VPK are made by zipping both eboot.bin and sce_sys folder and renaming to .VPK (maidump install preferred)
- You can transfer the rest of the game's content to it's folder on the vita after installing a skeleton .VPK
- You can zip all of the game's content and rename it to .VPK to make a full .VPK installer
- You can transfer your files via QCMA which is FASTER than FTP
- You can transfer anything to your vita via USB using QCMA and a PSP SAVEDATA as long as you put everything inside a folder inside the PSP save folder
- You can locate your PSP SAVEDATA directory by right clicking on QCMA in your taksbar and clicking on settings; it's located under Applications / Backups
- Your PSP save folders are located inside /PSAVEDATA/ and inside a folder with random letters and numbers
- You don't need a PSP game or to download a PSP savedata; Simply creating a new folder will work as a PSP savedata folder for transferring with QCMA
- You can install vitamin games with MaiDumpTool by extracting the game's content inside the .VPK file and putting it inside the game's titleID folder(make sure you search online for the right title ID)


2-
==================== TRANSFERRING THE FILES: ====================

2.1 - FTP METHOD (SLOWER):

- Open Molecular Shell on your vita and press select
- Copy the IP address shown in your vita and paste it into your FTP client (filezilla) on your PC
- Drag and drop files from your PC to the ux0: folder on your vita inside filezilla

Note: This method is simple but transfer speeds are slow. This is only recommended for small files such as emulators, roms and other smaller homebrews.


2.2 - QCMA PSP SAVE METHOD (FASTER):

- Open QCMA on your PC
- Right click on QCMA on your taskbar and click on Settings
- Check under "Applications / Backups" to locate your PSP save directory
- You can find your PSP save folders under PSAVEDATA and inside a folder with "Random Numbers and Letters"
- If you have no PSP save folder you can just create a new folder inside the "Random Numbers and Letters" folder located inside PSAVEDATA
- Inside your PSP save folder you should create a new folder and all files should go inside this folder
- After putting all the files you want to transfer inside a folder in your PSP save folder right click on QCMA under your task bar and click on Refresh Database(always refresh your database before transferring anything to your vita)
- Now plug your vita to your PC via USB and go into Content Manager
- Go to PC -> PS Vita System and Applications and into Saved Data: PSP/Other and select the PSP save folder you want to transfer
- After transferring close Content Manager in your Vita and go into Molecular Shell
- Go into ux0:pspemu/PSP/SAVEDATA/ and you should find your PSP save folder inside
- Go inside your PSP save folder and press square to select which files you want to move and then press triangle and move to move the files to any folder inside ux0: and out of SAVEDATA/
- After moving your files out of your SAVEDATA/ directory go back to your PSP save folder you just transferred from your PC and delete it

Note: This method seems more complicated than it actually is so don't be fooled by the guide. Transferring your files via PSP save is MUCH faster than FTP, however if you're transferring several thousands of files FTP might be actually slightly faster but in either case it'll take a lot of time. The remaining time displayed when transferring via QCMA is not 100% accurate so don't be afraid if it tells you that it'll take 1253 minutes to complete the transfer, it may take 20 minutes. This is the preferred method for larger files.


3-
==================== INSTALLING WITH MAIDUMPTOOL: ====================


3.1- Installing Mai dumps:

- Download and install the latest MaiDumpTool (english translated version preferred)
- Extract your Mai dump game if necessary and make sure you have the game's content inside a "TITLEID" folder. Example: PCSB00000
- Transfer your TITLEID folder via either FTP or PSP save method (check the guide above)
- Open Molecular Shell and create a new folder under ux0: and rename it to mai
- Move your TITLEID folder into your mai folder in ux0:
- Close Molecular Shell and open MaiDumpTool on your vita
- Select the second option "Install game from folder" and press Circle to install the TITLEID folder
- After installation is complete close MaiDumpTool and the game should be working now


3.2- Installing Vitamin dumps:

- Download and install the latest MaiDumpTool (english translated version preferred)
- Extract your Vitamin game's .VPK file using Winrar or similar
- Create a new folder with the right "TITLEID" for that game and region. Check online for the Vita game's ID database in case you don't have the right ID for the game. Example: PCSB00000
- Move all of the game's content inside the "TITLEID" folder
- Transfer your TITLEID folder via either FTP or PSP save method (check the guide above)
- Open Molecular Shell and create a new folder under ux0: and rename it to mai
- Move your TITLEID folder into your mai folder in ux0:
- Close Molecular Shell and open MaiDumpTool on your vita
- Select the second option "Install game from folder" and press Circle to install the TITLEID folder
- After installation is complete close MaiDumpTool and the game should be working now


Note: It's preferred to install your games using MaiDumpTool as it doesn't require DOUBLE THE SPACE to install, it's rather fast and has much higher compatibility for DLC, Updates and Plugins.



-------------------------------------------------------------------------------------


Here's the old .VPK guide just for reference. Games installed via MaiDumpTool have better compatibility and should be the preferred installation method even for old dumps:


** WARNING: DO NOT USE THIS unless you know what you're doing as it may cause incompatibility with DLC, Update and Plugins support for your games! **


************************************* OUTDATED *************************************

4- DETAILED .VPK TRANSFER AND INSTALLATION GUIDE:

==================== 4.1- INSTALLING FULL .VPK GAME VIA FTP ====================

1- Open Molecule Shell and press select
2- Copy the ip address shown in your vita and paste it into your FTP client (filezilla)
3- Transfer your game’s .vpk file to your vita via FTP to ux0: folder
4- Browser your ux0: folder and press x to install your .vpk game file. You may delete the .vpk file after installation.

NOTE: This is the simplest method possible. This method requires double the space to install. That means if you want to install a 2gb game you will need 4gb free space on your vita. This can be circumvented see below.


==================== 4.2- INSTALLING SKELETON .VPK GAME VIA FTP ====================

1- Take your game’s .vpk file and extract all files inside using winrar or similar
2- Take eboot.bin and sce_sys folder and zip them in a .zip file(make sure it’s a .zip file and not .rar or anything else)
3- Rename your newly created .zip file to GAME.VPK and FTP it to your vita’s ux0: folder
4- Inside Molecule Shell browse ux0: and install your GAME.VPK then delete the file after installation
5- Now browse your app/ folder under ux0: and find the newly created game folder, it should have only eboot.bin and sce_sys folder inside so it’s easier for you to find. Example: PCSA00000
6- Now go back to your FTP and transfer the rest of the files you extracter earlier to the game folder you just created

NOTE: This method DOESN’T REQUIRE TWICE THE SIZE OF THE GAME to install because you’re transferring the extracted game’s files directly to your vita. Also, because of that you won’t have to sit through a lenghty installation inside Molecule Shell as in the first method so this method is FASTER.


==================== 4.3- INSTALLING FULL .VPK VIA QCMA ====================

1- Take your game’s .vpk file and rename it EXACTLY to GAME.VPK make sure it’s in ALL CAPS
2- Open QCMA in your computer and click on settings to find your PSP savedata directory under Applications/Backups
3- PSP SAVEDATA should be located at /PSAVEDATA/ and inside a folder with Random Numbers and Letters(different for each person)
4- Open the Random Numbers and Letters inside /PSAVEDATA/ and make a new folder then put GAME.VPK inside of it
5- Go to QCMA in your taskbar and click on REFRESH DATABASE never miss this step
6- Now connect your Vita to your PC via USB, open Content Manager on your vita and go to Applications and select PSP savedata and transfer the new folder containing your GAME.VPK inside
7- After transferring go into Molecule Shell and under ux0: pspemu/PSP/SAVEDATA/new folder/ you should find your GAME.VPK press x to install and delete the file and the new folder after installing.

NOTE: This method still takes twice the size of the game to install. While it’s faster than the other two previous methods you should only install small games because you’ll lose time installing the game inside Molecule Shell. THE BEST AND FASTEST METHOD IS THE ONE BELOW.


==================== 4.4- INSTALLING SKELETON .VPK VIA QCMA ====================

1- Take your game’s .vpk file and extract all the files using winrar or similar
2- Take eboot.bin and the sce_sys folder and put them inside a .zip file, make sure it’s a .zip file and not .rar or anything else
3- Rename your .zip file exactly to GAME.VPK make sure it’s in ALL CAPS
4- Take the rest of the game’s .vpk content and put them inside a new folder, let’s call it the Content Folder
5- Open QCMA on your taskbar and click on Settings and check your PSP Savedata directory under Applications/Backups so you can locate them on your PC
6- Your PSP SAVEDATA folder should be located at /PSAVEDATA/ and inside a folder with Random Numbers and Letters (different for each person)
7- If there are multiple folders with Random Numbers and Letters you can detect the correct one by creating a new folder with a different name(example: a, b, c, d) inside each of these folders and then openning your Content Manager on your vita and going into  PC - Vita -Applications - Savedata PSP/Other and checking which name shows up so you know which folder is your Savedata folder.
8- If there is no Random Numbers and Letters folder inside /PSAVEDATA/ you can create it simply by transferring Molecule Shell or any other Vita app via Content Manager from your Vita to your PC. This will create the random number folder inside /PSAVEDATA/, if this somehow creates more than one folder with random numbers go back to step 7.
9- Make a new folder inside the folder with Random Numbers and Letters which is located inside your /PSAVEDATA/ folder on PC and transfer both your GAME.VPK and the Content Folder inside this new folder. Make sure that inside the new folder there's only GAME.VPK and the Content Folder.
10- Go to QCMA under your taskbar and click on Refresh Database
11- Now connect your Vita to your PC via USB, open Content Manager on your vita and go into Applications PSP savedata and transfer the new folder
12- After transferring the new folder go into Molecule Shell and under ux0: pspemu/PSP/SAVEDATA/new folder/ you should find your GAME.VPK press x to install and delete the file after installing
13- Now open the content folder and press square and select all files then press triangle and choose the MOVE option
14- Now go to ux0: app/ and you should find your newly created game’s folder inside, it should contain only eboot.bin and the sce_sys folder so you know which one you’re looking for
15- Press triangle and choose PASTE to move all of the game’s content to that folder. Make sure to delete the empty folder you transferred via QCMA after moving the files because even after deleting the game the vita will still count the size of the game on the empty folder.

The game should be working now.

NOTE: This is by far the fastest method because you’re taking advantage of the better transfer speed of QCMA and the fact that you’re transferring the game’s content directly into the folder so you don’t need to sit through a lengthy installation inside Molecule Shell. This may sound too complicated but after doing it once or twice it becomes really easy and fast to do.

How to: install LibArtifactData-1.0

1) Go to https://github.com/Rainrider/LibArtifactData-1.0
2) On the right side, click "Clone or download" > "Download ZIP".
3) Go to your download folder and extract the folder.
4) Rename it and remove the branch-tag, it should just be "LibArtifactData-1.0" afterwards.
5) Copy that folder into your WoW\Interface\AddOns folder.

HOW TO PLAY POKEMON GO ON PC WITHOUT GETTING BANNED v1.1

HOW TO PLAY POKEMON GO ON PC/LOCATION SPOOF WITHOUT GETTING BANNED v1.1


(1). Download & Install "Nox App Player" - http://en.bignox.com/

(2). Start up Nox. It should load into an Android home screen with a couple of pre-installed apps (Ignore the one in the bottom center. It's pretty much an ad.) Then on your PC, download the Pokemon Go .APK (https://apkpure.com/pok%C3%A9mon-go/com.nianticlabs.pokemongo) and drag it into Nox in order to install it.

(3). Once Pokemon Go is installed, look the top window bar (where the close/minimize/maximize buttons are), and click on the settings button. A window called "System Settings" will open up. In the "General" tab, set "Root" to "On". Save changes and restart Nox.

(4). Once Nox restarts and brings you back to the home screen, open the Browser Search for "Xposed Installer" and click the first result (Or go to http://repo.xposed.info/module/de.robv.android.xposed.installer)

(5). Scroll down and click the link next to "Download" (Below Release Type and above Number of Downloads). Once downloaded launch the APK and install it. It'll make you restart the Android OS. This startup will take slightly longer than usual, but just let it run.

(6). When it's done you'll be at the home screen again but it'll have a new app installed called "Xposed Installer". Open it and you should be greeted a welcome message and a list of sections. Click on the "Download" section. Using the search icon on the top, search for "Mock Mock Locations" (This app prevents Pokemon Go from checking if you are using a fake location) and click it. Scroll to the "Versions" tab and click install on the latest version (1.4 at the time of writing this). Click "Download" and once that's done click "Install".

(7). Once the installation is finished click the back arrow on the top left to go back to the main menu of Xposed and this time click on the "Modules" sections. You should only have one module called "Mock Mock Locations". Check the box on the right and it should make you restart Android again.

(8). Once Android reboots you will have "Mock Mock Locations" installed and working. Go back to the module section in Xposed and click on "Mock Mock Locations" to bring up its settings. There should be a checked box next to "All Apps". Uncheck it and click on "Add App". Scroll through the app menu until you find "Pokemon Go" or "com.nianticlabs.pokemongo". After adding it, restart Android/Nox. Now Pokemon Go will be prevented from checking if we have Mock Locations on, which we will now enable.

(9). Click on the Settings icon in the home screen and scroll down to "About tablet". In the "About tablet" section scroll down until you see "Build number". Keep clicking on the "Build number" section until you get developer access (You will get messages as you get closer). Once you become a developer, go back to the previous page in the settings. You will now have "Developer options" above the "About tablet" button. Click on it and check the box next to "Allow mock locations". Then go back to the previous settings page and click on "Location" to bring up the GPS settings. Click on "Mode" and set it to "Device Only". You can now exit out of the settings menu.

(10). The hard part is now over. Now you will need to get an app called Lockito. It allows to to set waypoints on Google maps and the speed at it will emulate you walking along said path (I found 8.8 km/h to be a good speed). I will not go over how to use Lockito as it is pretty straight forward to use and has documentation of its own. Once you have a path set, click on the play button on the top right and it'll begin to emulate you walking. Open Pokemon Go, login to/create an account and begin playing from home :)

NOTE: You will not be banned for this because of the simulated walking. Other apps simply teleport you from location to location and are really easy to detect. Just don't set the speed to anything above 25 km/h and you should be good.