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 want some more insights into my wordpress site so I signed up for a New Relic account. But they're asking me to install some agent by typing in commands and I have no idea where to do that or how to access a command line.
I use shared hosting with Bluehost so I have access to cPanel. I've never typed anything into a console to manage the server - the icons have covered everything I need. So far.
Is it even possible to install this on my shared hosting plan? If so, where do I get the command prompt, do I need FTP? I've tried to follow the instructions, but there're some strange words like "yum", "rpm" and what not. What are these, and how do I run them?
Is there a wordpress plugin that I can just install and have everything done automatically for me?
If anyone could point me to some clear step by step instructions as to how to go about this, I'd be very grateful...
Thanks!
What you need is shell access. According to their features page at http://www.bluehost.com/cgi/info/hosting_features, they support shell access via SecureShell (SSH). This is fairly common.
Download an SSH client like PutTTY and connect to yourdomain.com, or if you are on a Mac, open the Terminal app and type "ssh yourdomain.com" (with your web site's domain name). You can then run commands.
However, this probably will not get you what you need. You mentioned yum and rpm commands, which are system-level software installation tools. You'll need root access to do that, which you certainly cannot do on a shared hosting account.
These types of tools are really intended for application service providers. I'm fairly familiar with New Relic's products. I'm guessing you are trying to install the server monitor tool. You probably don't need to worry about that one since Bluehost should be monitoring their servers for you.
Related
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 1 year ago.
Improve this question
I understand that several users can use an rstudio server. usually when we work locally we are already connected the to our databases (sql server) via active directory. How would this work in the server scenario. Would users have to enter credentials? I think one can also deploy plumber apis. How can they issue credentials to the remote database please? Thanks.
It probably depends if your solution is a free or a pro server. If pro, then better ask RStudio for sure.
For free server, some hints to answer something in case it helps you.
Docs are available here about that:
ODBC pro drivers: https://docs.rstudio.com/pro-drivers/installation/ there is a point for MS server
You can specify databases in odbc config file or just use odbc::odbc function inside R
Then credentials can be passed in odbc package. You can prompt for pwd interactively, see here for instance (in this case on an oracle db).
For credentials related to AD auto connect, I don't know, for me, users needs to identify to the database individually. It depends, first question is maybe: is your server configured to use the AD?
For plumber apis, unsecure ones are easily done but securing it yourself (jwt token or other IDs) without Rstudio pro seems not so easy.
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 2 years ago.
Improve this question
I am trying to build a Rstudio/Shiny App and post it in our intranet so that everyone else in our office could see it. I am a windows person, and the instructions online about how to setup a shiny server within Linux environment is a bit difficult for me. Is there an easy way that I can could accomplish this goal without messing up with Linux. Even if I have to do so, is there an easy way to just have my webpage available to people within our company, not everyone on the internet. Thanks!
You can use shinyapps.io and add a password authentication by using, for example, shinymanager Link here.
If you have a computer that's always on, you can run R on it and run the command shiny::runApp(host="0.0.0.0", port="xxxx")". You can experiment a bit with the port in xxxx.
You will have to know the computer's ip-address. You can then direct your colleagues to http://<ip-address>:<xxxx>, where you replace <ip-address> and <xxxx> with the respective ip-address and port. You might have to unblock the port in Windows Firewall.
If you do not have a computer available that is always turned on, you can actually install R onto a network drive, install required packages on the network drive, and then have users run R from the network drive and run the app themeselves.
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 3 years ago.
Improve this question
I've got a newly deployed Google Cloud f1-micro VM Instance using the Google Click to Deploy Wordpress solution. I've done some basic configurations such as a static IP, DNS config, persistent disk, etc. I also imported data from a previous Wordpress install.
The issue is that about every 10-15 minutes the server crashes and becomes unresponsive. Error 500 when trying to view any page, and SSH becomes unreachable. The console shows the VM Instance is still running though. I have to Reset the VM Instance, and then everything is restored within a few seconds. CPU usage is almost always below 50%. The site currently has almost zero traffic, just me testing it.
Any idea what may be causing it to freeze/crash so often? I know the f1-micro is not a powerful server, but I've read a lot about running Wordpress on it and it seems like it should be able to handle a low traffic website.
You can see system log from console in Web UI
Or you can use CLI
gcloud compute --project={your project id} instances get-serial-port-output {vm name}
f1-micro only have 0.2core and 0.60 memory. it can not support both wordpress and mysql. I think it out of memory, and system keep kill your process (mysql or wordpress). I suggestion you upgrade to bigger vm.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 7 years ago.
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.
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.
Improve this question
After over a month, I have managed to piece together how to setup an AWS EC2 server. It has been very hard to upload files as there are very conservative (size) limits when done via the upload button in Rstudio Server. The error message when this is attempted is "Unexpected empty response from server".
I am not unique in this respect e.g. Trouble Uploading Large Files to RStudio using Louis Aslett's AMI on EC2
I have managed to use the following commands through putty and this has allowed me to upload files via either filezilla or winscp.
sudo chown -R ubuntu /home/rstudio
sudo chmod -R 755 /home/rstudio
Once I use these commands and log out, I can no longer access rstudio on the instances in future logins. I can relogin to my instances via my browser, but I get the error message:
Error Occurred During Transmission
Everything is fine other than once I use Putty I lose browser access to my instances.
I think this is because the command is change of ownership or similar. Should I be using a different command?
If I don't use a command I cannot connect between filezilla/winscp and the instance.
If anyone is thinking of posting a comment that this should be closed as it is a hardware issue, I don't have a problem with hardware. I am interested in the correct coded commands.
Thank you :)
Ok so eventually I realised what was going on here. The default home directory size for AWS is less than 8-10GB regardless of the size of your instance. As this as trying to upload to home then there was not enough room. An experienced linux user would not have fallen into this trap, but hopefully any other windows users new to this who come across this problem will see this. If you upload into a different drive on the instance then this can be solved. As the Louis Aslett Rstudio AMI is based in this 8-10GB space then you will have to set your working directory outside this, the home directory. Not intuitively apparent from Rstudio server interface. Whilst this is an advanced forum and this is a rookie error I am hoping no one deletes this question as I spent months on this and I think someone else will too.
Don't change the rights of /home/rstudio unless you know what you are doing, this may cause unexpected issues (and it actually does cause issues in your case). Instead, copy the files with filezilla or winscp to a temporary file (let say /tmp), then ssh to your instance with putty and move the file to the rstudio directory with sudo (e.g sudo mv /tmp/myfile /home/rstudio).
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 11 years ago.
Improve this question
I have two Ubuntu servers. One is my development box, the other is a production system. They are not identical, though. Most notably, the MySQL server is on a remote server from the production one whereas on the dev system it's on localhost. Basically this means that I can mostly use a clone of the dev system, but if I just sync the filesystem the production system breaks.
Also, I am using Aptana (highly recommended, BTW). Up until recently, I had a local copy of my development system as a project, but I just had to reformat. I am not using a local project anymore, but instead I am using SFTP to connect with my Dev system and I am just editing files on there. Up until now, I have just been SCPing only files that need updating to the production server from my local project, but I kind of like not having one. I can restore it if necessary, though.
My question (short form): Is there an easy way using Aptana to copy files from one remote system to another?
Tim,
Currently you have to use local project (could be reconstructed from one remote) to synchronize two remote servers.
To enable auto-upload on local changes, in Project Explorer or App Explorer in context menu select Deploy/Deployment Settings, then check "Automatically sync my changes with the remote site".
This is all for Aptana Studio 3.
Cheers,
Max