Prettyscripts

Ubuntu: Install and Setup vsftpd

To install vsftpd: sudo apt-get install vsftpd By default it’s anonoymous only. to change and allow local user to ftp files to and from server: sudo vi /etc/vsftpd.conf change / uncomment the following accordingly:

Linux and Php: Timezone Setting

Recently a server was upgraded to FC14 with PHP V538 and when running PHP based website, the following warning is displayed: PHP Warning:  date(): It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and…

Continue Reading »

Fedora: How to disable SELinux

SELinux stands for security-enhanced Linux. It’s probably too secured and caused a lot of file errors. Here’s how to disable SELinux in Fedora Core 10. It’s probably more or less the same for previous versions or other linux platforms. To disable selinux at command prompt, run: