22 March 2016
14 March 2016
Unblock Ip Address from ConfigServe Firewall (CSF)
Config Server Firewall (or CSF) is a free and advanced firewall for most Linux distributions and Linux based VPS. In addition to the basic functionality of a firewall – filtering packets – CSF includes other security features, such as login/intrusion/flood detections. CSF includes UI integration for cPanel, DirectAdmin and Webmin, but this tutorial only covers the command line usage. CSF is able to recognize many attacks, such as port scans, SYN floods, and login brute force attacks on many services. It is configured to temporarily block clients who are detected to be attacking the cloud server.
Label:
csf
10 February 2016
7 February 2016
MySQL Command Line after installing Xampp in Mac OS X
echo $PATH
sudo nano /etc/paths
masukan path berikut pada baris paling bawah
/Applications/xampp/xamppfiles/bin
2 February 2016
22 January 2016
18 January 2016
16 January 2016
Download File Dengan VBscript
dim xHttp: Set xHttp = createobject("Microsoft.XMLHTTP")
dim bStrm: Set bStrm = createobject("Adodb.Stream")
xHttp.Open "GET", "https://www.google.com/anu.exe", False
xHttp.Send
with bStrm
.type = 1 '//binary
.open
.write xHttp.responseBody
.savetofile "anu.exe", 2 '//overwrite
end with
Ganti anu.exe dengan anumu.exe
8 January 2016
Sublime Text 2 open New Files In Same Window
Open
Preferences > Settings - Default
Cari
Ganti
Cari
"open_files_in_new_window": true
Ganti
"open_files_in_new_window": false
Label:
Tutorial
3 July 2015
You don't currently have permission to access this folder
CMD Run
TAKEOWN /F * /R /D Y TAKEOWN /F <DIRECTORY> /R /D Y
OR
icacls <directory> /grant <user>:f /t
http://clintboessen.blogspot.com/2013/05/you-dont-currently-have-permission-to.html
http://answers.microsoft.com/en-us/windows/forum/windows_8-files/you-dont-currently-have-permission-to-access-this/2cc4abe2-41ea-4023-b594-104c3b9e9f4d?auth=1
http://superuser.com/questions/60700/how-do-i-get-permissions-to-delete-files-on-windows-7
12 June 2015
menampilkan isi tabel sql server dengan php
<?php
$host = 'WINDOWS';
$server = $host;
$database = 'DBw3d0s';
$user = 'susu';
$password = '123';
$link = mssql_connect ($server, $user, $password);
if (!$link)
{
die('ERROR: Could not connect: ' . mssql_get_last_message());
}
mssql_select_db($database);
$query = 'SELECT * FROM tabel_name';
$result = mssql_query($query);
if (!$result)
{
$message = 'ERROR: ' . mssql_get_last_message();
return $message;
}
else
{
$i = 0;
echo '<html><body><table><tr>';
while ($i < mssql_num_fields($result))
{
$meta = mssql_fetch_field($result, $i);
echo '<td>' . $meta->name . '</td>';
$i = $i + 1;
}
echo '</tr>';
while ( ($row = mssql_fetch_row($result)))
{
$count = count($row);
$y = 0;
echo '<tr>';
while ($y < $count)
{
$c_row = current($row);
echo '<td>' . $c_row . '</td>';
next($row);
$y = $y + 1;
}
echo '</tr>';
}
mssql_free_result($result);
echo '</table></body></html>';
}
?>
http://razorsql.com/articles/sqlserver_column_names_values.html
Label:
sql server
11 June 2015
Destop info
Destop info adalah aplikasi untuk menampilkan info-info tentang dekstop anda,
seperti rain meter atau conky di linux.
sedot kene http://www.tusfiles.net/66znty6l7chn
Label:
Linux
20 May 2015
31 October 2014
18 May 2014
Ganti port SSL 443 xampp
pilih pada bagian config > Apache (httpd-ssl.conf)
Find dan Replace port 443 dengan port yang akan digunakan misal 442
bisa menggunkan Notepad ++
kemudian Start
untuk mengaksesnya https://hostname:442
LINUX
17 May 2014
cara install dropbear
assalamuailakum..
untuk install dropbear silahkan login di vps anda
seletah login cek type 32 bit atau 64
uname -ri
apabila terlihat
i686 berarti 32 bit
x86_64 berarti 64 bit
selanjutnya melihat versi centos
cat /etc/redhat-release
kalo sudah tau versi dan typenya langsung install dropbearnya
UNTUK CENTOS 5 32 bit
cd /usr/local/src wget http://dl.fedoraproject.org/pub/epel/5/i386/dropbear-0.55-1.el5.i386.rpm rpm -Uvh dropbear-0.55-1.el5.i386.rpm yum -y install dropbear
UNTUK CENTOS 5 64 bit
cd /usr/local/src wget http://dl.fedoraproject.org/pub/epel/5/x86_64/dropbear-0.55-1.el5.x86_64.rpm rpm -Uvh dropbear-0.55-1.el5.x86_64.rpm yum -y install dropbear
UNTUK CENTOS 6 32 bit
cd /usr/local/src wget http://dl.fedoraproject.org/pub/epel/6/i386/dropbear-2014.63-1.el6.i686.rpm rpm -Uvh dropbear-2014.63-1.el6.i686.rpm yum -y install dropbear
UNTUK CENTOS 6 64 bit
cd /usr/local/src rpm -Uvh http://ftp-stud.hs-esslingen.de/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm yum -y install dropbear
kemudian edit configurasi dropbear
nano /etc/init.d/dropbear
tambah di bawah
# pidfile: /var/run/dropbear.pid
dengan OPTIONS="-p 443"
jika ingin menggunkan port 443 sebagai port dropbear
bisa di ganti dengan port yang yang belom di pakai
jika ingin menggunkan port 443 sebagai port dropbear
bisa di ganti dengan port yang yang belom di pakai
kemudian
service dropbear restart; chkconfig --add dropbear; chkconfig dropbear on;
seharusnya sshnya sudaah jalan
ALTERNATIF
untuk yang mau menggunakan port ssl/443 sebagai port dropbear
dan sudah terinstall cpanel ubah dulu port ssl
cd /var/cpanel/ nano cpanel.config
ganti 443 menjadi port yang lain
apache_ssl_port=0.0.0.0:443
menjadi
apache_ssl_port=0.0.0.0:portlain
kemudian
/usr/local/cpanel/whostmgr/bin/whostmgr2 --updatetweaksettings /etc/init.d/httpd restart
DEBIAN/UBUNTU
untuk debian/ubuntu langsung
sudo apt-get update apt-get install dropbear nano /etc/default/dropbearganti pada bagian
NO_START=1
menjadi
NO_START=0
DROPBEAR_PORT=
menjadi
DROPBEAR_PORT=443
kemudian start
/etc/init.d/dropbear start
5 December 2013
Menambahkan teks ke akhir beberapa file di Linux
#!/bin/bash
# Create a tempory file named /tmp/end_of_my_php.txt
cat << EOF > /tmp/end_of_my_php.txt
<html>halo</html>
EOF
find . -type f -name "*.php" | while read the_file
do
echo "Processing $the_file"
#cp "$the_file" "${the_file}.bak"
cat /tmp/end_of_my_php.txt >> "$the_file"
done
echo
echo done
brut
19 November 2013
ssh susah konek?
yum install zlib zlib-devel pam pam-devel openssl openssl-devel gcc patch
cd /usr/src
wget http://ftp3.usa.openbsd.org/pub/OpenSSH/portable/openssh-4.3p2.tar.gz
tar -xzvf openssh-4.3p2.tar.gz
cd openssh-4.3p2
./configure --prefix=/usr --sysconfdir=/etc/ssh --with-pam
mv /etc/ssh/ssh_config /etc/ssh/ssh_config.bk
mv /etc/ssh/sshd_config /etc/ssh/sshd_config.bk
make
make install
service sshd restart
nano /etc/ssh/sshd_config
4 June 2013
membuat tulisan di photosop
Membuat tulisan di photosop sebenarnya banyak cara, tapi saya baru bisa satu heee
langsung aja, pertama buka photosopnya buat dokumen baru pilih saja presentnya web
nanti otomatis sudah tersedia ukuranya
langkah selanjutanya pilih Gradien Tool kemudian double klik seperti gambar di bawah
nantin akan muncul gradien editor
klik pada bagian no 2 di bawah, kemudian pilih warna klik no 3 warnya tidak terlalu hitam
kemudian klik no 4 pilih warna klik no 3 yang ini warnanya hitam
kemudian drag dari ujung atas ke bawah nanti warnanya berubah seperti di bawah
selanjutnya membuat text, disini saya menggunkan font Century, buat tulisan i
untuk mengganti ganti warnanya dan ubah ukuranya lihat yang di linkari di bawah
mengubah ukuran tinggal geser kanan atu kiri
kemudian buat tulisan lagi love
baut lagi Typograpy
drag garis kalo belom ada garisnya klik view>Rulers atau Ctrl+R
biar pas aja gambarnya
selanjutnya Blok layer i+love+typhograpy
kemudian Ctrl+T putar posisinya biar miring
kemudian biar ada effeknya klik kanan layer i > Blending Option
ceklist pada bagian drop shadow>ok
ok sedah selesai
tinggal save pajang di pesbok
23 May 2013
mengatasi No Device Drivers Error Message ketika intall ulang
kalo make flasdisk
ganti port usbnya trus colokin ke port usb yang laen,
kalo masih tidak bisa burning ke cd filenya
kalo masih tidak bisa lagi ?
tutor menyusul
:)
Subscribe to:
Comments (Atom)
























