Digital Ocean has some great guides to set it up for Ubuntu
We moved to DigitalOcean + Dokku
Our main reason was bad performance, high cost, lack of control and little or no support for new machine learning libraries.
We had several pro paid dynos on heroku, and were also using rabbitmq and postgresql addons. And now we are covering all that with dokku (Thanks to the plugins support) . It took me about 2 days to learn, search and configure but never been any happier. And it's all in docker containers, which are nice and controlable
Be aware that the article shows how to set up OpenVPN Access Server, which is NOT free. It has 2 client licenses for "testing" only (source).
OpenVPN Community Edition is the free version, but it does not have the web GUI seen in the article. You can find a guide for CentOS 7 here, and how to get it working with firewalld here.
[Edit] It mentions in the article, but since so many people have upvoted this, I feel I should mention, it is EXTREMELY important that you make sure you take note of those emergency codes that are generated and keep them somewhere safe. If, for example, your phone is stolen, those emergency tokens are the only thing that will let you back into your system. Please take care to store those somewhere safe.
Never use GoDaddy. For anything. Ever.
Use Digital Ocean. Far cheaper than anything GoDaddy offers, FAR FAR better for any real RoR app or any real web app at all.
GoDaddy has AWFUL ethics, AWFUL security and AWFUL...well everything.
There was the time GoDaddy supported SOPA.
Digital Ocean is $5 a month for a VPS, way better.
If you're feeling generous, here is a referral link.
If you're not feeling generous here is a regular link.
I currently work in NYC in the tech sector and work about 40-45 hours a week and it's been that way for the 2 1/2 years I've been here. A good work/home life balance is important not only for your mental health but also your productivity.
Anyone else putting in massive hours in tech in NYC (or anywhere else, we're 40% remote) should check us out: DigitalOcean Careers
Given how cucked reddit is I wouldn't be surprised if that wasn't a front for various spy organisations.
e.g. 'Hey guys, try out XYZ VPN, they take no logs and are totally free speech man!'- then full pipe your data straight to the NSA.
Learn how to set up your own VPN's and proxies. It's easy. Example. Chain a few together and you should be able to dodge casual snooping.
If things get properlly bad, you're going to need that kinda info and more.
That said, I hope it's not required.
Here's a good overview. Ignoring Nosql and sqllite, you should be looking at mysql and postgres. The gist of that article is that postgres is better in almost every single way except speed.
Digitalocean had a pretty good article about the history of Apache and Nginx, as well as some considerations to take that helped me when I was starting out. Link
It's a lot easier and enjoyable than you'd imagine. If you're completely new to it, I'd recommend DigitalOcean. They have full tutorials on setting up various stacks and environments.
e.g. LAMP or MEAN
Most hosting sites don't let you execute processes but instead give you access to a folder where you can create files that get parsed and served by an Apache type server. This allows you to easily make a website out of html files which just get served to the browser or php files which get parsed and run generating a static file which gets served to the browser. NodeJS apps run as their own process and need to be executed differently resulting in the need for other hosting sites like nodejitsu.
I highly recommend using Digital Ocean as it not only lets you run nodejs apps but it gives you access to your own virtual private server which is a machine that you can install whatever os you want on. You can then ssh into in and run nodeJS apps as if you were on your own computer. It's also cheaper than most of the other hosting companies I have seen since the starting price is only $5/month. Virtual private servers also teach you more because you learn how to setup your app yourself.
I'm an owner of multiple websites, including one that hosts a 45GB torrent (with a web seed, the files are hosted and downloaded off of our servers). All I can say is that to host a VPK website, it might take a lot of work, but it will take neither web space nor bandwidth, considering you guys all use mega.nz and google drive. This means you can easily use Vultr or DigitalOcean, for example, to host your own website for typically less than $10 a month. There is absolutely no reason why you need either ads or the horribly atrocious adfly links. These will only help your pockets, not to mention degrade the website's performance (how can adding ads to a website increase it's performance???).
Assuming you're already reasonably comfortable on a Bash/sh prompt: The best place? Your own server! If you don't have one and don't want to pay for something with AWS, digital ocean or whatever you can just run virtual machines on your own computer just fine most likely. VMware player is free and makes it easy to get a virtual machine going.
Ubuntu and its derivatives have the most help available online through questions asked to try and work it out yourself. DigitalOcean in particular has some good docs to help you like this one. Outside of Apache+PHP you generally need to setup a module or a second application server to run code. Nginx, for example, is meant to serve your static content like .css and .js very quickly, but defer the work to something like gunicorn to actually interpret and run python to generate the page if you're using Django or something.
If you aren't comfortable on the shell, yet, well you'll want to get that down first.
Glad to be of help, and thank you! If you're interested in setting up SPF records on your current or future domains, there's a fairly in-depth, yet approachable, tutorial at this page. You can set them with virtually any DNS provider, and it can be a good step to take.
I use digital ocean
I think you get $10 credit with my link
Set up the $5 per month Ubuntu LAMP stack.
Install Putty (windows) to connect to your VPS IP address.
sudo apt-get install python-pip
Then you can run Flask if you want
Use WinSCP to manage your files.
An easy way of going about it. Probably won't work on mobile devices though - that's what led me to set up OpenVPN. It really is not that much of a big deal if you follow a decent guide.
edit: So DigitalOcean is now also blocked. Shit.
Morgan from the MySQL team here! Happy to answer any questions.
I also have an article describing the SQL mode changes here: [link]
Depends on how in depth you're wanting to go? DO did a good write up here, but the very basic tl;dr is that networking stack is fantastic on the BSD's, OpenBSD is extremely secure (even comparative to Linux), NetBSD runs on a phenomenally large amount of architectures, more complete documentation, BSD's can execute most Linux binaries (but not the other way around), and BSD's can have noticeably higher performance. Also BSD vs GPL license (former being potentially more attractive). Just a few reasons for why you may pick over Linux. Linux still has much larger support for desktop usage, etc.
Or you could install your own for pretty cheap!
I've not done this yet, but it's on my ToDo list.
DO is absolutely designed for production usage: that's a common misconception. It's just advertised primarily for developers, since it was designed with ease of use and developer friendliness in mind.
There are plenty of larger customers that use the service in production. Check out [link]
I've been a very happy customer of DigitalOcean for more than a year now. Their smallest package is $5 per month.
Their uptime has been sublime. Their support is even better. You should check them out!
Word of advice as I just came from this. Drop MySQL cluster. Its expensive and you dont get InnoDB and you have to use the NBDENGINE engine type for the database/tables. Go with Galera and MariaDB/MySQL [link]
1. Yes. Separate your commands with && or a semicolon, like so:
command1 arg1 && command2 arg2
command1 arg1 ; command2 arg2
The first one executes command2 only if the first one succeeds, whereas the second one executes both regardless.
2. Look into aliases. Here is a link I found from a quick search.
3. Most shells have tab completion - the common ones, bash and zsh, do. Start to type a file as an argument of a command, start typing a file name, then hit tab. Pressing tab repeatedly will loop through all the files beginning with what you typed.
This has really been covered ad nauseam. I recommend Digital Ocean. $5 per month for a simple "droplet".
There are some really great guides that will help you get up and running over there as well.
That is a good question. We've discussed this quickly here at DO and it should be possible should you need to however you may encounter problems doing so on a 1GB droplet.
This tutorial will help you get a desktop environment up and running on your droplet and accessible via VNC.
This one will assist you in enabling swap (you will want to do this as what you are looking to do will be memory intensive)
From there you should be able to install the Android SDK just as you would on a normal Ubuntu desktop system.
I would recommend going with the 2GB or 4GB droplet in order for this to work well.
While I'm not sure which IP blocks are, well, blocked, if they block popular VPN services, you can try MAKING YOUR OWN VPN.
Thanks to DigitalOcean's droplet system, you can deploy your own private VPN in less than 10 minutes, by following this script:
If you don't have an account, you can use this link to get you started with $10 credit:
(this is a referral link, I will get credit if you sign up with my link and spend $25, but you will also get $10 for free to run the minimum-specs VPS for up to 2 months)
Just click "Create droplet", select Ubuntu 14.04, select the $5/mo plan (the specs are more than enough to run a VPN), then select the area you want (New York, San Francisco, or maybe Toronto...), check the "User Data" option, and copy/paste the contents of this [link] in there.
Ta-da, 2 minutes later you have your own private VPN. You will have the config files in /root on your new droplet. Just copy them to your OpenVPN client and you're done.
Digitalocean $5pm server. Then stick the free cloudflare service on front to offload resources. And if it's a cms and if you have the capability, stick varnish cache on your digitalocean server. Once cached, it'll use practically nothing and your website will fly.
Here's $10 free credit for you [link]
Conversely, you can pay $5 a month for a DigitalOcean box and setup your own OpenVPN server on it and share it with friends and relatives.
Rather than just some commands that y'all might not know what they do, here's an article on some fun/funny Easter eggs! The Star Wars ones are my favorite
These kind of posts really piss me off. Not because it's someone asking for help, but because they don't post ANY information about what they're running.
You didn't even specify what distro, much less kernel versions, 64 vs. 32 bit OS, nothing.
Just "Hey guys, I have a problem."
So you wanted advice? Here's my advice:
Reinstall VNC. Go to google and type in "Installing VNC on CentOS" or "Installing VNC on Ubuntu" or whatever you're running.
Make sure your software is up to date. Run the latest kernel. Run the most recent LAN and video drivers.
And THEN come back here if you're still having trouble and provide the following information:
And here are links to the more popular distro instructions. Follow these:
Hey great site, and I like how it links to the store page. Just found myself a Negev that I would've otherwise never bothered to search for!
About the hosting, where or how are you hosting now? I'm using the $20 plan from [link] for my TeamFinder site, performance is pretty good and it barely puts the CPU or RAM at more than 4%.
~~There are a couple things I'd like to give feedback on, but am at work at the moment~~. If you need or want any help with the site give me a shout.
EDIT:: Found some time to write a couple things down:
I'm on my Laptop with a resolution of 1366x768 and getting a horizontal scroll. After looking at the code a bit I think it's because you have the header/ background image as a <img>. Maybe try to replace it with a <div> with a background img.
This one is just personal opinion. When I clicked on the image I expected for it to show a larger image, but it brought me to the market page. It was a pleasant surprise, and I'm glad that feature is there, however I might add a link to store and open a lightbox/modal, or popup with a bigger/different image of the skin.
The navigation wraps on my screen so 'Cases' is underneath 'Rifles'. So when you expand the 'dropdown' it moves everything around. So, maybe have it more of a popdown rather than changing the height of the div and revealing the options.
Again, I really like the site and it's a great start!
Ah, did some digging and answered my own question. They've got a lot of hidden fees that make small or long-lived containers more expensive than the competition. Sure, their cheapest container is $1.03 monthly, but you also pay for storing images and any persistent volumes. The minimum size for a volume is 10GB, and storage costs $0.10/GB per month. Also, if you want your container to be web accessible, you'll need to assign it a floating IP, which is another $1 per month. That means their REAL minimum monthly cost for a container is closer to $4 plus applicable tax. That nets you a 64MB memory, 10GB disk container.
In contrast, DigitalOcean's smallest droplet costs $5 per month, tax-inclusive. This is a 512MB memory, 20GB disk VPS, meaning you can run as many containers as you want on it. If you plan on using even just TWO small containers all month in hyper.sh, it's more cost-effective to use something like DigitalOcean or AWS EC2/ElasticBeanstalk.
Of course, hosting should be unique to the use case. None of the competition will charge you for just 30 seconds of container time. Hyper.sh's network transfer is free, whereas DigitalOcean/AWS have caps after which they start charging. The CLI is extremely easy to use, which is probably worth something too.
Read this: SQLite vs MySQL vs PostgreSQL: A Comparison Of Relational Database Management Systems. That should get you started.
Its not very hard on DigitalOcean.
Follow this doc and then this one.
I talk a little bit about it in this blog post.
Bonus! There is Let'sEncrypt in there.
Käytä koulun sähköpostia tämän ([link]) GitHub Education Packin hankkimiseen
Odota viikko pari että se aktivoituu, saat packin jossa on kaiken muun lisäksi 50$-100$ krediittiä DigitalOceanille
Käytä krediitti halvimpaan VPS-droplettiin (5$ per kk, 1Tt liikennettä per kk) jolloin saat 10-20kk ilmaista aikaa
Asenna OpenVPN dropletille. Jos et osaa, opitpahan samalla. Viralliset ohjeet:
You can purchase a domain from GoDaddy.com or Namecheap.com (and I think even Amazon.com now) Namecheap is pretty good.
You'll also need a server to host on. I hope you're familiar with Linux, because that's the easiest way to get a cheap server. Grab a $5/month server from [link] and throw Ubuntu or CentOS on there.
Then you should install a webserver environment, like Ngnix or Apache with the right module to run Python. Python has its own built-in webserver, but it's not really intended to be used in production. You need to install additional daemons and scripts to make sure it's always running as it will crash out if your script has a fatal error. It's usually best to let a dedicated web server like Ngnix or Apache handle that.
From there, I would use a web application framework like Flask for Python to help get you started. Django is another alternative, but that probably has too much technical overhead for you to have to learn just to get a simple site up and running.
In fact, Digital Ocean has a convenient little tutorial on how to get Ngnix, Python, and Flask running on a CentOS server:
That should be a decent place to get you started.
I use these. DigitalOcean is super cheap with an outstanding community. For $5 a month, with endless possibilities, I don't think I could find anywhere else.
I would suggest getting a VPS from Digital Ocean ($5 a month) and running through some of the tutorials on their site. They have some pretty good ones. If you don't understand something, look it up and try to learn everything you're doing.
Set up UFW to block all incoming ports that you don't approve of. Don't allow them access to your desktop. You can also log login attempts and install software that reacts to login attempts, such as Fail2Ban. Make sure public key logins are enabled for SSH, don't use password logins if you don't have to.
Here you have the choice now of either installing an antivirus or trusting your OS (dangerous, but I'd say most of us do this). Hell, most of our phones don't even have an antivirus on them and they're doing fine. You can install ClamAV, but it doesn't remove viruses from infected files, it only moves the infected file to a quarantine folder. Here's a good article on the subject with some different options. If you choose not to install an AV you can always say that you did, although that might eat at your conscience. They can't really check at this point.
Assuming this is a standard runs-on-linux kind of situation your best bet is probably to use something like Digital Ocean
$5/mo would likely get you all you need to run an old-school C based MUD for 10 players.
Some people just can't handle criticism.
> It appears many people have found this method helpful
People don't know any better. There are plenty of guides on how to setup key based authentication that follow the proper process, do not contain incorrect information and incorrect commands, and do not recommend insecure passphraseless keys. I'm not sure what you're trying to accomplish here.
> Second, I wrote this excerpt as a way to do this from the Pi itself. It's okay to do it from another computer; there is no right or wrong way of doing this.
The method you have described is the wrong way. Generate key pair on client. upload public key to server.
Here are some guides that outline the correct procedure:
The free AWS instance is useful for smaller stuff.
I think Google compute engine has like one free month.
If it is something that will be on 24/7 though, I would rather pay the $5 a month to digital ocean.
Comparing Youtube to web hosting is a bit random. Youtube make money from videos being uploaded to their service.
Hosting static websites can be free, Github pages do exactly this. However if you want backend services which will use up resources then you're going to have to pay. You can pay $5 a month for a VM ([link]) which will host everything you need.
dokku is your answer. It's like your own heroku. DigitalOcean has it's own dokku image. In combination with supervisord you can keep the apps running even if the app crashes. It takes care of the ports for you, and allows you to deploy multiple apps to the same domain easily. If you have any questions let me know. this tutorial should get you started.
When you have everything set up, deployment is as easy as:
git remote add dokku :your-node-app
git push dokku master
First of all, people have very bad experiences with GoDaddy. I'd never give them my business.
But in the end it comes down to two seperate things.
For example: [link]
Hmm... How does it cost that much?
I don't know how your bot works exactly but I'm assuming it queries /r/all/comments/new and messages/inbox/ 2 times per minute, if request is made then it uses API for some online wallet storage and transfers funds from one wallet to another then user is ~~massaged~~ sent a message and comment is posted to notify users of the transfer.
From my experience with reddit comments the average page returns about ~25kb of comments per request. Posting comments and sending messages doesn't require nearly as much data as it's only POST requests.
Now assuming you obey reddit API rules and make request every 30 seconds that would mean you get 50kb of data in a second, 3000kb/min, ~175.78mb/hr, ~4gb a day, ~130gb a month. Let's assume you get that much for messages too (you probably don't), that's ~260gb of reddit comments and messages.
The wallet API and messaging doesn't take a lot of resources since it consists mostly of smaller GET and POST requests, but lets say that consumes the same amount as parsing comments (in reality it probably uses ~1/10th of it) that would be another 260gb
Which brings us to (exaggerated) total of ~520 gigabytes per 31 days. In reality I'm guessing you use ~250gb or less per month??
Most VPS's offer 1TB+ bandwidth for as low as $5/month, like digitalocean [link] databases and CPU consumption shouldn't be a bottleneck as they're relatively simple tasks and database stores only IDs so the 20GB SSD should be enough.
Please don't think I'm saying you're lying or that you're wrong, this comment is more thinking out loud than "proof" or attempt to show that you're wrong. You have the stats and I'm just guessing data consumption and cost.
If you could share some real numbers I'd appreciate as I've been planning on running my own bot (for a subreddit) and by my calculations (like the one above) it is something that isn't too expensive.
It was a quick example to prove my point. If you actually want a VPN that's cost effective it would depend on your use case. You have the basic choice of:
I use digital ocean and it's perfect. Aws is way overkill unless you know why you need it.
Use cloudflare, free wildcard ssl certificate, cdn, will hide your IP address. You can set the length it will catch files for
These guides you should do a few time until your understand.
SSH to remotely access your server without a password.
Fail2ban to block failed ssh/password users gaining access to your server.
UFW to fire wall your server.
You can also mount your database and WordPress files in digital ocean block storage so you can kill a server and have your data in separate containers.
Get a floating IP address your domain points to at digital ocean that way you can change servers if you have to.
As can see digital ocean has amazing docs.
Also your understand that you can find system logs to in /var/logs when things break and config files can be found in /etc
Practically speaking there are two options at your disposal for making a dynamic rerouting decision like this: DNS or a floating IP.
DNS is nice because because it's out of band and you can request the same resource but get a different answer or IP depending on the state of your servers (e.g. always return the IP address of the primary unless it's down, in which case start returning secondary). For this to work you'd need to hardcode a URI into the app rather than the IP of the primary or secondary servers. You'd also need to write some code to dynamically update the DNS record when the primary server goes down or fails a healthcheck, or use a managed DNS provider that has these capabilities built in. If you control all of the systems and resolvers, you can use a 0 second TTL and disable or configure the relevant services (nscd/dnsmasq) in order to prevent the IP from being cached.
If your tolerance for failovers is milliseconds or your IP address is hardcoded into the application and can't change then you'll have to use a floating VIP - an IP address that both the primary and secondary servers have the ability to bind to an interface. This comes with its own set of complications but Digital Ocean has a nice overview here of one of the many ways you can implement this.
Another alternative which it sounds like you've hit on would be to build the healthchecking into the application itself and hardcode both a primary and secondary IP, then change the behavior of the app such that if it's unable to connect to the primary after x number of seconds it tries the secondary IP.
It depends on what you want.
Generally you want to avoid all responsibility with hosting. You want them paying for their own account, with their own credentials, and you want a contract stating explicitly that you are not their emergency IT person for free. It's common to give some value-add in a contract like "90 day defect warranty, 30 days server support" or something, and after that, they're on their own.
This way you're not stuck paying for the server, and then having to hunt them down to pay you, and then having to shut down the server when they fail to pay you, and then having them get on your case about getting it running again (or potentially suing you for not adequately communicating the issue or some other such excuse).
On the other hand, if you want to make a profit from being their host manager, then you you charge them the hosting costs, the general maintenance fees and time spent dealing with them, AND a profit margin. So if you can host their site on a $5/month Digital Ocean server, and then charge them $30/month to manage it, you can make a small profit that way. Get enough clients doing that, and you can wind up with a few hundred dollars/month in passive income.
At any rate, I personally host on Ubuntu or CentOS servers through Digital Ocean. For most small businesses that just need marketing / brochureware sites, you can get away with $5/month server. It even offers one-click install Wordpress and Drupal sites if that's your thing so simple
That said, Wordpress and Drupal probably wont' work very well on the $5/month option, so pick your tier accordingly. I've found DO to be extremely simple and easy to use. I don't have to fight with any managed host bullshit, or potential vulnerabilities created by shared hosting providers etc. Less time for me = more margin.
systemd log files are stored in binary, meaning that you can't cat/less/grep them - as a sysadmin I initially hated this and it was my biggest (and only real) gripe with systemd. That is, until I actually started working with them. Say you want to view all logs for nginx: journalctl -u nginx will do that for you. Possibly more awesome is this self-explanatory command: journalctl --since "2015-01-10" --until "2015-01-11 03:00"
journalctl -u nginx
journalctl --since "2015-01-10" --until "2015-01-11 03:00"
This Digital Ocean article has a good summary
Okay I had to say something about WPEngine after what you said.
In ~20 minutes I've bought a domain and SSL certificate from namecheap for ~$12.99 for the first year (that's both not per.) Launched a WordPress droplet on DigitalOcean for $10 a month and had WooCommerce running. That's just over $11 a month for MORE than WPEngine offers at $99!!!!, unless they're giving you some crazy sweet memory/processor allocation but then why would they not advertise that?
Please have a look at Digital Ocean.
To illustrate how crazy this is:
Since it doesn't have the arbitrary 100k visitor limit let me put it this way. At 10% of the cost you would hit your transfer limit at 100k visitors if you transferred 20MB to every one of them.
I find it hard to believe that even toy projects can be hosted much more cheaply than the smallest available VPS (e.g. US$5/month on Digital Ocean [link] ).
Anyway, the point is that creating a whole new compiler backend with likely dozens of person years of work on top of one of the most unrealiable and ill-specified languages out there just for toy projects doesn't make a whole lot of sense to me.
You don't run the Flask app with Nginx, you run it with something like uWSGI. Then you use Nginx to connect to uWSGI.
Here is a detailed tutorial on how the process works that will get you on the right path.
I've been using DigitalOcean and I'm very happy with them. Their cheapest plan, the $5/mo, is plenty if all you need is email, and they prorate it by uptime so if you only need it for a few hours to set it up and demonstrate it, it will only cost you some change.
They offer Ubuntu, CentOS, Debian, Arch, and Fedora, as well as partially-pre-configured LAMP, MEAN, Ruby on Rails, Redmine, Ghost, GitLab, Dokku, Docker, and Wordpress setups.
Digital ocean? $5 a month cheap enough or need cheaper? You could run a really small few projects on the $5 if needed too. Just be sure to setup swap [link]
ELK Stack, centos tutorial
I use logstash forwarder, redis, and packetbeat to send all logs to central box, custom alerts for immediate actionable items, ssh attempts, etc.
I got one FreeBSD droplet too. I didn't read any docs and got stuck so here's a super short quickstart for FreeBSD users:
Create a droplet through the web interface, select FreeBSD (10.1 only available). You'll need an ssh key, paste the public key into the web interface (password based auth not an option when creating droplets).
This is the important bit, the 'root' account doesn't work for ssh, you have to 'ssh [email protected]<your-ip-address>'. Use the '-i' flag to pass in the private ssh key if it's not picked up automatically. The default prompt is '>' - don't be alarmed.
So, you're not root, and cant 'su' because you don't know the root password. Don't fret, just use 'sudo <whatever>' and it works. I used that to 'sudo passwd root' and then 'su'.
Other notes about DO:
Only 1 IPv4 per droplet (consider creating multiple small droplets instead)
Need to turn off machine to take snapshots
Private networking not available in all areas (not sure why)
The web ui is pretty slick - probably one of the best. And yes, it is only about 55 seconds to create one droplet.
Ok, that should be it - cheers!
Oh, and if you want $10 in credit you can use my referral ([link]) and both of us profit :D
Setup some cheap hosting of your own, and let them test it there (if reasonably possible, which it should be under most circumstances).
Get paid in full.
Deploy website to client's hosting and ensure it works correctly.
Do not skip step 2.
I recommend getting a cheap box on DigitalOcean* or DreamHost for the first step.
And yeah, usually they'll give you FTP or SSH information for their hosting, if they're technical enough. If they ask you to find them hosting, that's fine, but just make sure you don't put your code into production before you get paid. I've heard too many stories of freelancers getting shafted after they deploy code and the employer stops responding to emails / calls.
* Referral link, but you'll get $10 in credit, which pays for two months of the $5 / mo. plan (which we are currently using in production for a small server).
Digital Ocean Documentation to the rescue as always!
This should give you a good starting point, I can help with specific questions if you still want to set it up, I've done this a few times.
I've just finishing switching from Bluehost to DigitalOcean. You have to do a little bit more yourself (no c-panel), but they offer way more control and customization than Bluehost did, since it isn't shared hosting. It's $5 a month per 'droplet', or server.
I understand that [link] is good. I've got an account and have spun up a few servers just to get a hang of how it works but I haven't done anything substantial on it. Their lowest power server is $5 a month.
> 512MB / 1 CPU
20GB SSD DISK
Edit: There is a referral program so if you want to give a little kickback to me use this link but if you don't it doesn't matter to me. [link]
Your LAMP link is actually the phpMyAdmin link - here's what I think you were actually looking for...
Also OP if you install the LAMP stack and then also decide to install phpMyAdmin, look into securing it. If I'm not mistaken there are a few security risks involved with installing phpMyAdmin and not taking the proper steps in securing it. (And by "securing" it, it's just a couple steps you can google to ensure some vulnerabilities are prevented. It's nothing crazy.)
Good luck and have fun OP, I thoroughly enjoyed setting up my first VPS. =)
DigitalOcean have a nice library of tutorials (obviously they'll work with any host, but do check TOS as some providers disallow their services for VPN/proxy/tunneling).
[link] and [link] show up in a quick search.
You mean you ”ssh” in using putty, start the program, then want to close the ssh session.
Several ways exist to keep the program running the background.
Use ”tmux” or ”screen” is a common way. And you can reconnect to the ssh session later.
Use of the ”bash job controll” features is another way.
Hey there. This is a common business practice. It is similar to how coupons expire and things like gift cards. have expirations on them.
We posted a blog post about this at [link]
Tl;Dr on this is that we have heard from customers like you that were upset, evaluated our process, and made some revisions. Check it out and if after you want to continue to use your credit, open a support ticket and our support team will help you out
Dont try to do it this way.
Instead, use some well known software (gunicorn, nginx) that can already do this and pass requests off to your Flask app.
Here's a good tutorial: [link]
You could run your own for $5/mo on my own DigitalOcean server (wherever in the world DO offers Germany, Netherlands, San Fran, etc). ...drop it/recreate it about every 2 months or set one up before going overseas, or on vacation too, etc.
One of the main reasons to do this is to also specify a personal DNS so that it blocks ads/trackers using FoolDNS (or my own DNS). Sets up easy using TunnelBlick on mac (openvpn app on iOS). Also great for dd wrt router.
The setup is fairly simple via their script in that tutorial.
Alternatively, Witopia.net is a great solution Mac/iPhone, it works flawlessly, the bandwidth is great & matches a 100gbps connection, uses a drop-down menu for anywhere in the world on Mac app (config for iPhone). Anonymizer has also worked great for and is a secondary, but they hold back on bandwidth, places unless you're there and some services block them.
If those are the only places you found it, find a DMCA notice form on Google, fill it out and send it to whatever contact info you can find on those sites. Both of those domains were registered at Name Cheap or one of their resellers, so send Name Cheap copies of the DMCAs (). One domain appears to be hosted on Digital Ocean [link] and the other on Web Zilla (). Send the DMCA’s to those companies too. That should get the sites taken down or your content removed from them.
Send Amazon a reply saying you found unauthorized copies of your work on those sites and that you sent them a DMCA notices.
I agree with /u/torac. Readership & site traffic is not based on your quality. There is no central place to read the entirety of LMS & readers are conditioned for googling new chapters, esp those who don't know what MTL is. The lack of a well-communicated translation schedule at CCT does not help mitigate this.
I would recommend any of the following:
Move from blogspot to wordpress or ghost blog. Benefits: You can run a popup modal to collect emails. You will collect farm more email addresses & this will keep everyone in the loop to updates. You can also run better ads if you want money. Cost = $10/month Server
Adopt a serious donation queue (remove the 'donations don't speed anything up but you can still do it)
Partner with the MTL guys. Playing catch up can definitely be demotivating but working as a team could help everyone. This could help ease the load for all parties. If not translations, at bare minimum hosting each others work to help with bringing new site traffic (SEO).
I use a Digital Ocean VPS for my portfolio site. I like it because I can also host all my other small projects and utilities on there as well. I have my portfolio, a few wordpress sites, and OpenVPN for when I want to access US netflix (I'm in Canada). I have to host my domains elsewhere, but it's been worth it so far.
P.S: If you decide to sign up use my referral link so we both get some free credit :)
You already have the data and are just looking to make some pretty things? I didn't use any references when creating the charts, but here is an article from digitalocean, and I did use their guide to setup the ELK stack in the first place.
Basically, when I want to create a new chart it goes like this:
From the top menu, Visualize. Pick a type, let's keep it simple and go for Area Chart. Then click in the textbox, you should get a drop down of your indexes. You probably have "logstash-*" or something similar, so pick that.
Now on the left, expand the arrow near Y Axis, pick Average, and choose a field.
Under buckets expand the arrow near X Axis, pick Date Histogram, and choose @timestamp.
Then click apply. You should get at least some eye candy. If you do not then something is wrong, you aren't getting data. If you did, then cool! Repeat these steps but start playing around with other options.
Bitbucket. Period. Private CVS repositories. Don't mess around with Cloud or USB storage. ALWAYS version your documents. Nothing is worse than losing a chunk or wishing you could go back to a previous version.
Of course if you can afford it (roughly $5/mo), go Digital Ocean, get your own VM in the cloud and run your own git repo. This is what I have for my own research stuff. Bitbucket is great for collaborative stuff.
GitHub is more of a public repo where you can't keep your files private... unless you pay or prove that you're a student.
This is definitely possible. Actually, it seems Digital Ocean have an article on how to set this up with Virtual Hosts - [link].
Hope this is what you were meaning.
Definitely recommend the VPS route, it isn't that much more expensive than shared hosting anymore. I would highly recommend Digital Ocean.
They have a variety of operating systems and full stacks that you can deploy. They also have a ton of guides to help secure your site and get things set up.
Here is my referral link if you're interested. You get 10 bucks, I get 25. [link]
Well, skills that would be useful:
The community is great and will help you almost every step of the way - Just a a keen interest and willingness to learn will get you far.
I suggest you begin with downloading Ubuntu Server and install it on an old computer.
This will be dropping you in the deep end - there is no graphical interface, just the command line! This guide might help.
Once you can do that, I suggest you look into learning basic command line skills. A good project would be setting up a web server.
If you can do that, it's only a little bit harder getting cjdns installed.
The best advice I could give you is to download an IRC client and finding some friendly IRC channels with people willing to help. A good place to start would be #ubuntu on irc.freenode.net.
A única empresa nacional(nem sei bem se é nacional) com a qual já tive de lidar foi a amen e acho melhor fugires dela. (Na empresa continua-se a utilizar o serviço de email que não é mau de todo - apesar de já ter tido vários problemas com o SMPT)
Quanto a mim não vale a pena escolher uma empresa nesta área só porque é em Portugal, hoje em dia a localização do servidor é praticamente irrelevante.
De resto as minhas recomendações são:
Registo de domínio: [link] se não estou em erro oferecem WHOIS privado. Tem tudo o que é preciso e não te tenta convencer a comprar mais merdas como a godaddy.
Hosting depende muito das tuas necessidades, para shared hosting experimenta a [link], se precisares de um VPS ou servidor só para ti www.linode.com (uso e dou nota 10/10) ou a [link] que tem preços mais em conta.
O plano de VPS mais barato na digitalocean consegue competir em preço com planos de shared hosting noutras empresas e, se o configurares bem, ficas com uma máquina para alojar vários sites.
Regra geral, foge de qualquer empresa nesta área que não tenha um fórum público de suporte.
Remember to create a swapfile, even if you use the 1-click install, it doesn't create the sawpfile for you.
Your site will crash when you start getting a decent traffic and all ram gets used. Swapfile is an important emergency net and will save you a lot of headaches.
On this page, takes you step by step how to create one.
You can run it as a service, but the docker container really saves a lot of hassle since its one line to get it running in the container, generate the certs, and its up and going.
You can definitely run it by itself, docker just makes it easier. Heres a guide:
I recently set one up open VPN in AWS by following this tutorial.
Here's a shell script do the same thing which should be quicker only noticed it in the comments once I had finished going though it the tutorial... so can't vouch for how good it is.
As for it being hosted in AWS I'm still thinking that one though.
I would use <code>rsync</code>, that automatically computes deltas so only the bits that have changed are moved :)
Yeah totally! We use a package called "cloud-init" that is provided on almost all recent Linux distributions (Ubuntu 14.04, Debian 7, CentOS 7, etc).
This allows us or you to setup the droplet even more! We provide a section on the droplet create page called "User Data" where you can drop in a simple bash script or a "cloud-config" to run after our scripts.
We have a great guide on our community site that covers this here: [link]
You can find more examples on the cloud-init documentation here: [link]
P.S. The cloud-config uses a YAML format which is VERY picky about formatting. An extra space or character can throw the script off.
P.S.S. You can also use our Metadata service to auto drop-in droplet information at boot time: [link]
Edit: grammar, also "drop-in droplet" heh
"Network security is like an onion...there are layers"
Working from the outside in, you have
modem -> router -> pi
Your router is the first layer of "security" between "the internet" and your pi. Routers have firewalls which protect your internal devices from hackers upstream. Hackers do have ways of circumventing those protections, but requires someone inside the network to click a link. The caveat is that if you have port forwarding enabled on your router to allow the pi to function as a web server, those protections are null.
The next layer of security is passswords and device permissions. Your pi probably has SSH enabled. Can you log in as root via ssh? If so you should probably disable it. This doesn't mean you can't still ssh in, you just have to use your user level account. You can assume root permissions with su and sudo. tutorial You should also set ssh to use public and private keys. tutorial
DigitalOcean has a bunch of great guides on how to do a ton of stuff with Linux/BSD! You can find a bunch of their tutorials here. Went from knowing basically nothing about Linux servers to mostly keeping everything from setting on fire.
It continues. In their AMA, they stated that they have very low server costs. The game may not make enough to justify continued development, but it should make enough to keep the lights on.
They actually specified that the service is hosted on DigitalOcean. You can see their pricing structure here, and speculate on which tier they are using. [link]
Two very good links. I used to point people to DO's guides but will also link these two.
DO is very new compared to Linode. You really think they could handle the same attack better, because I seriously doubt it, unless you have evidence of DDOS mitigation system in place at DO, superior to what Linode can do.
This DO thread seems to indicate they have no DDOS protection at all.
Digital Ocean offers an option to spin up a gitlab box with instructions on how to set it up. I didn't have any trouble going this route.
I think have an answer now about whether to expect those kind of scans - the answer is yes.
Personally I'm not a huge fan of security through obscurity but if you're annoyed by the scans you can also add port knocking to further help hide your SSH port. Digital Ocean has a [tutorial] on the subject.
In fact if you're able I'd combine that with exclusively using an IPV6 address for SSH; IPV6's address is space is so large that scanning it is impractical.
Why not work in a virtual machine online? Just SSH in and write all your code in that, then download it when you are done. Digital Ocean have VMs for $5 a month, and you get a web shell so all you need is a browser.
You are mistyping the command:
sudo find / -name "index.html"
DigitalOcean has a good tutorial on find and locate.
If your app is small you can easily host both the rest and client server on the same machine. Your react client app is going to use a very small amount of memory and processor resources.
To serve the node app, your best bet is to put nginx in front of it. Nginx will listen on port 80, your node app listens on port 3000, and then you proxy pass everything at 80 to port 3000.
Instead of using node directly in production, it's better to use a process manager. I prefer pm2 but forever also works well. Either of these will restart your app if it goes down.
Here's a good tutorial on using this setup from Digital Ocean. It works exactly the same way for AWS.
Here is 10 dollar coupon at digital ocean for anybody who needs it. Good for two months with lowest plan.
(Also, if you spend something I get 25 i think)
It helped me and forced me to use command line and secure tools like winscp
If you want to keep it simple, why add the nginx webserver ? Add the reason(s) why you think its good to do.
Also, I think by default a Digital Ocean Ubuntu 14.04 distro has no firewall enabled ? In which case at least a link to this would be good to add:
Finally I think some specific link to setting up ssh keys would be recommendable as well.
You can get a VPS for $5/month from providers like DigitalOcean (referral link) . Unless you are financially struggling, the cost difference between the two options is negligible. And that is before we even consider the cost of power consumed by the server if you would host it your self.
It appears from their documentation and the comments on that blog post that droplets are assigned a mere 16 IPv6 addresses out of a shared /64 subnet. And this comment from their co-founder made me wince:
> We were trying to figure out why someone would need a /64 in real usage, because it is such a large space and given how much work has been done on IPv4 to help support more services and features on a smaller subset of IPs.
Docker via Dokku, is the only way to go imo. There is even a one click installer for DO. Shoot me a pm if you need any help.
Dokku is a self hosted mini-heroku.
Nice choice there. I am a co-founder of DuckDNS. I recommend you install fail2ban to prevent ssh brute force attacks and also consider key based login. If you want extra security there is an ssh addon that forces a google 2 step. [link]
Added SSL to my website the other night after spending all day at work talking about web security.
It was really easy. I followed this guide by Digital Ocean
Ok, this is what I got
Is this also true for 16.04 ? Anything I should look into outside of these recommendations ?