Menu
  • HOME
  • TAGS

How to change type of machine in an instance already created in google compute engine?

virtual-machine,instance,vps,google-compute-engine

You can't change VM type after the instance has been created. But you can preserve the root disk (and any other disks you have attached to the instance), create a new instance of the desired size, and use the disks from the other VM.

Running a node.js server on my VPS on port 3000 and the connection times out

node.js,vps

If you're getting a response from on the box, but not from other boxes, it's almost certainly a firewall issue. Turning off IPTables or allowing the traffic in on the port in question is one option but an easier / more appropriate option is to simply have your app use...

How to make sure that rails server is running in background on a vps

ruby-on-rails,ruby,nginx,vps,linode

Try using GOD or Monit like services, that can both help finding when servers(can be many, like caching servers, mongodb servers, database servers, http servers, app servers like passenger/unicorn/puma, full text search engines servers (elastic search/solr/thinking-sphinx) etc..) goes down and take steps as you define when exception occurs. Beside, consider...

aerospike on openvz 2core 4Gb ram doesn't start and doesn't give errors

vps,ssd,aerospike,openvz

This is your config problem Mar 03 2015 15:17:57 GMT: WARNING (cf:misc): (id.c::249) Tried eth,bond,wlan and list of all available interfaces on device.Failed to retrieve physical address with errno 19 No such device Mar 03 2015 15:17:57 GMT: CRITICAL (config): (cfg.c:3363) could not get unique id and/or ip address Basically...

NameError: uninitialized constant PG On Migrating to VPS

postgresql,ruby-on-rails-4,vps,digital-ocean,capistrano3

It seems the issue was the db user name was different from the user name that was created for the VPS to deploy.

Host your own domains dns and virtual host config

dns,virtualhost,vps

finally I found answer by searching in other sites. I thought creating a dns server and virtual host is enough to set multi domains on a vps but actually I should add zone for each individual domain. I don't use panels like cpanel, ... and didn't know all panels do...

I can't send mails from Outlook

email,dns,cpanel,vps

Please check your domain MX record and correct it. Also check your mail services status. May be it's not working correctly on your server....

Point Domain hosted elsewhere to Godaddy VPS

dns,hosting,godaddy,vps

The down vote prompted me to close the loop on this one. @cybermonkey helped me out a ton. He pointed me to cloudflare.com and from there I changed the primary and secondary nameservers on Channel Isles to match those given to me on cloudflare. After that I added those Nameservers...

Virtual Private Server Hosting Price

ffmpeg,resources,video-streaming,web-hosting,vps

Unfortunately what you ask doesn't [to my knowledge] exist [super cheap, high bandwidth, free VPS]. Unless it is "hosting it from your home internet connection" that might be unlimited, though typically doesn't have enough upload bandwidth to be great, no high availability, etc. There are VPS's that give you "quite...

Hosting webapp on an AWS EC2 server. Do I need to use the AWS “application services” for search and email?

amazon-web-services,amazon-s3,hosting,web-hosting,vps

You do not need to use these services. But there are limits on sending emails from EC2 instances. (http://aws.amazon.com/ec2/faqs/#general , search for Are there any limitations in sending email from EC2 instances?). If you intent to send huge amount of emails then you want to use SES....

Can I improve performance of my GCE small instance?

amazon-web-services,amazon-ec2,vps,google-compute-engine,google-cloud-platform

Diagnostic protocols to evaluate this scenario may be more complex than you want to deal with. My first thought is that this shared core machine type might have some limitations in consistency. Here are a couple of strategies: 1) Try backing into the smaller instance. Since you only pay for...

How can i run a socket.io server continuously?

javascript,node.js,ubuntu,putty,vps

in your server console hit this command firstly this will install forever module $ sudo npm install forever -g use sudo according to your permission in your server then hit this command in your server console $ sudo forever start server.js ...

Red5 demo how to tell if its working?

video-streaming,port,vps,red5,http-live-streaming

