Archive

Archive for the ‘Linux’ Category

Changes your login password in LINUX

September 29th, 2009 No comments
Changes your login password in LINUX To change your password in Linux OS, type: passwd The root user can change the password of any user by running passwd command with user name as argument: passwd nick will change nicks password. Running passwd without arguments as superuser/root, changes the root password.
Categories: Bookmarks, Linux, Tech Tags: , , , ,

Create file name equal to current date / time in Linux

September 29th, 2009 No comments
Create file name equal to current date / time in Linux Linux command to create file name equal to current date / time : example create folder: mkdir FOLDERNAME_`date +%d-%m-%Y_%H-%M-%S` example create file with ping result (one file / hour - command add all lines to the end of the file) ping -i 0.5 -s ...
Categories: Linux, Tech Tags:

Installing APC Accelerator Into PHP5 (Fedora Core 11)

September 25th, 2009 1 comment
Installing APC Accelerator Into PHP5 (Fedora Core 11) APC is a PHP accelerator extension that can be installed using PECL.  PECL comes with the php-pear package, and must be installed yum install php-pear install APC dependencies so that PECL can build APC: yum install php-devel httpd-devel yum groupinstall 'Development Tools' yum groupinstall 'Development ...

List number of files in a particular folder – Linux Command

September 9th, 2009 No comments
List number of files in a particular folder – Linux Command Determine how many files there are in the current folder/directory: many ways ;) 1.  list files and folders: [root@server1]# du -a /folders/test | cut -d/ -f2 | sort | uniq -c | sort -nr 17616 data 2. list files and folders [root@server1]# ls -Ra1 /folders/test|grep -v ...

Install mbstring for PHP5 – Fedora Core 11 ( LINUX )

September 6th, 2009 No comments
Install mbstring for PHP5 – Fedora Core 11 ( LINUX ) if you use PhpMyAdmin without install mbstring php extension, you get the warning about this: The mbstring PHP extension was not found and you seem to be using a multibyte charset. Without the mbstring extension phpMyAdmin is unable to split strings ...

Install php mcrypt module – Fedora Core 11

September 6th, 2009 No comments
Install php mcrypt module – Fedora Core 11 The best method is using YUM: [root@server1 /]# yum install php-mcrypt after finish, restart apache/httpd [root@server1 /]# sudo /etc/init.d/httpd restart

7-Zip compression options -mx ( LINUX )

September 5th, 2009 No comments
7-Zip compression options -mx ( LINUX ) This is the most important and useful option you can use and change the optimization settings in 7-Zip on the command line: -mx, 7-Zip compression switch: -mx0 - Don't compress at all. ( Is called "copy mode." ) -mx1 - Very low compression. ...

Install YUM fastest mirror plugin – yum-plugin-fastestmirror ( Linux )

September 3rd, 2009 4 comments
Install YUM fastest mirror plugin – yum-plugin-fastestmirror ( Linux ) To install yum fastest mirror plugin (yum-plugin-fastestmirror) you can use next command: yum install yum-plugin-fastestmirror or yum install yum-fastestmirror command result: [root@server1 ~]# yum install yum-fastestmirror Loaded plugins: refresh-packagekit updates/metalink                                         | 4.5 kB     00:00 updates                                                  | 4.4 kB     00:00 updates/primary_db                                       | 3.5 MB     00:04 Setting up Install Process Resolving Dependencies --> Running ...

Install PHP GD support – Fedora Linux server

July 31st, 2009 No comments
Install PHP GD support – Fedora Linux server Using YUM linux command (Cent OS or Fedora Core Linux) as root user: # yum install php-gd # /etc/init.d/httpd restart Verify if php gd is loaded --> Type the following command: # php -m | grep gd

Mod_Rewrite doesn’t work – Apache / Httpd

July 30th, 2009 2 comments
Mod_Rewrite doesn’t work – Apache / Httpd Your site permalinks doesn't seem to work with pretty links ? ==> mod_rewrite doesn't work ! Solution: make sure mod_rewite.so loaded on your httpd.conf and AllowOverride must set to all ! LoadModule rewrite_module modules/mod_rewrite.so Search in /etc/httpd/conf/httpd.conf <Directory /> *********** AllowOverride None *********** </Directory> and change AllowOverride line : <Directory ...
Categories: Bookmarks, Linux, Tech Tags:
GoCache - ByREV-Cache v1.0 - live served in : 0.67226 sec (gzip)