WAMP - localhost error [closed] - wamp

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I recently reinstalled WAMP. I keep getting this error:
404 Not Found Not Found
The requested URL / was not found on this server.

Hit start, type services.msc, scroll down and look for wampmysqld and wampapache. Make sure both are listed and started. If not, do the following:
If they are not present, click the Wampserver icon, select the service (Apache for wampapache and MySQL for wampmysqld), then Service, then Install Service
If there are present but not started, try starting them. You can right click them, properties and click Start (and if you like set them to automatically start too to start when Windows does) or you can do the same as the previous step from the WampServer icon.
Check if apache is running on port 80 or 8080. Try this, to see the apache config and find the port:
httpd -t(you run this from a command prompt - start -> run -> cmd).
Note that if the wamp/apache/Apachex.x.xx/bin folder isn't in your PATH variable you will need to navigate to that folder in the command prompt or shift+right click inside the folder and select Open Command Window Here.

Related

Web Page cannot be loaded on git-pages [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
My web page using framework 7 can be loaded on my local desktop, but is not working on gh-pages
I think, Index.html is loaded correctly but there is some error on there.
I will attach related links about my web page to let you understand easily.
https://hahmmj.github.io/IPP20201_HALFSTACK/
https://github.com/hahmmj/IPP20201_HALFSTACK/tree/gh-pages
Before running it on the local drive, I inserted the following statement, which is recommended on forum web site, due to some errors:
npm uninstall copy-webpack-plugin
npm install copy-webpack-plugin#6.2.1
Should I add this sentences also in package.json file to publish my web site using github pages?
First, see my comment on fixing your directory structure. You can fix that as simply as:
mv docs src
Then run the following commands:
npm install
npm run build-prod
Your page in now ready inside folder www.
Now you have to overwrite the contents of your gh-pages branch with the files generated inside www.
you have messed up with the directory structure of your website . In a ideal case you should be able to see your hosted page on GitHub by entering the URL like this
https://hahmmj.github.io/IPP20201_HALFSTACK/docs/index.html

Ubuntu 20.04 LTS host "VBoxClient: The virtualbox kernel service is not running" after logging into Ubuntu [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I'm running Oracle VirtualBox VM 6.1 on an Ubuntu 20.04 LTS host.
The guest OS is Windows 10.
After booting up the computer and logging into my user account, I get a grey window that pops up at the top of the desktop that says: VBoxClient: The virtualbox kernel service is not running...
Mind you, this is without starting VirtualBox; this message just pops up almost immediately after logging into my desktop.
I can, however, start VirtualBox and run my guest OS without problems.
I have updated the Ubuntu OS several times since installing it, and I've reinstalled VB to keep it up to date.
What is causing this message to appear?
I ran sudo grep -i virtualbox /var/log/boot.log in the terminal and got
Starting VirtualBox Web Service...
[FAILED] Failed to start VirtualBox Web Service.
Starting VirtualBox Web Service...
[FAILED] Failed to start VirtualBox Web Service.
Starting VirtualBox Web Service...
[FAILED] Failed to start VirtualBox Web Service.
Starting VirtualBox Linux kernel module...
[ OK ] Started VirtualBox Linux kernel module.
as the output.
So, it appears that the kernel module is staring properly but not the kernel service.
When I run ls /etc/modules-load.d
I get cups-filters.conf modules.conf as the output.
If I open modules.conf, I get
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
So, it appears that no kernel modules are being loaded at boot time.
I really don't know what to make of all this.
I get an error message that doesn't seem to really affect the function of VirtualBox.
But, it doesn't seem that the error message should exist because the kernel module is starting.
Though, it seems that that should not be possible as no modules are being loaded at boot time at all.
What's causing this problem, and how do I remedy it?
I don't want that message to pop up anymore.
Thanks....
Solved it.
Did some research online.
I went to my /opt folder and found a folder within for VBoxGuestAdditions.
In that folder I found an uninstall script.
I ran that script.
After rebooting, no more error message.
Done!

How do I run systemctl restart apache2 in AWS Ubuntu when it requires a password [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I am trying to restart Apache and I get...
ubuntu#ip-172-xx-xx-xx:~$ systemctl restart apache2
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to restart 'apache2.service'.
Authenticating as: Ubuntu (ubuntu)
This is a brand new instance and I never set the ubuntu user password. Is there a default password set on instance creation?
How do I restart apache in AWS Ubuntu?
If you setup a key pair for your instance on creation, then there is no password for the user ubuntu nor is password based login enabled. You must login using your key pair.
To execute commands that require elevated permissions, use sudo in front of your command. The actual command to restart apache2 depends on which Linux distribution and version you are using.
sudo systemctl restart apache2
or
sudo service apache2 restart

How to install or configure Angular 2 app on AWS EC2? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I have installed angular-cli and node in AWS EC2 server. After that i cloned my angular 2 app from Git repository i.e BitBucket to server. The problem is when i enter the ip address of my server in browser the app is not running. As angular 2 uses localhost:4200 if you are running locally but how to tell to server that which url need to use.
Wow, there are literally n number of ways to do this. You have to do exactly what you would do on your Mac's terminal. You just have an additional step of SSHing to your EC2 instance.
Open Mac Terminal.
SSH to your EC2 terminal.
Install node, npm there.
Clone angular 2's seed repository.
run npm install to install dependencies
run npm start to fire up dev server

Django + Apache: make project accessible from WWW [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
I've developed a Django project running on dev server. Now I am struggling in using Apache as the web server to run this project.
I've changed the port (say, 8088) at Router, and also edited http.conf in Apache dir to listen this port 8088.
Now I can view apache page at http://XX.XX.XX.XX:8088 (using ip) which shows 'It works'..
however, when I tried to run Django project using 'python manage.py runserver 0.0.0.0:8088', it says 'ERROR 10013: An attempt was made to access a socket in a way forbidden by its access permissons'.
It seems that the connection between Django and Apache doesn't work out, since I can view Apache working page but I can't get the project page...
I did configurate mod_wsgi.
maybe there are other silly stuff I've mistakenly done.
if anybody has some advice, that would be much appreciated!
If you've configured mod_wsgi properly, you don't need to run python manage.py runserver. Simply running the Apache daemon will make it listen on the port configured and will make it use the mod_wsgi file you've defined in the site-available.
Re-read this Django - how to use Django with Apache and mod_wsgi to verify you have it set up appropriately. You cannot run python manage.py runserver on a port that is already being listened to by Apache. Hence, the error attempting to access a socket (on port 8088) in a forbidden way.