You might wanna check the address in address bar next to the red5 logo. Change it to "rmtp://yourservernameorip/oflaDemo" because by default, it points to localhost...

Unable to delete wordpress plugin on ubuntu 14.04 VPS

php,wordpress,ubuntu,ftp,vps

This is happen because you run your word-press in Ubuntu.this is because ubuntu is very secure.if you run your wordpress in windows you didn't find this kind of problem. i suggest you, you can directly delete your plugin from plugin folder i.e."your wordpress folder/wp-content/plugins/". or you can follow this...

Browser forces downloading the php page when I want to open the page

php,apache,laravel,vps

I noticed that the server document root is XXX and I have a virtual host named example.com with the same document root; Therefor when I enter the ip, it loaded the document root and it is fine, if I enter the domain name it tries to load the page from...

Set up git to require a ssh keyfile

git,ubuntu,ssh,vps

You should be able to run ssh [email protected] to see if there's any authentication required. If there isn't, chances are there's an SSH key which it's picking up from .ssh/config such as id_rsa or id_dsa and at some point you put the corresponding public key on the remote server in...

IP and Domain Based Virtual Hosts

apache,virtualhost,vps

Or you could map your IPV6 addresses to domain names in DNS [2001:0db8:100::1 -> Domain1 [2001:0db8:100::2 -> Domain2 And use Name Based Virtual Hosts in Apache which makes accessing the application via browsers more readable: http://httpd.apache.org/docs/2.2/vhosts/name-based.html <VirtualHost *:80> ServerName www.domain1.com DocumentRoot /www/domain1 </VirtualHost> <VirtualHost *:80> ServerName www.domain2.com DocumentRoot /www/domain2 </VirtualHost>...

erl with centos “Failed to create main carrier for ll_alloc”

linux,centos,rabbitmq,vps,erl

i figured out it was a memory issue when i shutdown tomcat to make available few more mbs of memory than the erl started.

Can i install Python-unicodecsv in Python 3.0?

python-3.x,server,ubuntu-12.04,vps,odoo-8

You can just make the download in below from the git repository https://github.com/jdunck/python-unicodecsv Installation steps: Step 1. Download and Extract the .zip file download directly as zip file and extract it from the below way Extract within the same directory : unzip python-unicodecsv-master.zip <your .zip file name> Extract within the...

Permissions in wordpress running on Cent OS VPS - unable to update theme/plugin/wordpress

wordpress,centos,vps

Having the same issue... Did you try disabling all your plugins? Also you could try to change your permission to 777

Node connecting to Mongodb in my VPS with port 27017, no if I change the port

node.js,mongodb,vps

Man, you did a bad thing. You opened MongoDB to whole world. If your node.js app is on the same server with MongoDb, then no reasons to open 27017 & 3500 for internet. Close these ports ASAP. Why do you think that you changed mongoDb port? Please show mongoDb config...

How to add text before existing text

vps

Q: Im guessing some sort of grep/awk program could do it A: Yes, indeedy. I'm guessing your VPS is probably running Linux (or a close *nix variant), and that you have a command prompt (e.g. a putty terminal). Try "sed". EXAMPLE: # Create input file vi tmp.txt abc def...

How properly set a website and domain (with subdomains) with apache on ubuntu?

apache,ubuntu,dns,vps,subdomains

Create a virtual host in Apache by creating a file at /etc/apache2/sites-available/subdomain.website.com.conf In that file, add the following <VirtualHost *:80> ServerAdmin [email protected] ServerName subdomain.website.com DocumentRoot /var/www/subdomain.website.com/public_html ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined </VirtualHost> Now place your subdomain.website.com files at /var/www/subdomain.website.com/public_html Then enable the new virtual host by sudo a2ensite...

Setup VPS with a Symfony2 project from git repository

symfony2,vps

Here are my deployment steps: git clone project go to project directory php composer.phar install (and if composer is not in the project directory curl -sS https://getcomposer.org/installer | php) app/console doctrine:database:create app/console schema:update --force app/console assets:install web --symlink chmod 777 -R app/cache app/logs web/media/cache (I often use liip imagine, it...

Can't install joomla 3.4 (blank page) [closed]

php,joomla,server,joomla3.0,vps

Faced same problem yesterday and solved once enabled PDO module via Easyapache update.

Cannot install SQL Server 2012 on Windows Server 2012

sql-server-2012,vps,windows-server-2012

I found the problem I do not know how and why but sqlserver setup files are corrupted.I downloaded another sqlserver setup and worked.

VPC with Public and Private Subnets, s3 endpoints

web-services,amazon-web-services,amazon-s3,hosting,vps

S3 endpoints in VPC serve only one purpose: they manipulate your VPC route tables and modify the way your EC2 instances' internal traffic is routed to S3. They have no direct impact on Internet access to S3, nor to the public/private classification of data, and are not needed in order...

Apache serve file from RAM

php,apache,vps,ram,ssd

I'm no expert on this topic, but here's what I would try as a basic approach: I'd keep my application code (including resources like CSS, JS, etc. - to keep it simple) in a location on the HDD. I'd have a RAM mount like: vi /etc/fstab tmpfs /mnt/ramdisk tmpfs nodev,nosuid,noexec,nodiratime,size=1024M...

Payment Gateway Response Page Displays empty values in VPS Hosting

php,windows,payment-gateway,vps,plesk

I Found The Solution I Was Using The Response Domain URL has www.abc.com/response.php Where in the original URL was abc.com/response.php when i removed www. i am getting the response. ...

plesk when upgrading php, will this break everything?

php,centos,server,vps,plesk

Make sure that you have CentOS6 or 7 and latest Plesk microupdates installed. After that you will be able to safely use Multiple PHP feature in Plesk - http://kb.odin.com/125146

Subdomain pointed to VPS, where do I put files? [closed]

apache,dns,subdomain,godaddy,vps

You need to configure an apache virtual hosts for each domain and/or subdomain you want apache to serve. It is the virtual host that tells apache how to map URL's to the OS's filesystem so you would have something like this DNS config domain.com----------| /-domain.com ==> /var/www | / sub1.domain.com-----|---ServerIP---apache...

Postfix cannot send email to own domain name from VPS

ubuntu-14.04,vps,postfix-mta

My Bad. I found a way using transport. I had to add the following line into /etc/postfix/transport: myndd.com smtp:mail01.myndd.com Tehn I launched => postmap /etc/postfix/transport. Then I added the line transport_maps = hash:/etc/postfix/transport into /etc/postfix/main.cf then => run postfix reload So I can send emails in @myndd.com...

Moving from Shared to VPS

email,configuration,vps

you absolutely need to modify your MX records, to point to your new server.... this you can accomplish 2 ways> if you have a local zone in your server, edit your MX records there. or you can edit it on you domain provider, this case, netsol. in my experience, plesk...

Accessing VPS linux hosting like RDP in Windows

linux,vps,remote-desktop,centos6

With a hosted Linux machine chances are that id doesn't even have "the GUI" (an X11 server and some GUI environment like KDE or Gnome) installed at all but only supports command line access via ssh. If you really need GUI instead of command line access then the "classic" option...

Is it possible to use node.js server without having the Port number appear in the URL.

node.js,apache,vps

Yes it is possible In your apache virtual host file configure with the following: <VirtualHost *:80> ServerName subdomain.myapp.com ProxyRequests off <Proxy *> Order allow,deny Allow from all </Proxy> ProxyPass / http://localhost:3000/ ProxyPassReverse / http://localhost:3000/ ProxyPreserveHost on </VirtualHost> You should have NameVirtualHost *:80...

One domain working on different servers

php,wordpress,dns,vps,nameservers

This is possible when you create different subdomains. If you set up a subdomain in your DNS-settings like 'server2.address.lol', you can redirect everything for that subdomain to another IP-address and so to another server. you just have to create an A-record. After you set this up, you can redirect to...

Rails 4.2 capistrano 3 deployment

ruby-on-rails,git,deployment,capistrano,vps

You can set up your own private git server, then in deploy.rb you can put something like set :repo_url, 'ssh://[email protected]_ip/path/to/your_git_repo.git' When you commit your changes to the git repo, you do not have to upload the app to the server. Capistrano will upload the app for you when you deploy....

Node host configuration

node.js,ip,sails.js,vps,host

Looks like you can pass it the configuration variable host and port. Just make that the IP address and port you want to bind to. { host: '127.0.0.1', port: 8080 } ...

Can I migrate a Mercurial repo from Bitbucket to a VPS?

mercurial,repository,bitbucket,vps

The thing is that you always have the whole history of changes (not entirely true, but in most cases). It means that you can push the whole repository (which includes all the history) to any other repository. That's it: you just create an empty repository anywhere you like and push...

How to deploy Laravel 5 on a subdomain

php,laravel,subdomain,laravel-5,vps

I had dismissed the possibility of it being a db issue previously because I knew the credentials were correct and I had deployed in on the top-level for testing and it worked. I just checked my .env file again and everything is correct, but I added port :3306 to localhost...

Which Web Hosting is perfect for Developers? [closed]

web-hosting,vps

I suggest you to use http://aws.amazon.com/pt/ bcz: Price - have free plans that help you in development process and paid plans are not expensive Structure - You can configure everything, machine, server configuration, OS, DNS and more. Technologies - Most Hosts have limitations and you cant configure permissions in server....

jetty 9 shutdown without exceptions at random time

java,jetty,vps,digital-ocean,jetty-9

Jetty didn't fail, the Java VM did. With an OutOfMemory error. You have a pretty small machine/os/vm there. Only 500MB of total system memory, and no swap. Setting the JVM to 1GB isn't going to work, as that exceeds your total system memory. Setting the JVM to 500MB isn't going...

LXC Container as VPS

linux,containers,vps,lxc

lxc-create -t download -n cn_name lxc-start -n cn_name -d lxc-attach -n cn_name then in container cn_name install openssh server so you can use ssh then reboot it or restart ssh service. To make any container "services" available to the world configure port forwarding from the host to the container. For...

post-receive only works with the user ROOT

php,linux,git,permissions,vps

it was a permissions problem ... sorry Sorry boys! The problem is that they change the permissions when I add a user to git.. first apply the permissions, and then create users. then turned to apply permissions chmod -R 777 / var / www and chmod -R 777 / opt...

Multi-domains I/O n CPU restrictions via nginx vps

nginx,vps

As far as i know CloudLinux can do that. I think its not so easy possible, maybe if you make an own VPS and limit the resources but thats not easy and can be expensive.

Git Push failed when trying to deploy branch

git,ubuntu,vps,digital-ocean

Found the solution, needed to add the port to my git ssh git remote add live ssh://[email protected]:PORT/var/repo/site.git...

SPF and DKIM records for Mandrill on DigitalOcean

email,dns,vps,spf,dkim

This article solved my issue. Tl;dr: add the SPF record without the domain name at the end....

GtkWarning: could not open display

python,ubuntu,gtk,scrapy,vps

First of all, you didn't specify if you have a desktop environment (or X) installed on your server? Regardless of that, you can achieve headless setup for your spider by using xvfb: Xvfb or X virtual framebuffer is a display server implementing the X11 display server protocol. In contrast to...

PHP Post Method Not Working

php,html,forms,post,vps

Try to create a file with name submitted-emails.txt at the same directory with save-email.php and change the permissions of file to +w for all users.

Posfix settings without a domain/host name

centos,vps,postfix-mta,dovecot

myhostname - The internet hostname of this mail system. Here use mail.my-domain.tld mydomain - The internet domain name of this mail system. The default is to use $myhostname minus the first component.$mydomain is used as a default value for many other configuration parameters. So here use my-domain.tld This VPS...