BIDS-collaborative / brainspell

brainspell is a web platform to facilitate the creation of an open, human-curated, classification of the neuroimaging literature
https://gitter.im/BIDS-collaborative/brainspell
2 stars 6 forks source link

Configuring apache #9

Closed anokhikastia closed 8 years ago

anokhikastia commented 8 years ago

While configuring apache, when we type in the 1st command, we get: ln: failed to create symbol link ' ./headers.load' : Read only file system

How do we fix this?

EmilyVam commented 8 years ago

Hey @anokhikastia , I figured this out! First you have to modify the /etc/hosts file by adding "127.0.0.1 brainspell.dev" line. Then, before you typ "sudo ln ....", make sure you are in the /etc/apache2/mods-enabled directory.

P.S. I also figured out how to paste the command line you copied from your laptop, try shift + control + v!

davclark commented 8 years ago

If you forget the key-chord to do copy-cut-paste in the BCE / Ubuntu terminal, you can always look under the edit menu. Because the control key is often used by unix command-line apps, they added this extra "shift" to the key command.

anokhikastia commented 8 years ago

I was able to configure apache and I also changed the variables in the php file to 64M but I am still unable to upload the brainspell_sanitized.sql file to the database. It is still giving me the same error saying that it cannot upload such a big file.

jbpoline commented 8 years ago

Hi Anokhi

Here's my php.ini file (in the /etc/php5/apache2 on my system - not sure where it is on your VM) just to check that you have the same settings for the 64M (2 variables)

cheers JB

On Tue, Oct 20, 2015 at 2:14 AM, Anokhi Kastia notifications@github.com wrote:

I was able to configure apache and I also changed the variables in the php file to 64M but I am still unable to upload the brainspell_sanitized.sql file to the database. It is still giving me the same error saying that it cannot upload such a big file.

— Reply to this email directly or view it on GitHub https://github.com/BIDS-collaborative/brainspell/issues/9#issuecomment-149458512 .

anokhikastia commented 8 years ago

Could it be that the ini file and the .sql file are in some way not connected to each other? My php.ini file is located in the /etc/php5/apache2.

davclark commented 8 years ago

When you edit files, the program needs to re-read them. The easiest thing is to do a reboot - in which case all config files are re-loaded.

anokhikastia commented 8 years ago

I rebooted and things got worse. I can't even open the the phpmyadmin now.

davclark commented 8 years ago

Hmm... it may be easier to sit down with me or one of your team-mates. Let's shoot for that as soon as we can?