In this howto I will show you a simple bash script that dump ALL mysql databases on your server compressed to GZIP and then make a nice tar.gz file with them and upload it to the FTP of your choice.
Elgg is an open, flexible social networking engine, designed to run at the heart of any socially-aware application. Building on Elgg is easy, and because the engine handles common web application and social functionality for you, you can concentrate on developing your idea. Elgg is open source. That means, when you use Elgg, you have [...]
Everyone has a “www” subdomain (In “www.yourdomain.com”, the “www” part is the subdomain). The www subdomain is created by, and serves files from, your /htdocs/www directory on the filesystem.
Lots of programmers like PHP for its ability to code and develop web applications fast. Code-debugging is a lot easier than with PERL or C. However, there is one thing a lot of developers are puzzled about, â€œHow to run PHP Scripts with crontab?â€ Cron is normally available on all Unix and Linux distributions; if [...]
pfSense is a free, open source customized distribution of FreeBSD tailored for use as a firewall and router. In addition to being a powerful, flexible firewalling and routing platform, it includes a long list of related features and a package system allowing further expandability without adding bloat and potential security vulnerabilities to the base distribution. [...]
A cool new open source meeting service that lets you share your desktop, presentations, audio and video
Dimdim is a cool new open source meeting service that lets you share your desktop, presentations, audio and video. Its also web based, and needs no installing. On top of all this, it works on Mac, Linux and even Windows! In todayâ€™s business environment with globally distributed workforce, it is not realistic to have face-to-face [...]
At times, we need to verify some linux binaries from our web hosting provider. Say, we need to confirm path locations of specific linux binaries in order for our particular PHP pages to work out its function. There are lot of ways to do it, the simplest way is to call your web hosting provider [...]
There are times that we are limited on uploading files and images to certain web-based services that we are managing along our duties. Here’s a quick how to on increasing your PHP file upload directive.
How do you edit the .htaccess file? Before you upload an .htaccess file to your server, make sure there is not already one there. Your host panel or perhaps a script you have uploaded may have already changed the htaccess for some reason so you donâ€™t want to overwrite it as doing so could change [...]
If you have a lot of files in a directory but there is no index file, your server will list all the files in that server. This can cause a lot of problems. For example, one of the most common directories which webmasters forget to hide is the images folder. This allows everyone to view all the images in their images folder. This isnâ€™t usually a major problem though you may have more important files in a directory, perhaps important documents or software.
The Trivial File Transfer Protocol (TFTP) is normally used only for booting diskless workstations. The tftp-server package provides the server for TFTP, which allows users to transfer files to and from a remote machine. TFTP provides very little security, and should not be enabled unless it is expressly needed. The TFTP server is run from [...]
Shaping bandwidth traffic has been a usual part of job function from any IT company infrastructure providing online services to the web. From small scale company to enterprise scale, bandwidth shaping needs to be implemented and applied properly and effectively. Here’s one lightweight linux traffic shaper that makes use of existing network traffic shaping that [...]
Sometimes it can be useful to have a dump of the current database schema. The script below reads the schema fromÂ a MySQL database and outputs XML that describes the schema. At first we connect toÂ a MySQL database and use theÂ SHOW TABLESÂ command to return all the tables in the database. Next,Â we iterate over each table and [...]
There are times that we are limited on uploading files and images to certain web-based services that we are managing along our duties. Here’s a quick how to on increasing your PHP file upload directive. Fedora 9: Increase PHP Maximum Upload Filesize Backup and modify /etc/php.ini to have a similar lines as shown below upload_max_filesize [...]