ข้ามไปที่เนื้อหาหลัก

บทความ

กำลังแสดงโพสต์จาก มีนาคม, 2012

install netbean for ubuntu desktop 10.xx , 11.xx

1. Download netbean ide from http://netbeans.org/ 2. open terminal and install java developmet kit (jdk) by command. sudo apt-get install openjdk-6-jre 3. install virsualvm by command. sudo apt-get install virsualvm* 4. set permission netbean ide to run exec. go to directory a netbean download. cd /home/user/Downloads #user = user for you on linux chmod +x netbeans-x.x.x.sh 5. run script netbean-x.x.x.sh sh netbeans-x.x.x.sh Install GUI step by step.

JDK 6 Debian, Ubuntu, etc.

JDK 6 Debian, Ubuntu, etc. On the command line, type: $ sudo apt-get install openjdk-6-jre The openjdk-6-jre package contains just the Java Runtime Environment. If you want to develop Java programs then install the openjdk-6-jdk package.

show user freeradius from lightsquid from ubuntu

How config to lightsquid from freeradius show user. 1. config lightsquid.cfg file. (nano or vi editor) sudo nano /var/www/lightsquid/lightsquid.cfg - remove # and change number 0 to 1 line 112 $userealname = 1; - save file and close. - run /var/www/lightsquid/lightparser.pl - open web browser and run url http://ipserver/lightsquid you see attribute was add realname. 2. Make file realname.pl by command. - sudo nano /var/www/lightsquid/realname.pl - See blank page and add command is follow. #!/usr/bin/perl use DBI; use Socket; #use file; ($sec_now, $min_now, $hour_now, $date_now, $mon_now, $year_now, $dayno_now) = localtime(); $mon_now++; $year_now += 1900; $todayni= sprintf("%04d-%02d-%02d",$year_now, $mon_now, $date_now); $dsn = "DBI:mysql:database=radius;host=localhost"; $dbh = DBI->connect($dsn,"user","password"); #user is user for mysql, password is password for mysql $sth = $dbh->prepare(...

โพสต์ยอดนิยมจากบล็อกนี้