Arsip untuk Kategori ‘ linux ’

ROOT password pada UBUNTU

Lupa atau hilang password? Sesuatu yang menjengkelkan bukan… apalagi klo yang ilang tadi itu password root dari server kita. Solusinya ? tentu saja reset password !

Pada dasarnya tidak mungkin melakukan reset password, kecuali kita punya akses langsung ke fisik dari si mesin. (ga bisa secara remote). Eh bisa sih… cuman hrs menggunakan exploit atau rootkit atau apapun itu.. tp itu juga tidak secara langsung, butuh effort yang besar dan syarat perlunya adalah sistem operasi atau aplikasi yang berjalan mengandung bug yang memungkinkan akses ke shell.
Metode umum yang bisa digunakan a.l : Read more

FileZilla di ubuntu

bagi yang pengen install FileZilla di ubuntu silahkan ikuti langkah berikut ini :

1. Donlut filezilla terbaru disini

2. Jalankan perintah di terminal:
sudo tar jxvf FileZilla_3.0.1_i586-linux-gnu.tar.bz2 -C /opt/
sudo chown -R root:root /opt/FileZilla3/
sudo chmod -R 755 /opt/FileZilla3/

3. Bikin sortcut di menu
sudo gedit /usr/share/applications/filezilla.desktop
copy paste dibawah ini di file tersebut :
[Desktop Entry]
Encoding=UTF-8
Name=FileZilla
Comment=FTP Client
Exec=/opt/FileZilla3/bin/filezilla
Icon=/opt/FileZilla3/share/pixmaps/filezilla.png
Terminal=false
Type=Application
Categories=Application;Network;
StartupNotify=true

4. Silahkan coba cek pada : Applications → Internet → FileZilla.

How to Use the vi Editor (untuk contekan)

*Copyright 1991 by Simon Fraser University. Reprinted with permission.

Read more

laptop ubuntu + wireless broadcom

akhirnya ketemu juga cara setting wireless broadcom di ubuntu :D (pake ndiswrapper)

buka console kemudian ketik :

Quote:
lspci | grep Broadcom\ Corporation

Apabila chipset wireless broadcom sudah terinstall maka akan muncul tampilan :

Quote:
lspci | grep Broadcom\ Corporation
0000:02:0d.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)

Kalau tidak muncul seperti di atas maka download ndiswrapper dari situs http://ndiswrapper.sourceforge.net/ kemudian install dan jalankan perintah :

Quote:
ndiswrapper -i filenamedriver.inf

Kemudian cek apakah driver wireless sudah dengan baik terinstall dengan menjalankan perintah :

Quote:
ndiswrapper -l

Apabila instalisasi berjalan dengan baik maka akan muncul tampilan :

Quote:
bcmwl5: driver installed
device (14E4:4320) present

Kemudian copy driver wireless card ke desktop dan download file wl_apsta.o dan tempatkan juga di desktop

Setelah itu install bcm43xx-fwcutter dengan menjalankan perintah :

Quote:
sudo apt-get install bcm43xx-fwcutter

Setelah itu, jalankan perintah :

Quote:
sudo bcm43xx-fwcutter -w /lib/firmware ~/Desktop/wl_apsta.osudo bcm43xx-fwcutter -w /lib/firmware/2.6.15-23-386 ~/Desktop/wl_apsta.o

Untuk tulisan “2.6.15-23-386″ dapat anda lihat pada direkori firmware karenasetiap setingan tidak sama. Kalau semua langkah-langkah telah dijalani restart komputer anda dan lihat hasilnya.

selamat mencoba Smile

bagi “pe” lupa password (ubuntu)

mysql : sudo dpkg-reconfigure `dpkg -l | grep mysql-server- | awk ‘{ print $2 }’`
webmin : sudo /usr/share/webmin/changepass.pl /etc/webmin (user) (passwordbaru)

:D :D :D :D

squid.conf (review dong!!)

amd BARTON 3GB
DDR 1GB
hd 10 system ubuntu server
hd 10 /cache1
hd 10 /cache2
hd 10 /cache3
semua hd ata 7200rpm
mohon review dari temen-temen,
kurang apa?
ditambah apa?
biar lebih yahuiii.
keterangan :
port 3128,80,8080 dari klient telah didirect oleh mikrotik-box ke squid-box
adapun isi dari squid.conf adalah sbb :

