Yum Cache Clear command Rumi, June 6, 2014 When a package is downloaded, installed and is removed there is a chance that the package may still be saved/stored in the yum’s cache. So to clean all the cached packages from the enabled repository cache directory, login as root and execute the following: yum clean packages To purge the… Continue Reading
Change Windows RDP default listening port 3389 Rumi, June 6, 2014 Start Registry Editor. Locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber On the Edit menu, click Modify, and then click Decimal. Type the new port number, and then click OK. Quit Registry Editor. Restart the computer. Note When you try to connect to this computer by using the Remote… Continue Reading
Set date/time permanently on Virtualbox Guest Rumi, June 6, 2014October 5, 2019 First you need to ssh to the server and be root and then do these step by step: 1. Set the date/time as following format date -s “2 OCT 2013 18:00:00″ 2. Set the proper Timezone for your area- # cd /etc # ln -sf /usr/share/zoneinfo/EST localtime 3. Set it… Continue Reading
LAMP on CentOS Rumi, June 6, 2014September 8, 2016 Installing MySQL 5 To install MySQL, we do this: yum -y install mysql mysql-server Then we create the system startup links for MySQL (so that MySQL starts automatically whenever the system boots) and start the MySQL server: chkconfig –levels 235 mysqld on /etc/init.d/mysqld start Set passwords for the MySQL root… Continue Reading
Fix Date Time on PVE OpenVZ Guest machine Rumi, June 6, 2014 Stop VE vzctl stop 101 in HD node, run: vzctl set 101 –capability sys_time:on –save Start VE: vzctl start 101 Enter VE: vzctl enter 101 mv /etc/localtime /etc/localtime.old ln -s /usr/share/zoneinfo/Asia/Dhaka /etc/localtime date 092115442006 (09 = Month, 21 = day, 15 = hour, 44=minutes, 2006 = year) Run date to… Continue Reading
Update PHP 5.4 on Debian 6 Squeeze Rumi, June 6, 2014 Set up Dotdeb First add Dotdeb to your Apt sources: sudo vim /etc/apt/sources.list /etc/apt/sources.list deb http://packages.dotdeb.org squeeze all deb-src http://packages.dotdeb.org squeeze all deb http://packages.dotdeb.org squeeze-php54 all deb-src http://packages.dotdeb.org squeeze-php54 all Save & Exit. Now go for the next- Continue Reading
Reinstall Openssh server on Debian 6/7 Rumi, June 6, 2014 Linux: Debian / Ubuntu Linux Remove SSHD Server Type the following commands: # apt-get –purge remove openssh-server Now reinstall the openssh again using- # apt-get install openssh-server Voila Src: http://www.cyberciti.biz/faq/howto-unix-linux-remove-delete-opensshd-server/ Continue Reading
Install Phalcon framework in Debain 6/7 Rumi, June 6, 2014 This repo can be used additionally to the squeeze-php54 repo of dotdeb.org. Add the following into /etc/apt/sources.list deb http://debrepo.frbit.com/ frbit-squeeze main Add the key, update apt and install packages wget -O – http://debrepo.frbit.com/frbit.gpg | sudo apt-key add – aptitude update aptitude install php5-igbinary php5-mongo php5-oauth php5-phalcon php5-runkit php5-stats php5-stomp php5-yaf… Continue Reading
২৫ এর পর যা সত্যি Rumi, June 6, 2014 বয়স কি পঁচিশ পেরিয়েছে? যদি আপনার বয়স পচিশ পার হয়ে গিয়ে থাকে তাহলে ইতিমধ্যেই আপনি জেনে গিয়েছেন অনেকগুলো সত্য। যেই বিষয়গুলো আগে অর্থহীন মনে হতো অথবা তেমন একটা গুরুত্ব দিতেন না সেগুলোই হয়তো এখন অনেক বেশি গুরুত্বপূর্ণ আপনার কাছে। আবার যেগুলোকে জীবনের সবচাইতে জরুরি মনে হত এমন অনেক কিছুই হয়তো… Continue Reading
Reset root password in Centos/Redhat/SL linux Rumi, June 6, 2014 1. Boot the system and when you see the following message “Press any key to enter the menu”, press any key. (You will see the list of available kernel versions.) 2. Press e in order to edit commands before booting. 3. Highlight the list item with vmlinuz in it by… Continue Reading