Join Amazon Student FREE Two-Day Shipping for College Students!
Linux

Anything related to Well-known Linux distributions, Software, VPS.

2387

Ricoh SP C250DN C252DN PPD driver for CUPS

Ricoh SP C250DN C252DN PPD driver for CUPS

C250DN or C252DN can be driven by setting PCL6 and use CUPS+Gutenprint driver. However, if we use Generic driver, it will not print out color. Ricoh does not have dedicate PPD driver for Linux platforms like Ubuntu or Debian for SP C250DN and C252DN color printers. However, Ricoh does have driver for MacOS which in fact is a PPD driver. It comes with a PPD installer for MacOS and it will copy to the PPD to MacOS's CUPS driver folder. We can use……

More »

3743

Connecting to Amazon EC2 Linux Instance from Windows Using PuTTY

Connecting to Amazon EC2 Linux Instance from Windows Using PuTTY

PuTTY does not natively support the private key format (.pem) generated by Amazon EC2. If you load the .pem formet private key directly to PuTTY you will get error message: Unable to use key file "***.pem" (OpenSSH SSH-2 private key). PuTTY has a tool called PuTTYgen, which can convert keys to the required PuTTY format (.ppk). You must convert your private key into this format (.ppk) before connecting to your instance using PuTTY. How to: 1. In……

More »

10168

Patch Bash NOW, Linux, UNIX, Mac OS X Bash Shellshock Code Injection Vulnerability

Patch Bash NOW, Linux, UNIX, Mac OS X Bash Shellshock Code Injection Vulnerability

One critical security hole exist in Unix/Linux based system just got uncovered today. Bash is a Unix shell written by Brian Fox for the GNU Project as a free software replacement for the Bourne shell (sh). A security bug in Bash, could create a bigger threat to computer users than the "Heartbleed" bug in OpenSSL. For many Unix or Linux personal computer, this might not be a really big issue. For Unix or Linux based Web servers, it's a critical ……

More »

12219

Initial Server Setup with CentOS 5.x, 6.x, or 7.x

Initial Server Setup with CentOS 5.x, 6.x, or 7.x

This is a quick tutorial for building a CentOS based VPS/Dedicated server. CentOS server doesn't include GUI in default so the only way to access server is using Secure Shell (SSH). The following steps will be completed by using SSH. Step One: Login to your server as root. Have your server's IP address and root password ready. Login as the main user: root. We use PuTTY in Windows environment here to demonstrate how to use SSH to connect to you……

More »

5691

Setup log rotation for Apache access logs error logs using cronolog

Setup log rotation for Apache access logs error logs using cronolog

If you want Apache log file to be saved on daily basis automatically. Cronolog is one of the best way to do it. Although Apache itself has rotatelogs for rotating activities, rotatelogs are not really creating log file everyday based on the calendar date. Rotatelogs creates and saves log files based on the rotation time or file size limits. For example we set up rotatelogs to rotate logs every 86400 seconds, technically is 24 hours, the start t……

More »

4210

Rotate Apache logs on a daily basis using rotatelogs in CentOS Apache 2.x

Rotate Apache logs on a daily basis using rotatelogs in CentOS Apache 2.x

If you Apache to start a new log file every day automatically, rotatelogs is the simple way to do it. Rotatelogs is a simple program for use in conjunction with Apache's piped logfile feature. It supports rotation based on a time interval or maximum size of the log. The use of rotatelogs is actually quite simple. Search your httpd.conf and replace the following line CustomLog logs/access_log combined to CustomLog "|/usr/sbin/rotatelogs /var/lo……

More »

Your browser is out-of-date. Upgrade your browser today! Internet Explorer | FireFox | Chrome

X