Di Centos 7, penamaan suatu interface berbeda jauh
sekali, dari yang sebelumnya. Biasanya kan kita kenal interface eth0, eth1 dan seterusnya. Kalo di
Centos 7, enp0s3, enp0s8. Yang tidak
terbiasa, tentu kesulitan untuk menghapal penamaan yang baru ini. Bagaimana
caranya mengembalikan penamaan interface ke sebelumnya.??
Showing posts with label LINUX. Show all posts
Showing posts with label LINUX. Show all posts
Tuesday, April 07, 2015
Friday, March 27, 2015
The New Method of Squid to Cache Youtube
This is the last method of Squid that I know to cache youtube. Thanks for someone, his name is.... (sorry I forget his name.) He gave me a link website. And he asked me to try to cache youtube, according the method on the website.
Ok... I have tried it... and I did it... successfully. Hahahaha...
Ok... I have tried it... and I did it... successfully. Hahahaha...
Thursday, January 02, 2014
Caching Youtube with storeurl.pl Method (100% Working in 2014)
Happy
new year. Hopefully in 2014, we are all be healthy and success, always.
This
is my first posting in 2014. Now I will discuss about caching google youtube video with
storeurl.pl. Until now, caching youtube video with storeurl method, still 100%
working, although not perfectly. Previously, I actually gave up, because 2
weeks before, caching youtube does not work with all methods (including methods
storeurl). When the client runs youtube (through a server proxy), youtube error, as
shown below. This possibility is from youtube site, there may be changes in the
algorithm. Fortunately now no error anymore. Besides youtube, some other video sites can also be cached with this method. For example, dailymotion and so on.
Sunday, December 01, 2013
Transparent Proxy with Squid 3.3.11 + Ubuntu + Shorewall + Mikrotik (Update)
This is my update posting, about Transparent
Proxy with Squid 3.3.x + ubuntu + Shorewall + Mikrotik. Someone
told me that the configuration worked but they had TCP_MISS, I was curious.
Then I try to
re-configure the above experiment with some recent software updates, and this
is it.
Network configuration as shown above. I use virtual box to
test it. Ubuntu server 13.10, mikrotik 5.20, shorewall 4.5.21.4, and squid
3.3.11. The instruction how to configure the network above, still same like at
previous posting.
Monday, July 08, 2013
Re-Detect Network Interface Card in Ubuntu 13.04 and Centos 6.4
After making changes to the Network Interface Card (NIC), and when you run the command ifconfig, network adapters can't up. No visible interface ethernet (eth. ..), only the loopback interface (lo) is visible.
In ubuntu
If using the command "service networking restart", not seen the error. Use the command "ifup eth0", then you will get the error.
Ifup eth0
Internet Systems
Consortium DHCP Client 4.2.4
Copyright 2004-2012
Internet Systems Consortium.
All rights reserved.
For info, please visit
https://www.isc.org/software/dhcp/
Cannot find device
"eth0"
Error getting hardware
address for "eth0": No such device
Failed to bring up
ngeri-eth.
Thursday, July 04, 2013
YFI Hotspot Manager on Fedora 18 / 19 and Centos 6.4
Ok. Back to my experiment. I have spent many days to set up YFI Hotspot Manager, using Fedora 18 64bit, Fedora 19 64bit and Centos 6.4 64bit. If you are using 32 bit, it should be no problem. I didn’t use Ubuntu, because it’s often used. I do not want to be called just copy the post. Although this post reference to posts that already exist.
As usually, I assume a computer already installed, one of these operating systems, Fedora 18 / 19 or Centos 6.4, with a minimum packet. After configuration ethernet, and internet is ok, then continue to the next step.
Tuesday, July 02, 2013
How to Fix Problems in Installing "YFI Hotspot Manager"
What do you think about the picture above ? Yes. The login administrator yfi hotspot
manager but there's no box username and password. Did you ever get an error
like the picture above? For me, the
error like picture above, appear many times. I have collected many kinds of
errors of installing YFI Hotspot Manager and how to fix it. This is all I got
when I tried YFI Hotspot manager installation in Ubuntu 12:10 / 13:04, fedora
18/19 and centos 6.4. Do not be afraid, because of these errors. At the time of
installation you will not get this much errors, (probably only get 1 or 2 errors
only). You even probably will not get an error, if you follow the tutorial how
to installing yfi hotspot manager correctly, and carefully. Especially
following the tutorial from me ... hahaha ...
Remember this.
Sometimes when you
have run the command to correct the error, nothing can change. Still
error / problem. This is because the permission of the selinux. Make sure, you have disable selinux.
Edit /etc/selinux/config
SELINUX=disabled
Let's look at a
list of errors and how to fix it.
Sunday, June 09, 2013
Tips Belajar Linux Secara Otodidak
Posting kali
ini, hanya sekedar berbagi tips
pengalaman saya yang sedikit ini di dunia Linux. Semoga ini bisa menjadi
penyemangat anda dalam mencapai suatu tujuan. Bukan hanya tujuan dalam belajar Linux,
tetapi untuk tujuan hidup anda.
Tujuan
Belajar Linux
Banyak yang
masih ragu dengan Linux. Pastinya anda sering mendengar pertanyaan-pertanyaan
klasik (kalau tidak dibilang bodoh), seperti ini. Untuk apa belajar Linux? Apa manfaatnya
? Bukankah sudah ada Windows ? kan sama saja? Untuk apalagi ? malah lebih enak
menggunakan Windows, bisa bermain game ? Untuk apa repot-repot belajar Linux ?
Jadi apa tujuannya ? Belajar Linux, masing-masing punya tujuan sendiri.
Thursday, June 06, 2013
How to Fix Problems in Cacti
No graph display, SNMP agent is not installed
This has been discussed in previous posts, and see also how to install SNMP Agent in previous post, http://myconfigure.blogspot.com/2013/06/how-to-install-snmp-agent.html.
Error : Can't find file:
'poller_output'
Graph display does not appear, besides the lack of SNMP Agent, it could be due to a full hard drive. Check disk space by using the command
Thursday, May 30, 2013
How to make Squid 3.3.5 as Transparent Proxy Https / Ssl in Centos 6.4
The experiment continues to make transparent proxy https / ssl. Same as previous post. Look at "How to make Squid 3.1.23 as Tproxy (Transparent Proxy) in Centos 6.4". Do the step 1 and 2, ie install shorewall and install dhcp server. Then continue with the next steps.
Tuesday, May 28, 2013
How to make Squid 3.1.23 as Tproxy (Transparent Proxy) in Centos 6.4
From the title, we will only make squid tproxy
(transparent proxy), but there are actually 3 work to be done.
1. Configuration of the firewall / shorewall so
Linux Centos will become a router.
2. Make dhcp server, and
3. Install squid as tproxy ( I use squid version 3.1.23 ).
We will work on gradually, so you can easily fix it
if there is an error.
Thursday, May 09, 2013
Modify Easyhotspot as Radius Server External
EasyHotspot is an open source
software, so it should not matter, if you make modifications. In this post, I
will change a little EasyHotspot. And this relates to the previous post,
Mikrotik and EasyHotspot as Hotspot, we can’t disconnect user from radius server / EasyHotspot. so what
should we do?
First, we must know how to
disconnect the user. General command to disconnect users, in a radius server,
including easyhotpsot, using the command radclient.
Monday, May 06, 2013
Mikrotik and EasyHotspot, as Hotspot Billing System
In the previous post, we already know
about the mikrotik hotspot. And the next experiments, mikrotik hotspot added a
EasyHotspot as radius server. Can be seen in the picture. In this experiment,
Chillispot and login page, on EasyHotspot, not used and should be removed.
Mikrotik will replace the function of Chillispot and login page. Actual merger
mikrotik with radius server, I've created, in a project by PT xxx. But I had
forgotten what a hotspot billing system used. And it is not archived.
Friday, April 26, 2013
Upgrade Squid Proxy Server, 3.1.22 to 3.3.3
A few days ago, suddenly, my squid proxy server (squid version 3.1.22 as transparent proxy) does not work or hangs. Weird... I've checked everything, but no luck. These are I have done,
1. check
with command, ps ax
| grep squid, ... ok.
2. check in /var/log/error.log,...no error, running well.
3. check on the firewall, shorewall, normal.
4. check router mikrotik, good.
2. check in /var/log/error.log,...no error, running well.
3. check on the firewall, shorewall, normal.
4. check router mikrotik, good.
Wednesday, April 17, 2013
PhpMyPrepaid on Fedora 18
After
installed YFI and Easyhotspot as hotspot system billing, it's time to try
another hotspot system billing, and I use Fedora 18 as Operating System. Phpmyprepaid, is interface hotspot system
billing designed to work with a MySQL database and FreeRadius. Phpmyprepaid
has not developed yet. The final version is phpmyprepaid 0.4-RC3, came out in
April 2009. It is the oldest than others. (CMIIW)
Let's
to begin.
As
usually, after installing fedora 18 with
minimalist package, continue to configure network. Make sure some variable is
exist.
Tuesday, April 16, 2013
How to Fix PhpMyPrepaid 0.4.rc3
This is
story of my experiment, when install phpmyprepaid 0.4.rc3, on fedora 18. And
another "friends" who been installed, were FreeRADIUS version: 2.2,
Chillispot version: 1.1, Mysql Server version: 5.5.30. and Apache/2.4.4
(Fedora). It was very difficult to install. A lot of errors that I got.
Probably, phpmyprepaid is too old, has long been abandoned, and no support with
new things.
let's see
list error, so if you find the error again, you know how to fix that…
Friday, April 12, 2013
a little review of Fedora 18
This is a little review of fedora 18, when I install phpmyprepaid as hotspot billing system in fedora 18. Of course, I consider this interesting and important to build a server.
Repolist
#yum repolist
Label:
LINUX
Wednesday, April 03, 2013
Easyhotspot in Centos 6.4 + CoovaChilli 1.3.0
In this section, I explain how to modify easyhotspot by adding
coovachilli, in Centos 6.4. Usually, installing coovachilli can fix the problem of EasyHotspot login failed which sometimes happens. Before you continue reading this post, look at section easyhotspot with centos 6.4, in this blog. I assume you
have been through 2 stages, (1)install apache, php, mysql, and (2) install web easyhotspot.
Install Freeradius 2.1.12.
Actually the
same as before in easyhotspot with centos 6.4 section, just a
few different configurations. I explain it all so as not to confuse.
yum
install freeradius freeradius-mysql freeradius-utils
chkconfig
--level 235 radiusd on
Saturday, March 30, 2013
Easyhotspot in Centos 6.4
Actually a
lot of to discuss about making this hotspot. But I see it is not discussed fully. And mostly
use Ubuntu. I will explain how to make easyhotspot in centos 6.4, based on my
experiment.
I divide it
into 4 parts, to make it more easily understood.
- Install Apache, PHP and Mysql.
- Install Web Easyhotspot.
- Install Freeradius 2.1.12.
- Install Chillispot.
I assume the
PC is installed with centos 6.4. In my experiments, centos installed in a
minimalist package. Configure the network interface. (Watch carefully, I use 2
lan card, which happened to be detected as eth1 and eth2. Eth1 to use static
ip, and the ip dhcp eth2. So please do adjustments IP address, in accordance
with the conditions in your network, I know you can do it).
vi /etc/sysconfig/network-scripts/ifcfg-eth1
httpd: apr_sockaddr_info_get() failed for "hostname"
I found error, when I have installed mod_ssl
Starting httpd: httpd: apr_sockaddr_info_get() failed for NGERI
How to fix,
edit /etc/hosts
In the end, add line
Label:
LINUX
Subscribe to:
Posts (Atom)