Quantcast
Channel: Tutorials — LowEndTalk
Browsing all 1028 articles
Browse latest View live

Block all subnets of a certain country using iptables

Hi everybody, We were experiencing extremely high loads on one of our web-servers, generating enormous loads on Apache, eventually resulting in the server running out of memory and just locking up....

View Article


Any lowendscript with NGINX/MySQL/PHP & Mail Server with Frontend?

Hello! I'm searching for a lowendscript which contain these services: Nginx MySQL PHP PHPMyAdmin Mail Server Mail Frontend Is there any script with contain these services? If not, is there a mail...

View Article


LEB Setup script for Debian 6 VPS - Nginx, MySQL, IPtables, etc..

A couple years ago LEA created a debian install script that helped to setup a web server while removing most of the unneeded bloat. However, the script was missing a firewall (like IPTables), used...

View Article

Parse simple config files in Python

I was looking for a clean way to parse simple config files in Python, i.e. var = val, and came up with this. It parses variables into a namedtuple. Maybe someone else will find it useful. from...

View Article

Check deta center detail and server configuration with a IP

Hi, Is there any way by which I can find out data center name / detail and web server configuration by Web Server IP address.

View Article


Tutorial: Basic website and database backups with Duplicity

This tutorial will show you how you can back up your website and database with Duplicity. Duplicity is a very useful tool to make remote unassisted backups. The backups can be incremental, encrypted,...

View Article

Dedicated Ram/ Guaranteed Ram... an oldie but a goody that deserves being...

After reading another thread here and after answering a similar question a few times on IRC I thought I would bring this one back in to the lime light....

View Article

Quick Trick: Drop All Tables in MySQL Database in One Step

Neat little trick I learned today: mysqldump -u${user} -p${pass} -h ${host} --add-drop-table --no-data ${database} | grep ^DROP | mysql -u${user} -p${pass} -h ${host} ${database}

View Article


nginx failed to start after apt-get upgrade

Recently if did an apt-get update and apt-get upgrade on my debian 6 VPS and after that the nginx started showing the below error /etc/init.d/nginx restart Restarting nginx: nginxnginx: [emerg] bind()...

View Article


Backuping to Box.com (WebDAV) from shell

Ok, so having a recent deal of 50 Gb free Box.com accounts I've decided it would be nice to backup my sites there. My sites are already backed by a 3rd party software to my other LEBs. It stores it in...

View Article

Improve LET search

I think pretty much everyone around here knows how awful LET's search is. If you don't, go ahead, try it. I'll wait. Yeah, could use some work, right? You know who does a better job with search?...

View Article

How to Block WHMCS licensedebug

So I was recently reminded (thanks @Spencer) that if you call any WHMCS .php with ?licensedebug&forceremote, you get back some info that frankly I'm not wild about giving out. For example:...

View Article

How to Setup Ruby on Rails for CentOS or Fedora

This tutorial will guide you through setting up a basic Ruby on Rails environment, installing: Ruby 1.8.7 RubyGems 1.8.15 Rails 3.1.3 Sqlite3 This tutorial was written for CentOS, Fedora, and other...

View Article


How to Install VNC w/ GNOME on Debian VPS

VNC is a remote desktop sharing system that will allow you to connect your home PC to a GUI (graphical interface) hosted on your VPS, for easy remote management. This guide will walk you through the...

View Article

[Tutorial] Changing outgoing SMTP email on Postfix MTA.

We, at VelociHOST would like to start building a comprehensive tutorial section on our knowledgebase to help the community on giving what we all needed at the beginning of our journey. But we want it...

View Article


Yet another "install a VNC" tutorial

this is another one, but using Openbox. It will reduce the idle RAM usage to aprox. 22mb. apt-get update apt-get install openbox vnc4server iceweasel menu obconf obmenu mkdir /etc/vnc echo...

View Article

Run shell commands in Python

I've been working with Python lately, and frequently need to execute shell commands. So, I came up with this module to do this in normalized fashion. Maybe someone else will find it useful. I stake no...

View Article


How to set up your own distributed, redundant, and encrypted storage grid in...

If you have a few different VPSes, you'll most likely have a significant amount of unused storage space across all of them. This guide will be a quick introduction to setting up and using Tahoe-LAFS, a...

View Article

How to block lowend ads and Google spying on your activity

For folks not running adblock software already or running on limited resources where such software might consume too many resources, there is this. This will work on all major OSes. Why block these ads...

View Article

[TURORIAL] How to make backups of your CentOS Virtual Private Server (VPS).

When you work with a VPS or even any kind of server architecture, is extremely important to backup your data as a precautionary measure against data loss from failures or corruption from handling your...

View Article
Browsing all 1028 articles
Browse latest View live