Monday, December 30, 2019
memfungsikan alt tab di gnome session fallback di ubuntu 12.04
sudo apt-get install gnome-shell
sudo apt-get install gnome-session-fallback
Install first CCSM with this command from the terminal:
sudo apt-get install compizconfig-settings-manager compiz-plugins
Start now CCSM with this command:
ccsm
In the left pane of the window, click Window Management, then in the right side of the window, check on "Application Switcher":
You have now enabled the ALT-TAB behavior!
A bug has been reported to Launchpad on this issue. Until it's resolved, install Compiz Config Settings Manager, then use the "Scale" settings there to set ALT-TAB as you want it. Works nicely, actually.
Menghapus aplikasi ubuntu secara paksa
dpkg --remove --force-remove-reinstreq
cara copy disk di ubuntu
lshw -C diskUntuk lihat partisi harddisk:
fdisk -lcopy dari /dev/sda ke /dev/sdb
dd if=/dev/sda of=/dev/sdb bs=64K conv=noerror,syncOpsi bs adalah block untuk copy.
cara alternatif yang dibilang lebih cepat:
cat /dev/sda >/dev/sdbukuran block agar copy bisa cepat:
dd if=/dev/sda of=/dev/sdb bs=1024k
Thursday, December 12, 2019
Mematikan UAC agar bisa menulis di root drive c di windows 7 / 10
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System
buat key tipe dword:EnableLUA
isi dengan nilai 0Untuk mematikan prompt konfirmasi, buat variabel berikut:
ConsentPromptBehaviorAdmin
Isi dengan nilai 0
Thursday, October 31, 2019
Cara install driver baru untuk printer HP di Ubuntu
https://developers.hp.com/hp-linux-imaging-and-printing/gethplip
Ada cara otomatis dan cara manual. Cara otomatis misalnya dengan:
sh hplip-3.19.10.run
Bila ada software yang kurang, maka lakukan berikut ini:
apt-get install dbus xsane build-essential libcups2-dev python-imaging python-qt4 python-qt4-dbus python-dbus python-gobject python-dev python-notify python python-reportlab libusb-dev libcupsimage2-dev libjpeg62-dev libsnmp-dev libsane libsane-dev sane-utils xsane libtool policykit-1 policykit-1-gnome libcups2 cups libcups2-dev cups-bsd cups-client libcupsimage2-dev libdbus-1-dev libusb-1.0-0-dev
Yang paling penting adalah build-essential .
untuk mengetahui yang kurang bisa dengan melakukan berikut ini di direktori instalasi program:
./configure
Perintah tersebut akan mengecek versi dan ketersediaan dependency program.
Monday, September 23, 2019
Tuesday, September 17, 2019
Cara setel waktu di Ubuntu secara manual agar sama dengan waktu server lain
date
Yang berikut dilakukan dengan user root atau tambahkan sudo di depan perintah bila sedang login user lain di terminal.
Untuk melihat waktu server lain:
net time -S namaserver
untuk mengeset:
net time set -S namaserver
Sunday, September 8, 2019
Cara install multimedia sehingga ubuntu bisa untuk buka file video
Lalu jalankan:
sudo apt-get install ubuntu-restricted-extras
Wednesday, August 28, 2019
Mengakses printer windows XP dari ubuntu
http://yourcomputersIPaddressorwinshostname:631/printers/yourprinters-exact-name
Bila dari ubuntu, untuk cek printer:
smbclient -L rice -N
atau
smbclient -I 192.168.1.25 -L rice -N
cek SMB:ls -l /usr/lib/cups/backend/smb
Bila tidak adaln -s `which smbspool` /usr/lib/cups/backend/smb
tambah manual printer:lpadmin -p RicePrinter -v smb://rice/INKJET -P /root/inkjet.ppd
enable RicePrinter
accept RicePrinter
lpadmin -d RicePrinter
lpadmin -p RicePrinter -h 192.168.1.25 -i smb://rice/inkjet-P /root/inkjet.ppd
tes printer:
/usr/bin/smbclient -L {Server_IP} -U {ad.domain.name.com}/{domain_username}
- On system settings -> printer -> properties, set the authentication details as follows:
Username youruser@domain.com Password yourpass VERIFY
- Print test page
setelan lain:
1) sudo vim /etc/samba/smb.conf
search for 'workgroup' and set the value to be whatever your workgroup/windows domain is.
2) sudo vim /etc/cups/printers.conf
search for DeviceURI
Update the string to contain your domain, username and password e.g.
DeviceURI smb://MYDOMAIN\MyUsername:MyPassword@printerhost/printername
3) sudo service cups restart
4) Print a test page
nama domain harus uppercase:
In my case the domain name points to a netbios print server and as: 1) netbios names are (almost) always uppercase and 2) we (in UNIX/Linux) assume case sensitively then it should be in UPPERCASE
mb:// usernameassword@192.168.2.82/HPLaserJ atau
Friday, August 9, 2019
Solusi masalah sharing windows dengan mounting di ubuntu
/dev/sda3 /foo/bar/baz ext4 noexec,noatime,auto,owner,nodev,nosuid,user 0 1
MountWindowsSharesPermanently
Mounting unprotected (guest) network folders
- guest indicates you don't need a password to access the share,
- uid=1000 makes the Linux user specified by the id the owner of the mounted share, allowing them to rename files,
- iocharset=utf8 allows access to files with names in non-English languages. This doesn't work with shares of devices like the Buffalo Tera Station, or Windows machines that export their shares using ISO8895-15.
- If there is any space in the server path, you need to replace it by \040, for example //servername/My\040Documents
Mount password protected network folders
//servername/sharename /media/windowsshare cifs username=msusername,password=mspassword,iocharset=utf8,sec=ntlm 0 0
gedit ~/.smbcredentials
username=msusername password=mspassword
chmod 600 ~/.smbcredentials
//servername/sharename /media/windowsshare cifs credentials=/home/ubuntuusername/.smbcredentials,iocharset=utf8,sec=ntlm 0 0
Special permissions
//servername/sharename /media/windowsshare cifs uid=ubuntuuser,credentials=/home/ubuntuuser/.smbcredentials,iocharset=ut
Unprotected network folder won't automount
//servername/sharename /media/windowsshare smbfs username=guest,password=,uid=1000,iocharset=utf8,codepage=unicode,unicode 0 0
Slow shutdown due to a CIFS/Network Manager bug
If you use Network Manager, and are getting really slow shutdowns, it's probably because NM shuts down before unmounting the network shares. That will cause CIFS to hang and wait for 60 seconds or so. Here's how to fix it:/etc/rc0.d/S31umountnfs.sh
sudo ln -s /etc/init.d/umountnfs.sh /etc/rc0.d/K14umountnfs.sh
sudo ln -s /etc/init.d/umountnfs.sh /etc/rc6.d/K14umountnfs.sh
uid=<user>,gid=<group>
and replace <user>
and <group>
respectively by your own user and default group, which you can find automatically with the id
command.sudo mount -t cifs -o username=${USER},password=${PASSWORD},uid=$(id -u),gid=$(id -g) //server-address/folder /mount/path/on/ubuntu
forceuid
and forcegid
options.sudo mount -t cifs -o username=${USER},password=${PASSWORD},uid=$(id -u),gid=$(id -g),forceuid,forcegid, //server-address/folder /mount/path/on/ubuntu
Thursday, July 4, 2019
Menghilangkan opsi launch start up repair di Windows 7
bcdedit /set {default} recoveryenabled No
bcdedit /set {default} bootstatuspolicy IgnoreAllFailures
Monday, May 27, 2019
Cara install font TTF punya windows di ubuntu
sudo apt-get install msttcorefontsSetelah itu jalankan perintah:
sudo fc-cache -f -vBila ingin copy manual, copy file ttf ke
/usr/local/share/fontsAtau bisa dicopy ke sub direktori di home dengan nama ./fonts
Untuk lihat font yang terinstall bisa menggunakan
apt-get install fontconfig
fc-list | grep "<name-of-font>"
Thursday, March 21, 2019
Mengatasi tombol shutdown hilang di ubuntu 12.04 dengan gnome-fallback
dconf reset -f /org/gnome/gnome-panel/
killall gnome-panel
gconftool-2 --recursive-unset /apps/panel
mkdir ~/gnomepanelbackup ; mv ~/.gconf/apps/panel ~/gnomepanelbackup
cp -r /tmp/backup/.gconf/apps/gnome-terminal/ ~/.gconf/apps/
killall gconfd-2
Monday, February 25, 2019
Mengatasi tab "wireless network" hilang dari wifi Windows XP
pastikan driver tersedia, jaga jaga akan ditanyakan driver.
Sunday, February 24, 2019
Cara booting safe mode di Windows 10 dengan restart
Sebagai alternatif booting bisa dilakukan lewat restart juga. Caranya adalah menekan tombol shift pada saat menekan pilihan restart di ikon power di kiri bawah layar.
Setelah ditunggu beberapa lama akan muncul layar recovery. Pilih menu trouble shooting.Lalu pilih menu advanced option. selanjutnya muncul layar lagi. Pilih "start up settings". Bila tidak kelihatan, tekan link more setting di bawah.
Di layar ini akan muncul tombol restart. Setelah ditekan komputer akan restart dan menampilkan pilihan booting. Pilihan bisa dilakukan dengan menekan tombol keyboard. Misalnya tombol F4 untuk safe mode.
Solusi komputer Ubuntu tidak bisa ping atau akses pakai nama komputer
dari terminal, pindah ke direktori etc:
cd /etc
lalu hapus file resolv.conf (akan ditanya password root)
sudo rm resolv.conbuat file baru resolv.conf dengan isi (silahkan pakai vi atau pico atau nano), rubah yang di dalam tag sesuai keadaan, urutan wajib sama:
nameserver <ip dns server lokal>
domain <nama domain windows / workgroup>
search <nama domain lokal sesuai nama belakang komputer pakai>
Setelah diisi, disimpan. lalu lakukan
sudo chattr +i /etc/resolv.conf
Thursday, February 7, 2019
Solusi The trust relationship between this workstation and the primary domain failed
dengan powershell (run as administrator) di windows 7:
$computer = Get-WmiObject Win32_ComputerSystem
$computer.UnjoinDomainOrWorkGroup("AdminPW", "AdminAccount", 0)
$computer.JoinDomainOrWorkGroup("Domain", "AdminPW", "AdminAccount", $null, 3)
Restart-Computer -Force
dengan powershell di windows 10:
Test-ComputerSecureChannel -Repair -Credential (get-credential)
atau
Reset-ComputerMachinePassword -Server DomainControllerNameHere -Credential (get-credential)Windows XP?
1) I logged into the AD, went into the AD Domains and Trusts area.
2) Found the domain, right clicked and went to manage.
3) Found the machine in question under the "Computers" tab, right clicked, and "Reset Account".
4) Tried logging in the user on the client machine in question.
Upon attempting to login from the client it was successful. The login took about 2 minutes to complete so it must have been reconnecting the "relationship".
-TMinus36
If you can't log in locally try logging in as a domain administrator with the network disconnected (unplug LAN and disable wireless), this will allow the use of cached credentials.
Once your in ..
Reset the local administrator password
log off and on as the local administrator to test it
Disjoin the domain (change to a workgroup member instead)
Restart as prompted
Log in as the local administrator
Rejoin the domain
The resolution
- Login to the Windows 2003 domain controller, and delete the computer account object from the Active Directory by using Microsoft Management Console (MMC) which you can always access from “Manage Your Server”.
- Log-in to the PC workstation as local administrator. If you cannot logon as local administrator, try to unplug the network cable and logon to the computer by using a domain administrator user that used to logon on the PC before, by using cached logon credentials feature.
- Go to Control Panel, then click on System icon, then go to Computer Name tab.
- Unjoin the computer from the domain by clicking on “Change”. You should see that Domain button is now selected. Remember your domain name in the text box. Select (Click) on “Workgroup” to remove the computer from the domain, and put any workgroup name in the text box (e.g. workgroup).
- Click OK to exit.
- Restart the computer (optional)
- Go back to the Control Panel, launch System properties and then go to Computer Name tab, and click on “Change”.
- Rejoin the domain by uncheck the Workgroup button and select (check) Domain button, and put in the domain name noted above into the text box.
- Click OK to exit.
- Reboot the PC.
This should solve the unable to logon to domain error, without changing or losing the user profiles on AD.
Sorry for the late reply, I finally had some time to look at the laptop. Merv's suggestion worked perfectly. To be precise the sticky keys method (replacing sethc.exe with cmd.exe) gave me the elevated command prompt that I needed for the /active:yes command in the net user program. I was able to activate the local administrator account and am currently busy with taking the laptop out of the domain and reapplying it again.
Had the same issue.....Problem fixed using the following simple steps;
1) Logon the problem machine with local administrator account
2) unjoined the machine form the AD domain
3) on the AD server, delete the machine account thumbstone
4) log back on the problem machine with local administrator account
5) join back the AD domain
et voila!......
problem solved....
- Make sure that your DHCP Server has DNS configured pointing to the DNS server
- Rejoin the domain by doing:
- Go to Active Directory and reset the account of the computer having an issue by right-clicking at the computer name (let say workstation1) and choose Reset Account
- Restart the workstation1
- you will not be able to login in the Domain after, and you will receive the following error
Windows cannot connect to the domain, either because the domain controller is down or otherwise unavailable or because your computer account was not found. Please try again later. If this message continues to appear, contact your system administrator for assistance. - Login to workstation1 as a local user
- join workstation1 to Workgroup, then restart the computer
- go to Active Directory and delete workstation1 as a computer name
- while in Active Directory, create a new computer name workstation1
- go back to workstation1 and join the computer to the domain, then restart the computer
- login to workstation1 as a domain user
By that way, you can still have the same profile already in workstation1. There will be no hazzle of backing up the profile (just do to make sure anyway), copy the profile of the old profile to the new profile because of thinking that there will be a new profile created even though you are using the same login username.
Method 2: Rejoin a Computer from a Domain
Method 4: Add domain controller to Credential Manager
netdom resetpwd /s:server /ud:domain\User /pd:*
Method 6: Reset Computer Account
Tuesday, February 5, 2019
Masalah email keluar tersangkut di queue postfix
lihat queue
postqueue -p
lihat error message yang terjadi. dan lakukan penanganan.
hapus queue postfix
postsuper -d
flush queue
postqueue -f
lihat MX record
dig MX famenest.icu
Wednesday, January 30, 2019
Solusi kapersky membuat excel sharing violation saat saving
Untuk mengatasinya, uninstal kaspersky dan install lagi tanpa modul enkripsi.
untuk kaspersky lain, masukkan excel ke "trusted application"
Friday, January 25, 2019
Bila ping menemukan IP salah karena setelan DNS server salah
Jika sudah dilakukan, jalankan perintah untuk hilangkan cache dns:
ipconfig /flushdns
Friday, January 18, 2019
cara mengurangi pemakaian cpu dari microsoft Software Protection Platform Service
Buka regedit
lalu di
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\sppsvc
Cari key osppsvc
Office Software Protection Platform Service (unlocalized description)
dan
sppsvc
pilihan start rubah jadi 0
Thursday, January 10, 2019
Cara mengatasi attachment outlook tidak bisa dibuka
Untuk windows 10
C:\Users\[username]\AppData\Local\Microsoft\Windows\INetCache\Content.Outlook
Folder kadang tidak kelihatan, bila perlu navigasi dari "cmd" dengan menggunakan perintah dir dan cd
domain
. Something like this:sudo mount -t cifs -o username=${USER},password=${PASSWORD},dom=${DOMAIN}, uid=<user>,gid=<group> //server-address/folder /mount/path/on/ubuntu
In fact the domain can go in the "username" option, but remember that you have to use/
instead of`, like
username=DOMAIN/user.name`. – João Portela Dec 19 '14 at 9:17