Wednesday, October 30, 2013
Menambahkan Akses Webmin untuk IP Lain
Agar Webmin Bisa di akses Dari IP lain :
- Open Terminal dengan login Root
#/etc/webmin/miniserv.conf
- Restart Service webmin
#/etc/init.d/webmin restart
Tuesday, October 29, 2013
Menjalankan applikasi exe Delphi-SQL Server pada Ubuntu
Menjalankan applikasi exe Delphi-SQL Server pada Ubuntu
$ sudo add-apt-repository ppa:ubuntu-wine/ppa
$ sudo apt-get update
$ sudo apt-get install wine1.7
$ sudo apt-get install winetricks
kemudian agar SQL Server juga bisa berjalan harus di install mdac28 melalui winetricks.
setelah itu letakan file .exe dan ntwdblib.dll di satu folder didalam /home/user/.wine/program file/
Insatall Wine Pada Ubuntu 13.04
Insatall Wine Pada Ubuntu 13.04
$ sudo add-apt-repository ppa:ubuntu-wine/ppa
$ sudo apt-get update
$ sudo apt-get install wine1.7
$ sudo apt-get install winetricks
Monday, October 28, 2013
Menambahkan User dan Group pada Centos
Add User :
# useradd --home /home/kusdi kusdi
change Password :
# passwd kusdi
Changing password for user kusdi.
New password:
Retype new password:
Delete User :
#userdel kusdi
Create Group :
#groupadd jin_system
menambahkan user yang sudah ada kedalam group jin_system :
#usermod -G jin_system kusdi
atau
#usermod -G jin_system,jin kusdi
cara menghapus group :
#groupdel jin_system
ket :
-g Group ID for the group, which must be unique and greater than 499
-r Create a system group with a GID less than 500
-f When used with -g<gid> and <gid> already exists, groupadd will choose another unique <gid> for the group.
Saturday, October 26, 2013
Download Software Untuk Partisi Hardisk
Software Untuk Partisi Hardisk :
1. EaseUS Partition Master
Easeus Partition Master merupakan software partisi hardisk produksi china. EaseUS Partition Master menawarkan beberapa versi yang bsia anda pilih dan anda gunakan sebagai software partisi hardisk. Dengan tampilan yang mirip Partition Magic EaseUS disebut-sebut sebagai alternatif pengganti software partisi hardisk Partition Magic terbaik. Ter dapat beberapa pilihan EaseUS partition master yang bisa anda coba yaitu EaseUS Partition Master Home Edition, EaseUS Partition Master Professional Edition, EaseUS Partition Master Server Edition, EaseUS Partition Master Unlimited Edition, dan EaseUS Partition Master Technician Edition. Untuk yang versi freeware dan gratis digunakan sebagai software partisi hardisk adalah EaseUS Partition Master Home Edition. Anda bisa mendownloadnya di URL berikut ini:
Friday, October 25, 2013
Restart networking service pada Ubuntu
Buka terminal (command line) :
untuk restart networking service
$ sudo /etc/init.d/networking restart
Untuk start networking service, enter:
$ sudo /etc/init.d/networking start
Untuk stop networking service, enter:
$ sudo /etc/init.d/networking stop
untuk restart networking service
$ sudo /etc/init.d/networking restart
Untuk start networking service, enter:
$ sudo /etc/init.d/networking start
Untuk stop networking service, enter:
$ sudo /etc/init.d/networking stop
Cara install Apache Server pada CentOS, RedHat, Linux
Apache HTTP Server merupakan aplikasi open-source HTTP server untuk operating systems medern termasuk UNIX and Windows NT.
untuk informasi lebih banyak tentang Apache HTTP Server, anda dapat mengunjungi websitenya httpd.apache.org.
Cara install Apache Server pada CentOS, RedHat, Linux
Install Apache HTTP Server :
yum install httpd
Configure Apache Server on CentOS, RedHat, Linux :
Set apache service pada saat start on boot
chkconfig --levels 235 httpd on
Restart the Apache HTTP Server daemon
service httpd restart
setelah itu satu hal lagi yang harus kita lakukan yaitu membuka port http (80) agar webserver bisa diakses dari ip lain.
click disini cara membuka port http (80)
dan berikut ini panduan cara membaut virtual host seperti www.example.com
Selamat Mencoba
Thursday, October 24, 2013
Cara Install FTP Server Pada Centos 6
You can install vsftpd on Ubuntu / Debian, CentOS /Fedora and RHEL linux.
Installing vsftpd on Ubuntu or Debian
sudo apt-get install vsftpd
Installing vsftpd on CentOS / Fedora
yum install vsftpd
How to configure vsftpd:
Now that you’ve installed vsftpd, follow this procedure to configure it. These steps applies for both the linux variants.
Before you get started, stop the vsftpd by typing:
service vsftpd stop
Edit the vsftp.conf
In Ubuntu / Debian:
vim /etc/vsftpd.conf
In Red Hat / CentOS
vim /etc/vsftpd/vsftpd.conf
Make the following changes:
We don’t want anonymous login:
anonymous_enable=NO
Enable local users:
Uncomment the “local_enable=YES” line (else you’ll get an error like ’500 OOPS: vsftpd: both local and anonymous access disabled!’)
local_enable=YES
The ftpuser should be able to write data:
Uncomment the “write_enable=YES” line (else you’ll get an error like ’550 Permission denied.’ from your FTP client when you upload a file or create a directory)
write_enable=YES
Port 20 need to turned off, makes vsftpd run less privileged:
connect_from_port_20=NO
Chroot everyone:
Add a “chroot_local_user=YES” line. This will trap your FTP users in their own /home/username directory. Otherwise they will be able to see and update some files outside their home directory.
chroot_local_user=YES
ascii_upload_enable=YES
ascii_download_enable=YES
set umask to 022 to make sure that all the files (644) and folders (755) you upload get the proper permissions.
local_umask=022
Now that basic configuration is complete, now let us begin with locking / securing a directory to user.
#sudo useradd -d /var/www/path/to/your/dir -s /usr/sbin/nologin ftpuser
Setup a password for the user:
#sudo passwd ftpuser
In order to enable the ftpuser read and write the data in your home dir, change the permission and take ownership:
#sudo chown ftpuser -R /var/www/path/to/your/dir
#sudo chmod 775 /var/www/path/to/your/dir
Create userlist file and add the user:
Ubuntu / Debian:
#vim /etc/vsftpd/vsftpd/vsftpd.userlist
CentOS / Fedora :
#vim /etc/vsftpd/vsftpd.userlist
and add the user:
ftpuser
save the file and open the vsftp.conf file again:
#vim /etc/vsftpd/vsftpd.conf
Add the following lines at the end of the file and save it:
# the list of users to give access
userlist_file=/etc/vsftpd/vsftpd.userlist
# this list is on
userlist_enable=YES
# It is not a list of users to deny ftp access
userlist_deny=NO
After completing all these procedures it is almost ready to use it, give it a try but you will get a “500 OOPS permission denied error”. To fix it you need to add a nologin to the shell set.
#vim /etc/shells
The file should look like this:
/bin/ksh
/usr/bin/rc
/usr/bin/tcsh
/bin/tcsh
/usr/bin/esh
/bin/dash
/bin/bash
/bin/rbash
/usr/sbin/nologin
Now create a usergroup and add the ftpuser to it:
#sudo groupadd ftpusers
#sudo usermod -G ftpusers ftpuser
Now start the vsftpd:
#service vsftpd start
Running Service FTP automatically :
# chkconfig vsftpd on
Check konfigurasi SELinux :
SELinux kalau tidak salah adalah mirip User Account Control membatasi hak akses atau fungsi sebuah aplikasi atau daemon. Anda harus hati-hati dalam tahap ini karena jika salah dalam mengkonfigurasinya user ftp tidak akan bisa login ke home direktori mereka.
# getsebool -a | grep ftp
jika SELinux Disable maka rubah menjadi permissive
Edit file konfigurasi SELinux dengan perintah :
# vi /etc/selinux/config
This file controls the state of SELinux on the system.
#SELINUX= can take one of these three values:
#enforcing - SELinux security policy is enforced.
#permissive - SELinux prints warnings instead of enforcing.
#disabled - SELinux is fully disabled.
SELINUX=permissive
#SELINUXTYPE= type of policy in use. Possible values are:
#targeted - Only targeted network daemons are protected.
#strict - Full SELinux protection.
SELINUXTYPE=targeted
#enforcing - SELinux security policy is enforced.
#permissive - SELinux prints warnings instead of enforcing.
#disabled - SELinux is fully disabled.
SELINUX=permissive
#SELINUXTYPE= type of policy in use. Possible values are:
#targeted - Only targeted network daemons are protected.
#strict - Full SELinux protection.
SELINUXTYPE=targeted
ket :
Edit SELINUX Menjadi
SELINUX=permissive
Reboot Computer :
# reboot
Edit ftp_home_dir menjadi on
# setsebool -P ftp_home_dir on
# iptables -F
Check getsebool :
# getsebool -a | grep ftp
allow_ftpd_anon_write --> off
allow_ftpd_full_access --> off
allow_ftpd_use_cifs --> off
allow_ftpd_use_nfs --> off
ftp_home_dir --> on
ftpd_connect_db --> off
ftpd_use_passive_mode --> off
httpd_enable_ftp_server --> off
tftp_anon_write --> off
allow_ftpd_full_access --> off
allow_ftpd_use_cifs --> off
allow_ftpd_use_nfs --> off
ftp_home_dir --> on
ftpd_connect_db --> off
ftpd_use_passive_mode --> off
httpd_enable_ftp_server --> off
tftp_anon_write --> off
Ref : linuxaway.net , http://kalpaz.blogspot.com
Wednesday, October 23, 2013
Membuat Temporary Tabel pada Database MySQL
Tidak hanya Sql server saja yang bisa membuat tabel temporary,
Database Gratisan ini(MySQL) juga bisa melakukanya :
Berikut ini contoh nya:
Create temporary table :
CREATE TEMPORARY TABLE Temp_employee
SELECT m.em_emplcode,
m.em_emplname,
m.em_sex,
s.section_code
FROM master_employee m
INNER JOIN master_section s ON m.em_code = s.section_code
ORDER BY total ASC
SELECT m.em_emplcode,
m.em_emplname,
m.em_sex,
s.section_code
FROM master_employee m
INNER JOIN master_section s ON m.em_code = s.section_code
ORDER BY total ASC
Untuk melihat Hasilnya :
SELECT * FROM Temp_employee
Untuk Menghapus Table Temporary :
DROP TEMPORARY TABLE Temp_employee
Tuesday, October 22, 2013
Sejarah Linux CentOS
CentOS singkatan dari Community ENTerprise Operating System (Sistem Operasi Perusahaan buatan Komunitas / Masyarakat) adalah sistem operasi gratis yang dibuat dari source code Red Hat Enterprise Linux (RHEL). Proyek ini berupaya untuk 100% binari kompatibel dengan produk hulunya (RHEL). Dan tentu saja menggunakan paket RPM.
Karena CentOS dikompile dari SRPM RHEL maka CentOS 100% kompatible dengan RHEL, isi dari CentOS hampir sama dengan RHEL. Lalu, Bedanya pada CentOS semua atribute RHEL dibuang, contohnya README.TXT RHEL diganti menjadi README.TXT CentOS.
Sunday, October 20, 2013
Inventory IT Asset Management dengan OCS Inventory NG
OCS Inventory-Next Generation
Open Computer and Software Inventory Next Generation (OCS Invenrory NG) adalah sebuah aplikasi yang dirancang untuk membantu administrator jaringan untuk melacak konfigurasi komputer dan software yang terinstall pada jaringan komputer.
Dengan menggunakan OCS Inventory NG, maka dapat melakukan manajement hardware dan software secara terpusat. Hal ini dapat terjadi karena aplikasi OCS Inventory NG bersifat client-server, sehingga admin cukup mengakses informasinya dari OCS Inventory NG Server. Untuk melakukan komunikasi antara komputer klien dengan manajemen
Dengan menggunakan OCS Inventory NG, maka dapat melakukan manajement hardware dan software secara terpusat. Hal ini dapat terjadi karena aplikasi OCS Inventory NG bersifat client-server, sehingga admin cukup mengakses informasinya dari OCS Inventory NG Server. Untuk melakukan komunikasi antara komputer klien dengan manajemen
server, OCS Inventory NG dibuat berbasiskan pada standar HTTP/HTTPS protokol, dan format data XML.
Manajement server OCS Inventory NG dapat berjalan di komputer yang menjalankan Apache/MySQL/PHP/PERL, baik di komputer yang menggunakan sistem operasi Linux maupun Windows. OCS Inventory NG juga dapat mendeteksi dan menampilkan informasi beragam hardware lain yang sedang aktif di dalam jaringan, seperti switch, router, network printer, dan sebagainya.
Tujuan :
-Membantu administrator jaringan untuk melacak konfigurasi komputer, software dan hardware yang diinstall pada tiap-tiap komputer.
-Menjaga kestabilan kinerja jaringan komputer dengan sistem perawatan berkala.
Dengan menggunakan software IT Asset Management, memungkinkan untuk memperoleh data inventori secara cepat dan terpusat, sehingga dapat menghemat waktu dalam pengerjaannya.
Beberapa kelebihan dalam menggunakan alternatif ini adalah sebagai berikut:
- Dapat menginventori software dan hardware secara otomatis yang terhubung dengan jaringan.
- Dapat memperoleh data inventori secara lengkap dan akurat.
- Bisa dapat berinteraksi langsung dengan administrator jika ada kerusakan pada komputer.
Download Applikasi Disini
Wednesday, October 16, 2013
Cara Merubah Background Images pada Bloger
1. Masuk ke dashboard > Template
2. Klik Edit HTML
3. Arahkan dan klik kursor di dalam area template editor, lalu tekan Ctrl+F
"html body"
kode awal :
html body .content-outer {
min-width: 0;
max-width: 100%;
width: 100%;
}
Rubah kode cssnya dengan menambahkan background:url(......)
Contoh menjadi :
html body .content-outer {
min-width: 0;
max-width: 100%;
width: 100%;
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLS1uJhjgWsOVrJSkJ_oCN3HMz4R3TvOlQfG-IS8BgIsX8sCKJ3boEX52Kh37-zfdNjcaeTXq8ocLSoEnf_wR4yvUEzV2ZQklQqtJNZaV-OTKzS-rG5RdmvjXyEUVIzwJ0094zdAKz0y2s/w140-h140-p/wood4.jpg);
background-position:top left;
background-repeat: repeat-x repeat-y;
}
min-width: 0;
max-width: 100%;
width: 100%;
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLS1uJhjgWsOVrJSkJ_oCN3HMz4R3TvOlQfG-IS8BgIsX8sCKJ3boEX52Kh37-zfdNjcaeTXq8ocLSoEnf_wR4yvUEzV2ZQklQqtJNZaV-OTKzS-rG5RdmvjXyEUVIzwJ0094zdAKz0y2s/w140-h140-p/wood4.jpg);
background-position:top left;
background-repeat: repeat-x repeat-y;
}
Subscribe to:
Posts (Atom)
About Me
|


