How do I install phpmyadmin in Aegir? - database

In which folder should I put phpmyadmin folder in aegir system?
In a old project I remember an expert developer used to put the phpmyadmin folder under the folder /var/aegir/hostmaster and it worked (through the url panel.example.com/phpmyadmin).
I am now trying same thing but it doesn’t work. Should I modify some file or some setting to “read” the folder hostmaster? (I have tried to change permission but it didn’t help).
In this new server I am using Nginx.
In the old one (when everything was working) there was Apache.
It can be a problem of configuration of Nginx?
Thank you

Related

How can I setup a react project in local with files I downloaded from server?

I want to setup already created react app in my local for further updation. I only have files uploaded to the server public_html.
Directory view
You can view the files in my root folder here.
Is it possible to setup react project like that. If so someone please help.
This command should work if everything is set up correctly and you have all the requirements installed locally. npm start

How do I run the laravel project with postgresql? (how to run localhost/projectname on web browser?)

In Xampp, mysql is already have. The project folders have to move under 'htdocs' folder. And then, localhost/projectfolder can be run on browser.
With postgresql, I have no idea how to run on browser. (I have connected pgsql and project)
Is there any idea to run on browser after connecting with project and pgsql?
Check the .env file in your laravel project. You will see things like the following
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret
You should change it accordingly. Then you can run it with XAMPP(apache server) without any trouble.

ERR_TOO_MANY_REDIRECTS after moving CakePHP project from a dedicated server to another dedicated server

I'm new to CakePHP and my employer asked me to move our CakePHP app from a dedicated server to another server (for testing purposes). I've copied all the files, changed app's database.php config but I'm getting a ERR_TOO_MANY_REDIRECTS when accessing the app on the new server.
I did not work on the app so I don't know much about it, but I have all the files.
LE: So, I've uploaded the app on a fresh install of CakePHP. I now have 3 .htaccess files, CakePHP says it's working, but when I try to upload DebugKit (following the install notes & having the proper version for CakePHP 2.4.3.) I get the ERR_TOO_MANY_REDIRECTS.
A look in Chrome's console shows me this. If I delete the DebugKit altogether, the page looks like this & it also has the footer from the app.
The new structure of the app is the standard one.
Please advise!
Best guess is the (apache?) DocumentRoot setting may be clashing with your APP config on the new server and/or the PHP settings. Have you checked your php.ini on the new server? What's the output of phpinfo() ? Once fixed HIGHLY RECOMMEND check other environment variables by turning on the DEBUG flag in config/app.php For your version try pr(Debugger::trace()); or even better for dev. install the Debug kit. Anyway, DocumentRoot should be set to webroot (assuming default install and directory structure).

uploading files to local server into a "safe folder" with meteor

I've managed to make a file uploader to the local server, with Meteor.
-.meteor
-local
-build
-db
-static
Ive write the files to the static folder, and everything goes fine, but whenever I restart the server, end build a new app, the local folder gets deleted along with my static folder.
Is there a safe place for files, which does not bundle with the app?
I've tried to write outside the local folder, just next to it, but when I deploy that version, the app wont start at all on the meteor server.
So where am I suppose to create a "safe folder" neither being bundled on deploy, nor deleted on restart, and still accessible apps deployed to the meteor server?
thanks in advance!
That depends on where and how you deploy the application. If you're using a vps or similar solution that gives you access to the file system, you can:
Write outside of the project directory, in a completely unrelated place.
Write in a hidden directory inside the project dir. So, next to .meteor, but only inside another folder that begins with a . (like .uploads).
Whether or not this will work may depend on your platform.

Getting old geoserver data to new freshly installed geoserver

I had a working copy of geoserver 2.3 with my working files but decided to install a bran new geoserver 2.4 with apache tomcat so I am using geoserver.war file. I also had made a copy of my data_dir folder cause I had seen that it seemed to have geoserver project I was working on in it.
Now for some reason it does not want to work. I have copied the files into the data directory and it didn't work and I had changed the name of the directory in the web.xml file and that did not work.
I'm am not sure what I am missing or if i'm doing something wrong can someone please help.

Resources