ithut (.) net

Howtos and Tutorials from behind the firewall

  • Home
  • Urdu Tutorials
  • Top Tutorials
  • Forum
Twitter Youtube RSS

What’s the recommended way to enable / disable services in Ubuntu?

Posted on May 17, 2013 by Muhamamd Zeeshan
No comments

GUI WAY

UBUNTU (Classic Gnome / Fallback) GUI WAY

  1. Go to System -> Preferences -> Startup Applications
  2. Here you can click and enable/disable SOME of the services that start from a Desktop Ubuntu. Simply click on one to Enable/Disable. Note that not all services appear here, commonly only the ones that involve a system tray icon or GUI windows. Examples like the HP System Tray and the Nvidia Settings.

UBUNTU 2D/3D

  1. Open the Dash and type startup app, you should see one option:

enter image description here

  1. Open the Startup Applications App and Enable/Disable any of the services you find there. As in the Classic Gnome/Fallback way, it will only show services related to the GUI. For example: Read more …
Categories: Linux, Ubuntu | Tags: debian, Linux, linux mate, linux mint, mint, ubuntu

Multicast streaming (PTCL Smart tv iPTV) not working.

Posted on April 28, 2013 by Muhamamd Zeeshan
No comments

Multicast streaming (PTCL Smart tv iPTV) not working.

If you has multiple interface on your PC then chances are multicast streaming (like iptv PTCL smart tv pc application) will not work on your pc.

Most of the peoples who has the multiple interface like lan card wifi connected on the same time complains ptcl smart tv not working on their pc.

The reason behind this problem is your video player is send multicast packets to the wrong interface. To solve the problem simply follow these steps.

Run cmd .

If you has Windows vista or later then right click on the cmd and run as administrator.

Enter the following command on the cmd to check the interface name and metric

netsh interface ipv4 show interface

output will be like this.

netsh interface ipv4 show interface

 

Read more …

Categories: iptv | Tags: iptv, multicast streaming, ptcl, ptcl smart tv, Tutorials, windows 7

Run PTCL Smart tv (iPTV) on linux MAC etc

Posted on April 28, 2013 by Muhamamd Zeeshan
2 comments

Run PTCL Smart tv (iPTV) on linux MAC etc

 

If you want to run PTCL smart tv on linux , mac or  you did not like the application that ptcl has created for its smart tv customers then you are on right place. Simply download the file from here. And open it with any player like vlc kme etc and you are good to go. The attached file smarttv.m3u has the list of all the PTCL smart tv channels. You can use this file to run the channels on your iPad etc.

PTCL smart tv channel list

Personally I did not like the PTCL smart tv pc application. It did not provide you much control like you did not change the video aspect ratio. Put the video on top so you can work and watch tv on the same time.

 

Download

Categories: iptv, Uncategorized | Tags: iptv, Linux, ptcl, smarttv, Tutorials, ubuntu, vlc, wifi

Get IPV6 and unblock youtube facebook etc

Posted on February 12, 2013 by Muhamamd Zeeshan
No comments

Get IPV6 and unblock youtube facebook etc
In this video Muhammad Zeeshan explains how you can get ipv6 and unblock websites youtube facebook etc with it. Video also explain how you download and install freenet6 gogoc and use it.

Read more …

Categories: ipv6, Networking, Proxy, unblock | Tags: facebook, get ipv6 free, ithut.net, my-t, Tutorials, unblock facebook, unblock youtube, unblock youtube in pakistan, Urdu Tutorials, youtube, zee.im

Linux: 25 PHP Security Best Practices For Sys Admins

Posted on January 24, 2013 by Muhamamd Zeeshan
No comments

PHP is an open-source server-side scripting language and it is a widely used. The Apache web server provides access to files and content via the HTTP OR HTTPS protocol. A misconfigured server-side scripting language can create all sorts of problems. So, PHP should be used with caution. Here are twenty-five php security best practices for sysadmins for configuring PHP securely.

Our Sample Setup For PHP Security Tips

  • DocumentRoot: /var/www/html
  • Default Web server: Apache ( you can use Lighttpd or Nginx instead of Apache)
  • Default PHP configuration file: /etc/php.ini
  • Default PHP extensions config directory: /etc/php.d/
  • Our sample php security config file: /etc/php.d/security.ini (you need to create this file using a text editor)
  • Operating systems: RHEL / CentOS / Fedora Linux (the instructions should work with any other Linux distributions such as Debian / Ubuntu or other Unix like operating systems such as OpenBSD/FreeBSD/HP-UX).
  • Default php server TCP/UDP ports: none
Read more …
Categories: Linux, Networking, PHP | Tags: command line, Linux, php, rhel

Squid content filtering: Block / download of music MP3, mpg, mpeg, exec files

Posted on January 24, 2013 by Muhamamd Zeeshan
No comments

Q. For security and to save bandwidth I would like to configure Squid proxy server such way that I do not want my users to download all of the following files:
MP3
MPEG
MPG
AVG
AVI
EXE

How do I configure squid content filtering?

A. You can use squid ACL (access control list) to block all these files easily.

How do I block music files using squid content filtering ACL?

First open squid.conf file /etc/squid/squid.conf:

# vi /etc/squid/squid.conf
Now add following lines to your squid ACL section:

acl blockfiles urlpath_regex "/etc/squid/blocks.files.acl"
You want display custom error message when a file is blocked:
# Deny all blocked extension
deny_info ERR_BLOCKED_FILES blockfiles
http_access deny blockfiles

Save and close the file. Read more …

