Webmin installation on openfiler Rumi, June 6, 2014 Download the latest Webmin RPM to openfiler from this page: (You want "RPM suitable for Redhat, Fedora, CentOS, SuSE or Mandrake Linux") http://www.webmin.com/download.html Copy the link from the webpage to download the correct RPM file and download it on Openfiler using the following command. If you are downloading a… Continue Reading
Convert disk GPT to MBR for Openfiler troubleshoot Rumi, June 6, 2014 On a Linux console, as root, run (replace /dev/sda with the identifier of your hard drive): parted /dev/sda parted> mklabel msdos parted> quit Continue Reading
Send HTTP requests using cURL Rumi, June 6, 2014 Reading a URL via GET: curl http://example.com/ Defining any HTTP method (like POST or PUT): curl http://example.com/users/1 -XPUT Sending data with a request: curl http://example.com/users -d"first_name=Bruce&last_name=Wayne" If you use -d and do not set an HTTP request method it automatically defaults to POST. Performing basic authentication: curl http://user:password@example.com/users/1 All together… Continue Reading
VBoxHeadless Running Virtual Machines With VirtualBox On A Headless CentOS 6x Server Rumi, June 6, 2014 Preliminary Note I have tested this on a CentOS 6.2 server (host system) with the IP address 192.168.0.100 where I’m logged in as a normal user (user name vbox in this example) instead of as root. If you only have a root account, but no normal user account, create… Continue Reading
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