Wednesday, October 31, 2012

How to install modem smartfren ec176-2 on linux

Posted by at 5:11 AM
Hello, I will share How to install modem smartfren ec176-2 on linux.



How to install modem smartfren ec176-2 on linux:

* You need login as root on terminal*

1. Ekstrac Linux.tar.gz

2. Run "./install" in TERMINAL to install MobilePartner
eg: # bash /<path>/install

3. If you had installed this software in your system before, you will get a prompt: "The software is exist, do you want overwrites? ([Y]/[N])", enter "y" to overwrites or "n" to exit.

4. If you do not had installed this software in your system before, you will get a prompt: "Please input the install path[/usr/local/Mobile_Partner]:". Then you can input install path(fullpath), or you may using the default path(/usr/local/Mobile_Partner) by press ENTER direct

5. Finish installing

How to run modem smartfren ec176-2 on linux:

1. From shortcut in desktop

or

2. Run MobilePartner in your install path
eg: # /<install path>/MobilePartner

* Plug in your device, it will run automatically (Not supported in Xandros)

DOWNLOAD HERE for Source Instalation

Tuesday, October 30, 2012

How to hack moodle

Posted by at 4:13 AM
How to hack moodle? This is the way when I try to attack moodle. Previous, do you know moodle? Moodle is a Course Management System (CMS), also known as a Learning Management System (LMS) or a Virtual Learning Environment (VLE). It is a Free web application that educators can use to create effective online learning sites. (Source).

Ok , in this way we must registered into the system using moodle.

1. We use file upload facility in the system.



2. You can upload backdoor. For example I upload file infophp.php



3. Access yuor backdoor. We can see the location of uploaded files by look link location the file earlier. For example link location infophp.php : http://192.168.1.1/moodle/file.php/4/moddata/assignment/12/69/infophp.php

So you must change address to :http://192.168.1.1/moodle/moodledata/4/moddata/assignment/12/69/infophp.php

Location for access file  : http://192.168.1.1/moodle/moodledata/4/moddata/assignment/12/69/infophp.php

You can access on the browser, for example I access file infophp.php



conclusion: can upload a php file and accessible.

 

Thursday, October 25, 2012

How to make Gedit Auto Complete

Posted by at 9:52 AM


gedit is a text editor for the GNOME desktop environment, Mac OS X and Microsoft Windows. Designed as a general purpose text editor, gedit emphasizes simplicity and ease of use. It includes tools for editing source code and structured text such as markup languages. (WIKIPEDIA)

We can make gedit auto complete , so wes more enjoy then coding. This is step for How to make Gedit Auto Complete :

  1. Download with git on using : $ git clone git://github.com/nagaozen/gedit-plugin-codecompletion.git

  2. Copy codecompletion.gedit-plugin file and codecompletion folder into your plugin gedit directory. Ussualy ~/.gnome2/gedit/plugins/ or /usr/lib/gedit-2/plugins/

  3. Open gedit and click Edit -> Preferences -> Plugins.

  4. Check the Word Completion and Evolved Code Completion and hit Close.

  5. That's it! The plugin should be working.


Ok, you can view demo on this video :





That is step for How to make Gedit Auto Complete.

Source :

http://www.youtube.com/watch?v=67OINBPOOis

http://www.youtube.com/watch?v=KeuJxb-pu84

 

Monday, October 22, 2012

How to install vnc on ubuntu

Posted by at 5:06 AM
This tutorial for install vnc on ubuntu. Use repository. Ok lets to How to install vnc on ubuntu :

  1. sudo apt-get upddate

  2. sudo apt-get install gnome-core

  3. sudo apt-get install vnc4server , this is for installation vnc.

  4. sudo vncserver -kill :1 ,this is for kill service vnc after installation.

  5. Run VNC server , typpe sudo vncserver

  6. When you run vncserver first, you must input password for your machine. Input password for machine. After you input password means the installation is complete.

  7. Test your machine  as server to look client. Type vncviewer

Saturday, October 20, 2012

How to browse via terminal

Posted by at 4:55 AM
We can browse internet via terminal in Linux. Lets go to How to browse via terminal :

Use W3M.

1. Install W3M : sudo apt-get install w3m w3m-img



2. Using w3m on terminal. Example : w3m www.google.com





Use Lynx


1. Install Lynx via terminal : sudo apt-get install lynx


2. Using lynx on terminal. Example : lynx www.google.com

For confirmation you can type Y




Use elinks


1. Install elinks via terminal. sudo apt-get install elinks


2. Using elinks on terminal. Example : elinks www.google.com



Ok that is step How to browse via terminal. Happy browsing..

Friday, October 19, 2012

How to install cacti on ubuntu server

Posted by at 12:55 PM
Cacti is one application open source for network monitoring and create a complete network graph. This is for example :

 

OK, lets go to how to install cacti on ubuntu server. I use ubuntu server 12.04. On my ubuntu server installed web server (apache, mysql, and php). There are two ways to install cacti, first use repository and second use source.

# Use repository

1. Install rddtool : apt-get install rrdtool

2. Install snmp and snmpd : apt-get install snmp snmpd

3. If you use repository type on terminal : sudo apt-get install cacti

4. And than follow instruction on your screen.

#Use source

1. If you use source, you must download on CACTI , ok save on your drive.

2. Install rddtool : apt-get install rrdtool

3. Move on your path directory web service, ussualy on /var/www . Type cd /var/www/

4. Extract file cacti , use tar zxvf /home/lab/cacti-0.8.8a.tar.gz

5. Rename directory extrct : mv cacti-0.8.8a cacti/

6. Move on cacti directory : cd cacti/

7. Change owner file : chown -R www-data:www-data rra/ log/

8. Create database cacti, i use name cacti.

mysql -u root -p

mysql> create user 'cacti'@'%';

mysql> set password for 'cacti'@'%'=old_password('cactipass');

mysql> GRANT ALL ON cacti.* TO cacti@localhost IDENTIFIED BY 'cactipass';

mysql> flush privileges;

mysql> exit;

9. Import database cacti.sql to database cacti : mysql -u root -p cacti < cacti.sql

10. Install snmp and snmpd : apt-get install snmp snmpd

11. Configure file config cacti with name database, username, and password : nano /home/cacti/include/config.php 

$database_type = "mysql";
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "cacti";
$database_password = "cactipass";
$database_port = "3306";
$database_ssl = false;

 

If you finish install use reporitory or source, Access use your browser, http://ip-address/cacti , and follow instruction on web.

 press Next

 press Next

 press Finish

And than login with username and password : admin admin



Change your admin password



Finish, you have Cacti on your Ubuntu Server.



 
©2012 How To For is powered by Blogger - Template designed by Stramaxon - Best SEO Template