Installing and Configuring Stata

It has been a while since I used Stata last time, admittedly. Nonetheless, at some point I used it extensively, and I definitely satisfy the 10,000 hours criterion for mastery. In the process, I had to install Stata on a number of Linux-based systems, and a number of small issues re-emerged again and again. So I decided to write down a guide for future self, as well as for anyone else who might be interested.

In what follows, I assume that you need to install Stata 13 or newer on a Linux system to which you only have command-line access, most likely over ssh. You have a CD from which you can install Stata on Windows or OS X machine, assuming those have a CD drive, which aren't that common these days. You will need sudo priviliges on the Linux host to install Stata if you want to install it for all users, but it's not necessary if you primarily seek to install it for yourself only.

Start by copying the entire CD contents into a folder on your local machine. Then rsync this folder to the Linux host, e.g. /home/username/stataInstall. Make a folder into which you want to install Stata. The default is /usr/local/stataXX, where XX represents version number, and you almost certainly will need sudo rights to create it. Navigate to this directory using cd and start the installation via [sudo] /home/username/stataInstall/install (sudo is optional, depending on installation location).

You will have to answer a few questions, which are mostly self-explanatory. I assume that by now nobody will want to have a 32-bit installation, since a cap of 4GB for a data set can be restrictive these days. Once the installation concludes, you will need to run ./stinit to activate Stata with your key. Once that process concludes, you should be able to invoke Stata via /usr/local/stataXX/stata-mp.

Even though the installation process is finished, there are a few more steps you should take. First, you should get the updates via the update all command from within Stata. Note that if you installed Stata into /usr/local/stataXX, you will have to invoke the executable with sudo stata-mp if you want the update to succeed.

Second, you will want to add Stata folder to PATH, so that you could invoke the stata-mp command from anywhere. In bash shell this is done via export PATH=$PATH:/usr/local/stataXX: command, which you may want to add to your .bashrc file. (If you have sudo rights and want Stata to be in PATH for all users, then you need to edit the /etc/profile file instead.) If, like me, you prefer zsh to bash, the command is slightly different: PATH=$PATH:/usr/local/stataXX:; export PATH.

Third, and this is where most people trip themselves, you need to make sure that Stata has ample disk space for its temp files. Since it is limited to having a single dataset in memory at any point, many Stata commands require making temporary disk dumps to work. On many Linux hosts the default path for storing temp files is /tmp, which is almost always mounted under the root of the filesystem, i.e. on the primary physical/logical hard drive, where space is usually limited. (To see the overview of the file system, use the df -h command.) There is even a Stata FAQ on how to accomplish this, but, it a nutshell, all you need is to define another environment variable TMPDIR in your .bashrc file and make sure it is pointing to a directory on a disk with lots of space. The above link tells you how to test if the mapping was successful.

This pretty much sums up the process. As a bonus, it is possible to archive the entire contents of /usr/local/stataXX after installation was concluded and updates were deployed. This archive can then be copied to another machine to avoid interactive installation. You will still have to set up the environment variables per above, but this can be done via a shell script. And, of course, make sure that you do not violate the number of concurrent users allowed by your Stata license.

ikxxaeobvc

