|
||||||||||
|
|
How to open ports in windows server.May 27, 2008 on 5:06 pm | In Windows | No CommentsJust perform the following operations. Start > Control Panel > Windows Firewall > move to Exceptions tab > Add port/ Thats all Isn’t it so easy? Install php 5.2 in UbuntuMay 21, 2008 on 3:36 am | In PHP | No CommentsInstalling PHP 5.2 Adding the Dotdeb repository We’re going to add the Dotdeb repository, which will provide the latest versions of PHP for Debian. We need to modify the sources.list file by running the following command vi /etc/apt/sources.list Once you have sources.list file open, add the two following lines deb http://packages.dotdeb.org stable all Now let’s update the packet database to add those of Dotdeb. The version of Dotdeb packets being always superior to those of Debian, the Dotdeb versions will be automatically selected during the installation of PHP Installing PHP 5 After having added the Dotdeb repository, we can move on to installing PHP: apt-get install php5-mysql Test PHP by checking the phpinfo page MySql >= 4.1 Client does not support authentication protocol…May 17, 2008 on 5:13 am | In Mysql | No CommentsIf you upgrade your MySql server to >= 4.1 you might get the following error:
This happens because the latest versions of MySql uses a new format for the password (it’s a longer hash). In order for old clients to continue to use the newer server, you have to set the passwords on the server to their old format or upgrade your client. Because upgrading the client can sometimes be a pain, it’s often easier to just update the passwords to the old format on the server. Run mysql and login as root: Then, paste the following command, editing as necessary, to change the password of the user to the old format. UPDATE mysql.user After you have set the passwords to the old format, flush the tables. flush privileges; Then exit the mysql client with “quit” and you are set. For windows. In my.ini file in the mySQL directory (C:\Program Files\MySQL\MySQL Server 4.1\my.ini), old_passwords top: error while loading shared libraries: libncurses.so.4: cannot open shared object file: Error 40May 14, 2008 on 3:44 am | In Centos, Linux | 1 CommentThis error is received when top command is executed. top Fix. locate libncurses.so.5 lib/libncurses.so.5 create symblinks the location may be different. Just create symblink from libncurses.so.4 to libncurses.so.5 load the configuration Uninstall APFMay 14, 2008 on 2:11 am | In APF | No Commentsrm -rf /etc/apf change site’s IP address in PleskMay 9, 2008 on 3:25 am | In Plesk | No CommentsIn order to change the IP. Plesk > click Domain.com > setup > IP address dropdown box. However, if you have only one IP, dropdown will not be shown. If you are the admin and you see only one IP and no drop down under IP in setup. Let me explain it more clearly. eg: client >>> john is having domains>> abc.com , xyz.com If you need to change the IP of abc.com clients > John > abc.com > setup > IP Here is you see only one IP, then that means only one IP is in the pool of John. so first add the required IP in the pool of John clients > John > IP pool > Add new IP address. Now this added IP will in the dropdown at clients > John > abc.com > setup > IP Mysql History Commands typedMay 7, 2008 on 9:35 am | In Mysql | No CommentsCheck your Mysql history file ====================== If you don’t find the file under /root, find out the file using ====================== VPS CommandsMay 6, 2008 on 2:50 pm | In OpenVZ | No Comments1) vzlist -a : Shows list of all the VPS’s hosted on the Node. ==================== ==================== 2) vzctl start ID: To start the VPS. ==================== 3) vzctl stop ID : To stop (Shut Down) the VPS ==================== 4) vzctl status ID : To view the status of the particular VPS [root@virtuozzo06 ~]# vzctl status 111 5) vzctl stop ID –fast : to stop the VPS quickly and forcefully [root@virtuozzo06 ~]# vzctl status 111 ==================== 6) vzctl enter VPS_ID : To enter in a particular VPS Configuration Commands 1) vzctl set ID –hostname vps.domain.com –save : To set the Hostname of a VPS. About Partition ImageMay 1, 2008 on 8:36 am | In Linux | No CommentsPartition Image is a Linux/UNIX utility which saves partitions in the EXT2, Reiserfs, NTFS, HPFS, FAT16, and FAT32 file system formats to an image file. The image file can be compressed with gzip or bzip2 in order to save disk space, and it can be split in order to fit onto a series of floppy disks. This program is mainly used for backup purposes. A boot disk is also provided, allowing you to run Partition Image without Linux installed on the hard disk. More About Partition Image : http://www.partimage.org/Main_Page Manual of Partition image : http://www.partimage.org/Partimage-manual_Usage |
![]() Powered and designed by Presoon.com. |