Posts Tagged 'virtual-server'



Maintain Unmanaged VPS – Part 10: Copy Site Files between Linux/Linux Computers with the CLI

scp command line code image

This tutorial shows how to copy files between Linux computers using Secure Copy & a command line interface. Fast, easy & safe, better than FTP or SFTP.

If you're using Windows locally, skip to VPS ...

read more →
1

Maintain Unmanaged VPS – Part 9: Reset a Lost MySQL Password

mysql command line code image

So you've gone and locked yourself out of MySQL? Feels a bit like leaving the car keys in the trunk, huh? 😀 Sorry to laugh! But I can, firstly because I've locked my own darned keys in the trunk and, more usefully, ‘cos I'm gonna show you how to get back in.

It's really not so tough. Using ...

read more →
2

Maintain Unmanaged VPS – Part 8: Update (Replace or Delete) MySQL Data

mysql update command image

Change repetitive db data with one single syntax command. Rather than manually find & alter each instance, isolate the lot & update multiple content.

There are some good plugins to do this with platforms like WordPress but, by way of an alternative method, this is handy when you want to swap or lose an identical content string across all the ...

read more →
0

Maintain Unmanaged VPS – Part 7: Reinstate MySQL DBs with Terminal Shell

mysql database import command line image

This guide provides the syntax for uploading data to a MySQL database. For instance, you've changed Linux server, have added a blank database and now want to add your previously backed up data.

Just replace the name of the database, the database username & the password with your chosen options, pasting the code into your terminal.

(Sure, you could use a ...

read more →
0

Maintain Unmanaged VPS – Part 6: Backup a MySQL Database from the Terminal

mysqldump command line code image

This guide shows how to save a MySQL database using a terminal, with a simple syntax command. And faster than using phpMyAdmin, for sure.

Just replace the db name, username and password and paste the code into your terminal.

While this is a handy how-to, probably you'll want ...

read more →
0

Maintain Unmanaged VPS – Part 4: Create or Bin MySQL DBs using the Terminal

mysql create database command line image

This how-to guide maps out two pretty basic but handy MySQL operations, creating and binning a database, using the terminal interface.

Sure, you can do those with, say, phpMyAdmin, but it's way quicker to perform such functions using the command line.

Having logged into MySQL's shell using ...

read more →
6

Maintain Unmanaged VPS – Part 2: Adding Sub-Sites with Nginx

create a-record image

Create sub-sites or prefixed WordPress blogs quickly & easily. Just create an A record, add a vhost file & symlink and restart Nginx.

This is very similar to adding a domain, which is detailed here and cheat-sheeted here, ...

read more →
3

Maintain Unmanaged VPS – Part 1: Add Web Sites Nginx Cheatsheet

web sites folder structure image

Create additional sites & blogs quickly & easily. After creating the DNS entries, just add a vhost file, its symlink, restart Nginx and go play.

OK. So I did this guide already, already! But as this is one of the main things people do with a VPS – adding extra domains – I figured it wouldn't hurt to provide a shortcut cheatsheet too, minus ...

read more →
7

NGINX VPS ADMIN SERIES UNDERWAY – And I Thought It Was Beer-O-Clock!

a pint of beer

When I started this series I figured I'd cover it in maybe 7 or 8 posts.

I had more hair in those days, and you were younger too.

Apart from underestimating the subject, fact is, with the intended audience for the Bible being Linux and/or VPS newbies, I'd kind of pinned my hopes on uncovering some way to use a control ...

read more →
7

Maintain Unmanaged VPS – Part 5: Get phpMyAdmin Working with Nginx

phpMyAdmin logo image

How to install PMA with Nginx, to administer multiple MySQL dbs from anywhere. View table structure, browse data, run queries, backup and more.

Adding phpMyAdmin to the Nginx web server is very like adding a sub-site. Dead easy! The process takes 10 minutes, tops. This guide shows you how to add the client, configure a virtual host file with ...

read more →
15
Page 2 of 4 1234