Alexandros Theofilou

IT Business Consultant
  • Home
  • About
  • Portfolio
  • Services
  • Blog
  • Contacts
Home
Blog

How to create a swap file in linux using dd

Posted on October 23, 2015 by govath
Swap file creation As root use dd to create a swap file the size of your choosing (M = Megabytes, G = Gigabytes). For example, creating a 512 MB swap file: # dd if=/dev/zero of=/swapfile bs=1M count=512 Set the right permissions # chmod 600 /swapfile After creating the correctly sized file, format it to swap:
Read More
Posted in Linux

VMware ESXi convert Thick to Thin Provisioned Drives

Posted on September 18, 2014 by govath
Before converting the VMDK file power off the VM and remove from inventory. ssh to the esx server that you store the VM server that needs conversion Go to /vmfs/volumes/YourStore/YourVMlocation and run the below command to convert the HDD vmkfstools -i ThickHDD.vmdk ThinHDD.vmdk -d ‘thin’ -a lsilogic When is done add the VM again on
Read More
Posted in Linux

Ubuntu Web Control Panel – Ajenti

Posted on July 29, 2014 by govath
Login to your server as root and run the below commands aptitude update Add the Key and Ajenti Repository wget http://repo.ajenti.org/debian/key -O- | apt-key add – echo “deb http://repo.ajenti.org/ng/debian main main ubuntu” >> /etc/apt/sources.list Install Ajenti via apt-get or aptitude aptitude update aptitude install ajenti -y Restart The Ajenti service by running the below command
Read More
Posted in Linux

Install webmin on ubuntu

Posted on July 22, 2014 by govath
Login to your server as root. sudo vim /etc/apt/sources.list and at the bottom of the file add the bellow line: deb http://download.webmin.com/download/repository sarge contrib Save the file and run the below command to install the security key: wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add – Update the sources by typing apt-get update or aptitude
Read More
Posted in Linux

Mailx configuration

Posted on February 12, 2014 by govath
Using Centos # yum install mailx Go to # vi /etc/mail.rc Add the 2 lines below set smtp=your.mail.server.com set from=your@email.sender.com Using Ubuntu # apt-get install mailx Go to # vi /etc/mail.rc Add the 2 lines below set smtp=your.mail.server.com set from=your@email.sender.com  
Read More
Posted in Linux

Pages:

1 2 3 … 20 ยป

Categories

  • Linux
  • Linux News
  • Facebook
  • LinkedIn
  • Google+
Alexandros Theofilou © 2019.   Privacy Policy