When I run that command and try to install the certificates, I always get
Enter Password or Pin for "NSS Certificate DB":
But I haven't setup a password. How can this be fixed?
This command creates and install certificates in user home directory (~) under .symfony5/certs folder. Sample of path in Windows : C:\Users\John Doe\.symfony5\certs.
You can delete the contents of the certs directory and reload symfony server:ca:install to reinstall the certificate from scratch.
Related
I want to install SSL on AWS EC2 WordPress Site,
I have tried this:
bitnami#ip-172-24-0-191:/opt/bitnami/apache2/htdocs$ sudo /opt/bitnami/bncert-tool
An updated version is available. Would you like to download it? You would need to run it manually later. [Y/n]: Y
The tool will exit now. To run the updated version run the following command:
/opt/bitnami/bncert-tool
bitnami#ip-172-24-0-191:/opt/bitnami/apache2/htdocs$ /opt/bitnami/bncert-tool
but I have this error:
Error: There has been an error.
This installer requires root privileges. Please become superuser before
executing the installer
Press [Enter] to continue:
All you have to log in with AWS root user first.
Installing SSL depends on your web panel like cpanel, cyberpanel, directadmin etc.
If you have bought a SSL then install it via panel first.
If you want to install SSL via SSH access, Be sure your SSH port is open and the credentials are correct.
Your error is showing because of not root user access.
Thanks.
I'm trying to use Django CMS for a website project. I've installed it from my virtual environment by entering the following command: pip install djangocms-installer
Things seemingly went well.
After that I created a new project on my desktop by typing: djangocms -p communimmo communimmo
It was created successfully.
The last lines in my command prompt showed:
Creating admin user
All done!
Get into "MyProjectPath" directory and type "python manage.py runserver" to start your project
But after running python manage.py runserver, the webpage on my local server asks me for Django Administration credentials. At no point during the installation I was asked to set up an admin user, so basically I'm stuck.
Did I miss a step somewhere?
Thanks!
Found it.
https://docs.django-cms.org/en/latest/introduction/01-install.html#use-the-django-cms-installer.
The installer creates an admin user for you, with username/password admin/admin.
Got Wordpress installed via Click-to-deploy using the marketplace from Google Cloud Platform.
The thing is: I would like to install it in the /blog folder, not in the root directory.
When trying to create a new folder using ssh connection it is returning an:
Access denied.
Error code: 3
Server error message: Permission denied
Can someone help me?
I need to install it in the blog folder so it can be accessed via example.com/blog, not in the root directory itself, which I will use to host another template.
Thanks!
To create directories or files in the / directory you need root privileges.
Add sudo in front of your commands. Example: sudo mkdir /blog
You can also switch to a shell with privilege: sudo -s. Then you do not need to use sudo in front of each command.
I installed heroku cli on windows 10 via exe installer.
When i try to run heroku --version command or heroku login
command, the command window does not respond. It does not give any error.
Then i uninstalled it and installed it using npm install -g heroku-cli
but getting same result.
Node version - 8.7.0
In Windows cmd prompt, do:
echo %USERPROFILE%
Go to your C:\Users\YOURNAME
Look for a file named:
_netrc
This file stores login credentials. Delete it.
Then check for an update:
heroku update
Then try to log in:
heroku login
I saw some people create an environment variable called HOME and add the path to YOURNAME so the environment knows to look for the _netrc file there.
Other trouble-shooting ideas if the above doesn't work for you can be found at Heroku CLI troubleshooting
In windows , run %LOCALAPPDATA%\heroku, completely delete this folder. and check again on cmd by typing heroku --version. Hope this helps.
I ended up uninstalling heroku from the Windows Installer and instead used the standalone tarball.
You can get the tarballs from here.
After you downloaded and extracted it, you can go to your terminal and cd into the directory where you extracted the file and do the following command:
./bin/heroku --version
Whenever you need the heroku CLI, you can cd into the directory where heroku is, then ./bin/heroku is the executable for heroku.
I am trying to install openstack using devstack on ubuntu 16.04.
I followed the following link.
https://docs.openstack.org/developer/devstack/guides/single-machine.html
When I run
sudo openstack service list
, it prompt the following error.
Missing value auth-url required for auth plugin password
Make sure you are logged into horizon and download the rc file (right corner). After that do source admin-openrc.sh
Note that you have to download the rc file of the project you are working on
This should do. keystonerc_admin file is generated at the end of openstack packstack installation
source keystonerc_admin
always run admin-openrc file before running any openstack command
eg.
$source admin-openrc
then run whatever openstack command you want to run
eg.
$openstack --debug server list
Take rocky version of OpenStack Keystone as an example. https://docs.openstack.org/keystone/rocky/install/keystone-openrc-rdo.html#using-the-scripts
You can create an admin-openrc.sh (If you are installing OpenStack Keystone for the first time.) and put environment params. And source this file before you run any "openstack" command. This resolves the issue.
I put the admin-openrc.sh in directory /usr/share/keystone/admin-openrc.sh for a recommend.