Monday, 30 September 2013

Java Installing. Ring ding ding what the fox said ?

echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" | tee -a /etc/apt/sources.list
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" | tee -a /etc/apt/sources.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
apt-get update
apt-get install oracle-java7-installer

username is not in the sudoers file. This incident will be reported solved

1.go to  Terminal (Application>Accessoories>Terminal)
  • username@debian: ~$ su //
  • enter Password //
  • output : root@debian:/home/username#
2. Try enter sudo bash
  • username@debian:~$ sudo bash //
  • Enter Password
  • If this pop up "username is not in the sudoers file. This incident will be reported." //
  • So you can solve it with //
3. Mayb many way to fix this problem from any source but.. try this *nih //
  • username@debian:~$ su //
  • enter Password
  • on the 'root@debian:/home/username#' enter echo 'username ALL=(ALL) ALL' >> /etc/sudoers
4. after that check back 'sudo bash' //
5. if work. its will become like this.. " root@debian:/home/username# " //

Thanks for my master Mr.DrebarBas

Monday, 23 September 2013

Flash Player Installation ( solved on post username is not in the sudoers file. This incident will be reported. )

naa.. adobe is suck sometime.. so stuck on this. hope someone will assist me.. google or human? i dont care. try to learning this thing,





root@debian:~# cd Downloads/
-su: cd: Downloads/: No such file or directory
root@debian:~# ??
-su: ??: command not found
root@debian:~# exit
logout
pamiey@debian:~$ cd Downloads/
pamiey@debian:~/Downloads$ ls -ltotal 134684
-rw-r--r-- 1 pamiey pamiey  6923724 Sep 24 09:34 install_flash_player_11_linux.i386.tar.gz
pamiey@debian:~/Downloads$ tar xvf install_flash_player_11_linux.i386.tar.gz
libflashplayer.so
readme.txt
usr/
usr/bin/
usr/bin/flash-player-properties
usr/share/
usr/share/kde4/
usr/share/kde4/services/
usr/share/kde4/services/kcm_adobe_flash_player.desktop
usr/share/applications/
usr/share/applications/flash-player-properties.desktop
usr/share/icons/
usr/share/icons/hicolor/
usr/share/icons/hicolor/22x22/
usr/share/icons/hicolor/22x22/apps/
usr/share/icons/hicolor/22x22/apps/flash-player-properties.png
usr/share/icons/hicolor/48x48/
usr/share/icons/hicolor/48x48/apps/
usr/share/icons/hicolor/48x48/apps/flash-player-properties.png
usr/share/icons/hicolor/24x24/
usr/share/icons/hicolor/24x24/apps/
usr/share/icons/hicolor/24x24/apps/flash-player-properties.png
usr/share/icons/hicolor/32x32/
usr/share/icons/hicolor/32x32/apps/
usr/share/icons/hicolor/32x32/apps/flash-player-properties.png
usr/share/icons/hicolor/16x16/
usr/share/icons/hicolor/16x16/apps/
usr/share/icons/hicolor/16x16/apps/flash-player-properties.png
usr/share/pixmaps/
usr/share/pixmaps/flash-player-properties.png
usr/lib/
usr/lib/kde4/
usr/lib/kde4/kcm_adobe_flash_player.so
pamiey@debian:~/Downloads$ ls -l
total 151708
-rw-r--r-- 1 pamiey pamiey   742756 Sep 24 07:40 136162-Crunchy-themes.tar.gz
-rw-r--r-- 1 pamiey pamiey    91440 Sep 17 06:12 borang-permohonan-rumah-kerajaan.pdf
-rw-r--r-- 1 pamiey pamiey 28300360 Sep 17 19:05 crossover-pro_8.0.0-1_i386.deb
-rw-r--r-- 1 pamiey pamiey    18153 Sep 24 06:56 debianblog.jpeg
-rw-r--r-- 1 pamiey pamiey 26046302 Sep 17 07:54 firefox-23.0.1.tar.bz2
-rw-r--r-- 1 pamiey pamiey  6903098 Sep 24 07:29 flash-plugin-11.2.202.310-release.i386.rpm
-rw-r--r-- 1 pamiey pamiey   283360 Sep 18 07:40 gnome-shell_3.4.2-7_i386.deb
-rw-r--r-- 1 pamiey pamiey  6923724 Sep 24 09:34 install_flash_player_11_linux.i386.tar.gz
-rw-r--r-- 1 pamiey pamiey 17422820 Aug 21 00:09 libflashplayer.so
-rw-r--r-- 1 pamiey pamiey   869848 Sep 17 19:27 msgr11us.exe
-rw-r--r-- 1 pamiey pamiey 16036826 Sep 17 18:42 pal_install104b530.exe
-rw-r--r-- 1 pamiey pamiey 15368666 Sep 18 07:55 pal_install_beta_r84011.exe
-rw-r--r-- 1 pamiey pamiey 16619484 Sep 17 20:01 pal_install_r109860_a3000.exe
-rw------- 1 pamiey pamiey  2920748 Sep 17 19:57 pal_install_r109860_a3000.exe.part
-rw-r--r-- 1 pamiey pamiey 16619490 Sep 16 22:22 pal_install_u36859937_a729_r1100_p128.exe
-rw-r--r-- 1 pamiey pamiey     4009 Aug 21 00:09 readme.txt
-rw-r--r-- 1 pamiey pamiey   119034 Sep 16 21:50 url.jpeg
drwxr-xr-x 5 pamiey pamiey     4096 Aug 21 00:09 usr
pamiey@debian:~/Downloads$ sudo cp libflashplayer.so /usr/lib/mozilla/plugins/
[sudo] password for pamiey:
pamiey is not in the sudoers file.  This incident will be reported.
pamiey@debian:~/Downloads$ sudo cp libflashplayer.so /usr/lib/mozilla/plugins/
[sudo] password for pamiey:
pamiey is not in the sudoers file.  This incident will be reported.
pamiey@debian:~/Downloads$ sudo cp libflashplayer.so /usr/lib/mozilla/plugins/
[sudo] password for pamiey:
Sorry, try again.
[sudo] password for pamiey:
pamiey is not in the sudoers file.  This incident will be reported.
pamiey@debian:~/Downloads$

Debian Basic Commands

Linux cpu/hardware information

Use any one of the following command:
# less /proc/cpuinfo
OR
# lscpu

Linux show free and used memory in the system

Use any one of the following command:
# cat /proc/meminfo
OR
# free
# free -m
# free -mt
# free -gt

Linux find out the current running kernel version

Type the following command:
# cat /proc/version
Sample outputs:
Linux version 3.2.0-43-generic (buildd@batsu) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #68-Ubuntu SMP Wed May 15 03:33:33 UTC 2013
OR use
# uname -mrs
# uname -a

Find out information about the Linux distribution and version

# lsb_release -a
Sample outputs:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Codename: precise
OR use the following command:
$ cat /etc/*release*
Sample outputs:
Red Hat Enterprise Linux Server release 6.4 (Santiago)

List all PCI devices

# lspci

List all USB devices

# lsusb

List all block devices (hard disks, cdrom, and others)

# lsblk

Dump all hardware information

Type the following command to see your motherboard, cpu, vendor, serial-numbers, RAM, disks, and other information directly from the system BIOS:
# dmidecode | less