Skip to main content

Posts

Unable to start armitage in Kali Linux

If you are getting error message like " could not connect to database ", when you run armitage. Please make sure that postgresql service is running and also if you encounter " database.yml " error then make sure metasploit service is running. Simple tips is the start following services and then run armitage. 1. service postgresql start 2. service metasploit start

Zimbra Open Source Certificate Renew

If you encounter error on Zimbra Open Source certificate expiry, then just run the following lines: 1. Switch to Zimbra user su - zimbra 2. Stop all the Zimbra services zmcontrol stop 3. Get out from zimbra user. exit 4. Begin by generating a new Certificate Authority (CA). /opt/zimbra/bin/zmcertmgr createca -new  5. Then generate a certificate signed by the CA that expires in 365 days. /opt/zimbra/bin/zmcertmgr createcrt -new -days 365 6. Next deploy the certificate. /opt/zimbra/bin/zmcertmgr deploycrt self 7. Next deploy the CA. /opt/zimbra/bin/zmcertmgr deployca 8. To finish, verify the certificate was deployed to all the services. /opt/zimbra/bin/zmcertmgr viewdeployedcrt 9. Switch back to zimbra user su - zimbra 10. Start all Zimbra services zmcontrol start

Add repository on Kali Linux

On the terminal type vim /etc/apt/sources.list Visit the following Official Kali link  http://docs.kali.org/general-use/kali-linux-sources-list-repositories  and then Save the file. Then run apt-get update and followed by apt-get upgrade  and apt-get dist-upgrade

Install Google Chrome in Linux

Create a new Google Chrome repository file in /etc/yum.repos.d/google.repo. And Add following: [Google-Chrome] name=Google-Chrome - 32bit baseurl=http://dl.google.com/linux/chrome/rpm/stable/i386 enabled=1 gpgcheck=1 gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub For 64bits just change i386 to x86_64 Now use yum to install Stable version of Google Chrome browser. You can use this tutorial for CentOS/RedHat/Fedora/Fuduntu and any distribution related RedHat yum install google-chrome-stable

Set Date and Time on Linux

Check if your date and time are set correctly under your linux box. #date Fri Mar 8 13:40:44 BTT 2013 Set Date : 1. date +%Y%m%d -s "20130308" Set Time : 1. date +%T%p -s "01:12:30PM" Check the Hardware Clock 1. hwclock --show Sync the system date and time with hardware date and time 1. hwclock --systohc

Install MyUnity

MyUnity is also a must have app under Ubuntu. The app is used to customize recent used apps, display transparency, theme and so on. To install MyUnity just type the following command on your terminal. sudo apt-get install myunity

Install Ubuntu Tweak using apt-get

Try if you can install Ubuntu Tweak app without having to add any new repository. Ubuntu Tweak is a must have app under Ubuntu, it is used to tweak some settings under ubuntu. sudo apt-get install ubuntu-tweak If you are not able to install then, follow the step: 1. sudo add-apt-repository ppa:tualatrix/ppa 2. sudo apt-get update 3. sudo apt-get install ubuntu-tweak