# oleh masedewe
http_port 3128
icp_port 3328
udp_incoming_address 0.0.0.0
udp_outgoing_address 0.0.0.0
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 12 MB
cache_swap_low 98
cache_swap_high 99
maximum_object_size 128 MB
maximum_object_size_in_memory 32 KB
ipcache_size 2048
ipcache_low 98
ipcache_high 99
cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF
cache_dir aufs /cache1 7000 8 256
cache_dir aufs /cache2 7000 8 256
cache_dir aufs /cache3 7000 8 256
log_fqdn off
log_icp_queries off
cache_log none
cache_store_log none
emulate_httpd_log on
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
quick_abort_min 0
quick_abort_max 0
quick_abort_pct 98
negative_ttl 1 minutes
half_closed_clients off
read_timeout 5 minutes
request_timeout 1 minutes
client_lifetime 360 minutes
shutdown_lifetime 10 seconds
memory_pools off
icp_hit_stale on
query_icmp on
reload_into_ims on
pipeline_prefetch on
vary_ignore_expire on
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl lan src 0.0.0.0/0.0.0.0
acl to_localhost dst 127.0.0.0/8
acl PURGE method PURGE
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
acl buggy_server url_regex ^http://www.hmmmm.cez
broken_posts allow buggy_server
http_access allow manager lan
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow PURGE localhost
http_access deny PURGE
http_access allow localhost
http_access allow lan
http_access deny all
http_reply_access allow all
icp_access allow lan
icp_access deny all
miss_access allow all
cache_mgr NESOL.NGAWI
cache_effective_user netsol
cache_effective_group netsol
visible_hostname proxy1.netsol.ngawi
unique_hostname proxy2.netsol.ngawi
logfile_rotate 1
forwarded_for off
log_icp_queries off
buffered_logs on
client_db off
strip_query_terms off
icon_directory /usr/share/squid/icons
error_directory /usr/share/squid/errors/English
wccp_router 0.0.0.0
offline_mode off
coredump_dir /var/spool/squid

bikin VirtualHost (ubuntu)

domain peratama http://www.xxxxxxxx.com, domain kedua http://www.yyyyyyyy.com
syaratnya paket webserver telah berjalan dengan baik di ubuntu

pertama edit file : /etc/apache2/http.conf : (diisi dengan)
<VirtualHost *>
ServerAdmin webmaster@xxxxxxxx.com
ServerName xxxxxxxx.com
DocumentRoot /home/xxxxxxxx
CustomLog /hom/xxxxxxxx/log/xxxxxxxx.com.log combined
</VirtualHost>

<VirtualHost *>
ServerAdmin webmaster@yyyyyyyy.com
ServerName yyyyyyyy.com
DocumentRoot /home/yyyyyyyy
CustomLog /home/yyyyyyyy.com/log/yyyyyyyy.com.log combined
</VirtualHost>

Penjelasan:
<VirtualHost *> <<–Awal dari virtual host :D
ServerAdmin webmaster@yyyyyyyy.com <<– Nama admin domain
ServerName yyyyyyyy.com <<– Nama domain yang akan masuk ke server kita
DocumentRoot /home/yyyyyyyy <– File domain yyyyyyyy.com :D
CustomLog /home/yyyyyyyy.com/log/yyyyyyyy.com.log combined <<– Dimana File Log website diletakan
</VirtualHost> <<– Penutup VirtualHost

# untuk file log, buatlah file kosong dulu, caranya :
~# touch /home/yyyyyyyy/log/yyyyyyyy.com.log

Berikutnya yang harus anda lakukan adalah restart apache:
~ #/etc/init.d/apache2 restart

jadi deh…. :D

perintah apt dan dpkg (ubuntu)

Install aplikasi
# apt-get install nama-aplikasi

Update daftar paket yang terdapat di sources.list
# apt-get update

Read more

fuse (network di xubuntu)

Karena Thunar tidak mengakomodasi nework browsing maka perlu adanya tambahan aplikasi. Berikut langkah-langkah yang saya terapkan.
1) Applications -> System -> Shared Folders. (silahkan di modifikasi pada item ini)

2) Install fusesmb

3) edit pada /etc/modules masukan kata “fuse” (tanpa petik), lalu simpan

4) Reboot xubuntu

5) Applications -> System -> Users and Group pada Properties nama pengguna pada tap User Priveleges centang “Allow use of fuse file systems…”

6) buat folder, tempat memount network…., kalo saya memakai /media/network. Change permissions to read / write for group and others (777).
*** 6.a) In a terminal, type: sudo chown <username>:fuse /media/network
(Where <username> is your user account logon name)
*** 6.b) Double check that the permission to use fuse took. Applications -> System -> Users and Groups… Manage Groups… find fuse and choose properties. Make sure your user name account is in that group and check-marked.
*** 6.c) Reboot the system and triple check with step 6.6

7) In XFCE Applications -> Settings -> Autostarted Applications… Add an application… name and describe as you wish… for command line, put: fusesmb /media/network (Or whatever mountoint you created).
Open Thunar, and navigate to the parent folder of your mountpoint… then drag the ‘mounpoint folder’ to the places (shortcut) pane of thunar.

8) Logout and log back in (So the user privilege and fusesmb autostart will take affect)
*** Added steps to help prevent some access denied issues some people have been experiencing with fusesmb.

beda LINUX dan UNIX

Dari awal saya berkali-kali menulis Unix/Linux. Memangnya Unix dan Linux itu berbeda ya? Ya. Keduanya berbeda, tapi punya hubungan yang erat. Kita lihat sejenak sejarah kedua sistem operasi ini.
Unix sebetulnya telah ada sejak lebih dari 3 dasawarsa lalu—baru-baru ini Unix saja merayakan ulang tahunnya yang ke-30. Ini berarti jauh sebelum Apple atau Macintosh atau Windows lahir, yang berarti jauh sebelum Bill Gates kaya raya seperti saat ini. Read more

Ikuti

Get every new post delivered to your Inbox.