Categories: Linux, Proxy | Tags: centos, Linux, rhel, squid

Install Squid Proxy Server on CentOS / Redhat enterprise Linux 5

Posted on January 24, 2013 by Muhamamd Zeeshan
No comments

Squid server is a popular open source GPLd proxy and web cache. It has a variety of uses, from speeding up a web server by caching repeated requests, to caching web, name server query , and other network lookups for a group of people sharing network resources. It is primarily designed to run on Linux / Unix-like systems. Squid is a high-performance proxy caching server for Web clients, supporting FTP, gopher, and HTTP data objects. Unlike traditional caching software, Squid handles all requests in a single, non-blocking, I/O-driven process. Squid keeps meta data and especially hot objects cached in RAM, caches DNS lookups, supports non-blocking DNS lookups, and implements negative caching of failed requests. Squid consists of a main server program squid, a Domain Name System lookup program (dnsserver), a program for retrieving FTP data (ftpget), and some management and client tools.

Install Squid on CentOS / RHEL 5

Use yum command as follows:
# yum install squid
Output:

Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package squid.i386 7:2.6.STABLE6-4.el5 set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 squid                   i386       7:2.6.STABLE6-4.el5  updates           1.2 M
Transaction Summary
=============================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 1.2 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: squid                        ######################### [1/1]
Installed: squid.i386 7:2.6.STABLE6-4.el5
Complete!

Read more …

Categories: Linux, Proxy | Tags: centos, Linux, proxy, squid

Howto: Squid proxy authentication using ncsa_auth helper

Posted on January 24, 2013 by Muhamamd Zeeshan
No comments

For fine control you may need to use Squid proxy server authentication. This will only allow authorized users to use proxy server.

You need to use proxy_auth ACLs to configure ncsa_auth module. Browsers send the user’s authentication in the Authorization request header. If Squid gets a request and the http_access rule list gets to a proxy_auth ACL, Squid looks for the Authorization header. If the header is present, Squid decodes it and extracts a username and password.

However squid is not equipped with password authentication. You need to take help of authentication helpers. Following are included by default in most squid and most Linux distros:
=> NCSA: Uses an NCSA-style username and password file.
=> LDAP: Uses the Lightweight Directory Access Protocol
=> MSNT: Uses a Windows NT authentication domain.
=> PAM: Uses the Linux Pluggable Authentication Modules scheme.
=> SMB: Uses a SMB server like Windows NT or Samba.
=> getpwam: Uses the old-fashioned Unix password file.
=> SASL: Uses SALS libraries.
=> NTLM, Negotiate and Digest authentication

Read more …

Categories: Linux, Networking | Tags: centos, Linux, squid

install perl DBD::Oracle

Posted on December 27, 2012 by Muhamamd Zeeshan
No comments

install perl DBD::Oracle

From the many tales of woe on the web about installing perl DBD::Oracle, from “invalid lvalue in assignment” to mysterious make errors, and the pages of intricate instructions doubtfully translated from the French, I assumed that it was a long and difficult process and it was natural that I was having problems installing on 64-bit CentOS. WRONG! It can actually be easy for lazy and dumb people like me.

First, just use yum and hand-compiling. Don’t add CPAN to the mix.

  1. Add the rpmforge repo and the EPEL repo (see links for instructions) so that you can install perl-DBD and perl-DBI via yum.
  2. Install perl-DBD and perl-DBI via yum.
  3. Download and install the OCI client “basic” and “sdk/devel” packages from Oracle. Note that you might need an older version if you’re connecting to an older version of Oracle. Note also that Oracle makes you log in to download this. Note also that you need both the SDK and the Basic package. I recommend getting the rpms – install with a simple rpm -Uvh .
  4. Oracle puts the libraries in a wacky place, e.g. /usr/lib/oracle/11.2/client64/lib if you’re using the 64-bit version of 11.2. Therefore, create a new file, e.g. oci.conf, in /etc/ld.so.conf.d/, with the library location in it, and then run (as root) ldconfig -v to add it. Read more …
Categories: Linux, Oracle, perl | Tags: centos, cpan, dbd, Linux, oracle, perl, rhel

Introduction to Network

Posted on January 16, 2012 by Muhamamd Zeeshan
No comments

[Cisco ccna in urdu] introduction to network

Categories: CCNA urdu, Cisco | Tags: ccna, cisco, Tutorials, urdu, Urdu Tutorials
Previous Entries
  • Recent Posts

    • What’s the recommended way to enable / disable services in Ubuntu?
    • Multicast streaming (PTCL Smart tv iPTV) not working.
    • Run PTCL Smart tv (iPTV) on linux MAC etc
    • Get IPV6 and unblock youtube facebook etc
    • Linux: 25 PHP Security Best Practices For Sys Admins
  • Categories

    • CCNA urdu
    • Cisco
    • internet
    • iptv
    • ipv6
    • Linux
    • Networking
    • Oracle
    • perl
    • PHP
    • Proxy
    • Ubuntu
    • unblock
    • Uncategorized
    • Windows
  • Tags

    bad username password ccna centos cisco command line configuration register cpan cron job cron tab dbd facebook get ipv6 free internet iptv ipv6 iso image ithut.net line attenuation Linux Linux Laptop mode mount iso networking oracle perl php proxy ptcl rhel sendmail smarttv snr margin squid Tutorials ubuntu unblock facebook unblock youtube unblock youtube in pakistan urdu Urdu Tutorials utdu windows windows 7 windows xp youtube zee.im
zee.im ithut.net