cheap viagra viagra on line viagra coupons [url=https://aluixnetwork.com/#]cheap viagra[/url]

jiuwdufigjacem

easy loan [url=https://ttsitworldwide.com/]online loan[/url] installment wage,instant loans deposited in minutes [url=https://phpbbcommunities.net/]quick loan[/url] personal loan lenders, personal loans bad credit [url=https://flashovky.net/]online payday loans[/url] payday loans online with instant approval

qtmbemnwbx

viagra overnight generic viagra online buy generic viagra online [url=https://movietrailershd.org/#]viagra buy[/url]

Reply to comment | Konstantin Golyaev's Page

what is the average price of sildenafil
best place to buy generic viagra online
getting pregnant while using sildenafil
[url=http://viagrabs.com/]viagra online without
script[/url]

Reply to comment | Konstantin Golyaev's Page

sildenafil covered by insurance 2011
cheap generic viagra
taking 3 sildenafil
[url=http://viagrabs.com/]generic viagra online[/url]

Stop by my site; viagra generic

Reply to comment | Konstantin Golyaev's Page

adalat and sildenafil
generic viagra online
difference of cialis and sildenafil
[url=http://viagrabs.com/]sildenafil generic[/url]

Feel free to surf to my web-site; viagra online canada pharmacy

Reply to comment | Konstantin Golyaev's Page

how long it takes sildenafil to take effect
best place to buy generic viagra online
toprol and sildenafil
[url=http://viagrabs.com]order viagra online[/url]

Reply to comment | Konstantin Golyaev's Page

sildenafil cialis overnight shipping
http://viagrabs.com/
what is maximum safe dosage of sildenafil
[url=http://viagrabs.com]http://viagrabs.com/[/url]

Also visit my weblog ... generic viagra online

Reply to comment | Konstantin Golyaev's Page

19 and need sildenafil
viagra generic name
is it dangerous to take sildenafil if you don't need it
[url=http://viagrabs.com/]viagra online canada pharmacy[/url]

Reply to comment | Konstantin Golyaev's Page

is it bad to take sildenafil at a young age
where to buy generic viagra
sildenafil and joint pain
[url=http://viagrabs.com]cheap viagra online[/url]

my site; buy generic viagra online

Reply to comment | Konstantin Golyaev's Page

medicare part d and sildenafil
generic viagra online
how old do you have to be to get sildenafil
[url=http://viagrabs.com/]cheap viagra online[/url]

my website; sildenafil generic

Reply to comment | Konstantin Golyaev's Page

sildenafil in your twenties
cheap generic viagra
hur lång tid innan ska man ta sildenafil
[url=http://www.viagrabs.com/]viagra online without script[/url]

Reply to comment | Konstantin Golyaev's Page

was heißt sildenafil wikipedia
free generic viagra samples
does sildenafil make you harder longer
[url=http://viagrabs.com/]cheap viagra online[/url]

Feel free to surf to my homepage :: buy generic viagra online

Reply to comment | Konstantin Golyaev's Page

is sildenafil easily available in india
generic viagra online
sildenafil indian brands
[url=http://www.viagrabs.com/]buy generic viagra online[/url]

Reply to comment | Konstantin Golyaev's Page

what can be used as natural sildenafil
http://viagrabs.com/
sildenafil best time to take it
[url=http://viagrabs.com/]generic sildenafil citrate[/url]

Reply to comment | Konstantin Golyaev's Page

how to store sildenafil
cheap generic viagra
sildenafil super force 100mg 100mg pills
[url=http://www.viagrabs.com/]best place to buy generic viagra online[/url]

Reply to comment | Konstantin Golyaev's Page

atrial fibrillation and use of sildenafil
generic viagra online
can you buy sildenafil in italy
[url=http://viagrabs.com/]viagra online without script[/url]

Reply to comment | Konstantin Golyaev's Page

what is the max dose of sildenafil
viagra online canada pharmacy
better than sildenafil and testosterone
[url=http://viagrabs.com/]cheap generic viagra[/url]

Reply to comment | Konstantin Golyaev's Page

should i get cialis or sildenafil
viagra online without script
price of sildenafil pill in india
[url=http://viagrabs.com/]viagra generic[/url]

Reply to comment | Konstantin Golyaev's Page

sildenafil before workout
viagra generic
sildenafil when to take for fun
[url=http://viagrabs.com/]generic viagra canada[/url]

Reply to comment | Konstantin Golyaev's Page

buying sildenafil in barcelona
viagra online canada pharmacy
do you need a prescription for sildenafil in london
[url=http://viagrabs.com/]buy generic viagra online[/url]

Reply to comment | Konstantin Golyaev's Page

tomar sildenafil todos los dias riesgos
cheap generic viagra
what happen if girl take sildenafil
[url=http://viagrabs.com/]generic viagra canada[/url]

Reply to comment | Konstantin Golyaev's Page

using sildenafil as teenager
generic viagra uk next day delivery
will medicaid pay for sildenafil
[url=http://viagrabs.com/]generic viagra canada[/url]

Reply to comment | Konstantin Golyaev's Page

too old for sildenafil
viagra online without script
staxyn and sildenafil
[url=http://viagrabs.com/]cheap viagra online[/url]

Reply to comment | Konstantin Golyaev's Page

ansambel sildenafil
generic viagra canada
cuanto tiempo antes hay tomar sildenafil
[url=http://viagrabs.com/]order viagra online[/url]

Reply to comment | Konstantin Golyaev's Page

is sildenafil harmful for health
generic viagra canada
how far in advance should you take sildenafil
[url=http://viagrabs.com/]viagra without prescription[/url]

Reply to comment | Konstantin Golyaev's Page

sildenafil safe to use
order viagra online
strong sildenafil online
[url=http://www.viagrabs.com/]cheap generic viagra[/url]

Reply to comment | Konstantin Golyaev's Page

recherche cialis sildenafil
sildenafil generic
sildenafil healthy male
[url=http://viagrabs.com/]generic for viagra[/url]

Reply to comment | Konstantin Golyaev's Page

spam email for sildenafil
order viagra online
stories of sildenafil use
[url=http://viagrabs.com/]cheap generic viagra[/url]

Reply to comment | Konstantin Golyaev's Page

is it safe to take more than 100mg of sildenafil
generic viagra canada
what herb acts like sildenafil
[url=http://viagrabs.com/]generic for viagra[/url]

Here is my page :: purchase generic viagra online

Reply to comment | Konstantin Golyaev's Page

what happens if i take a sildenafil and dont need it
buy viagra online
is it safe to take 100mg of sildenafil
[url=http://www.viagrabs.com/]sildenafil generic[/url]

Reply to comment | Konstantin Golyaev's Page

times of india sildenafil
viagra online without script
best herbal sildenafil in pakistan
[url=http://viagrabs.com]viagra online without script[/url]

Reply to comment | Konstantin Golyaev's Page

price of sildenafil at asda
order viagra online
problemas al tomar sildenafil
[url=http://viagrabs.com]best place to buy generic viagra online[/url]

Here is my homepage :: viagra online without script

Reply to comment | Konstantin Golyaev's Page

slip sildenafil into food
sildenafil generic
can you buy sildenafil over the counter in ontario
[url=http://viagrabs.com/]viagra generic name[/url]

Reply to comment | Konstantin Golyaev's Page

am i too young to take sildenafil
cheap generic viagra
sildenafil and fluconazole
[url=http://viagrabs.com/]order viagra online[/url]

Reply to comment | Konstantin Golyaev's Page

day after taking sildenafil
best place to buy generic viagra online
herbal sildenafil effectiveness
[url=http://viagrabs.com/]generic viagra canada[/url]

Reply to comment | Konstantin Golyaev's Page

sildenafil apotheek.nl
buy generic viagra online
fine brevetto sildenafil
[url=http://viagrabs.com/]best place to buy generic viagra online[/url]

Reply to comment | Konstantin Golyaev's Page

what is the average age for a man to take sildenafil
kamagra generic viagra
what herb works like sildenafil
[url=http://www.viagrabs.com/]cheap generic
viagra[/url]

Reply to comment | Konstantin Golyaev's Page

right dosage of sildenafil
order viagra online
good sildenafil in india
[url=http://viagrabs.com]viagra generic[/url]

Reply to comment | Konstantin Golyaev's Page

how to know genuine sildenafil
generic viagra online
is generic sildenafil as good as name brand
[url=http://viagrabs.com/]cheap viagra online[/url]

Reply to comment | Konstantin Golyaev's Page

nitroglycerin spray and sildenafil
generic viagra canada
sildenafil in india hindi
[url=http://viagrabs.com/]generic viagra[/url]

Look at my web page sildenafil generic

Reply to comment | Konstantin Golyaev's Page

can you take sildenafil while on lisinopril
viagra online generic
how many times can you ejaculate while on sildenafil
[url=http://viagrabs.com/]order viagra online[/url]

Reply to comment | Konstantin Golyaev's Page

what is a pill like sildenafil
buy generic viagra online
is the catholic church against sildenafil
[url=http://viagrabs.com/]cheap viagra online[/url]

Reply to comment | Konstantin Golyaev's Page

can you take sildenafil into singapore
generic viagra online
hoeveelheid sildenafil
[url=http://viagrabs.com/]best place to buy generic viagra online[/url]

Reply to comment | Konstantin Golyaev's Page

female herbal sildenafil
buy generic viagra online
what all can sildenafil be used for
[url=http://viagrabs.com/]http://viagrabs.com/[/url]

Reply to comment | Konstantin Golyaev's Page

can sildenafil stop you getting pregnant
generic viagra vs viagra
sildenafil what to say to doctor
[url=http://viagrabs.com/]viagra online without script[/url]

Review my web blog :: viagra online canada pharmacy

Reply to comment | Konstantin Golyaev's Page

sildenafil in formato chewing gum
buy viagra online
how long do you last if you take sildenafil
[url=http://viagrabs.com/]viagra generic name[/url]

Reply to comment | Konstantin Golyaev's Page

sildenafil and ivf
viagra online canada pharmacy
tác hại của thuốc sildenafil
[url=http://viagrabs.com/]viagra without prescription[/url]

Here is my homepage ... generic for viagra

Reply to comment | Konstantin Golyaev's Page

what are the chances of priapism with sildenafil
buy generic viagra online
sildenafil for race horses
[url=http://viagrabs.com/]generic viagra canada[/url]

Stop by my page: cheap generic viagra

Reply to comment | Konstantin Golyaev's Page

how to score sildenafil
buy generic viagra online
high blood pressure can i take sildenafil
[url=http://www.viagrabs.com/]buy viagra online[/url]

Feel free to surf to my web page - generic viagra