Keluar dari virtual environtment di Python

Tulisan ini dibuat karena saya mengalami kesulitan keluar virtual environment milik Python. Ini dikarenakan saya memasang Mediadrop di ubuntu server 11.10, setelah mengikuti step-step yang ditunjukan oleh dokumentasi yang ada, saya kebingungan. loh gimana keluar dari environment ini?

Akhirnya mbah google membantu saya, dah kelihatan lucu juga, sudah menggunakan python tapi tidak tau mengenai hal ini. hehe…

Status user jika menggunakan virtual environment aktif :

(venv)root@ubuntu-server#

Read more

Installation Mediadrop 0.10.3 on Ubuntu Server 11.10 (Deployment)

Today, i am successfully deploy MediaDrop with mod_wsgi behind Apache Server. These step make it work till now. I am on Ubuntu Server 11.10.

1. Install mod_wsgi for apache

sudo apt-get install libapache2-mod-wsgi

then restart apache2 service

 sudo service apache2 restart

To make sure your mod_wsgi is installed and ready. Check log file apache2 in /var/log/apache2/error.log

Read more

Installation Mediadrop 0.10.3 on Ubuntu Server 11.10 (Development)

This is a step by step how i get mediadrop running on my ubuntu server 11.10. This installation guide assumes a basic familiarity with *nix shell commands. Major step in this tutorial took from http://mediadrop.net and http://blog.zixo.sk.

1. Install packages

sudo apt-get install mysql-server mysql-client libmysqlclient-dev python-dev python-doc libjpeg-dev libjpeg62 zlib1g-dev libfreetype6 libfreetype6-dev git

2. Install Setuptools and virtual environment for python

sudo apt-get install python-setuptools python-virtualenv

Read more

Reset Mysql root password in ubuntu server 11.10

Today, i am installing a Mediadrop VMS, while installing Ubuntu Server 11.10, i set password too complicated. So, i want to change the password to something more readable like just a word, no number and other symbols.

So, these step i found on the internet.

1. Stop the MySql Server.

sudo /etc/init.d/mysql stop

Read more