Blog

Share

Step 1.
install mutt ( email client )

Ubuntu/Debian :

Code:
apt-get install mutt

Centos :

Code:
yum -y install mutt

Step2
download script and edit this line as you see the samples.

Code:
echo "backup in proccess" | mutt -a "/var/mcsbackup.tar.gz" -s "mcsbackup" -- YourEmail@whatever.com

Step3.
upload it at /usr/script/
( if you dont have a “script” folder just create it.

Step4.
Edit your Crontab and add this line before “Exit 0”

Code:
0 0 * * * root /var/script/autobackup.sh

Download Script

download-button-20100510

now restart your vps. and your script will run every midnight.

Share

How To Install Webmin with SSL on Ubuntu 14.04

 

Introduction

Webmin is a web-based system administration tool for Unix-like systems. It provides an easy alternative to command line system administration and can be used to manage various aspects of a system, such as users and services, through the use of the provided Webmin modules. If you want to manage your own server but you are uncomfortable with the command line, Webmin is a good tool to help you get started.

This tutorial covers the installation of Webmin with SSL using apt-get on Ubuntu 14.04.

 

Prerequisites

To install Webmin, you will need to have access to a user with root privileges. It is recommended that you set up a non-root user with sudo access by following steps 1-3 of this link: Initial Server Setup with Ubuntu 14.04. This user will also be used to login to the Webmin interface, and Webmin will use the credentials to administer your server.

Note that you are required to use password-based authentication enabled to log in to your server via Webmin.

Log in Via SSH

Log in to your server as the new user that you created (or root) via SSH (substitute your user name and server IP address here):

ssh new_user@server_IP_address

Answer the password prompt to complete the login process.

Let’s get started with the Webmin installation!

 

Install Webmin

To install Webmin via apt-get, you must first add the Webmin repository to your sources.list file.

On your server, open the sources.list file in your favorite text editor. We will use nano in this tutorial:

sudo nano /etc/apt/sources.list

If you are prompted for a “[sudo] password”, enter your user’s password.

Now press Ctrl-W then Ctrl-V to navigate to the end of the file, then add the following lines to the file:

deb http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib

When you are finished editing, save the file by pressing Ctrl-X, then y, RETURN.

Now add the Webmin GPG key to apt, so the source repository you added will be trusted. This command will do that:

wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add -

Before installing Webmin, you must update apt-get’s package lists:

sudo apt-get update

Now run this apt-get command to install Webmin:

sudo apt-get install webmin

Enter y to confirm the installation.

After the installation is complete, the Webmin service will start automatically.

 

Log in to Webmin

In a web browser, access your server’s Webmin login page via its public IP address (the same IP address you used to login via SSH) on port 10000. By default, Webmin will start with SSL/TLS enabled, so you will need to use HTTPS to connect to it.

Open this URL in your web browser (substitute the IP address):

https://server_IP_address:10000

You will be prompted with a warning that says your server’s SSL certificate is not trusted. This is because Webmin automatically generates and installs an SSL certificate upon installation, and this SSL certificate was not issued by a certificate authority that is trusted by your computer. Although your computer cannot verify the validity of the certificate, you know that you are, in fact, accessing your own server. It is fine to proceed.

Instruct your web browser to trust the certificate. If you are using Chrome, for example, click the Advanced link, then click the Proceed to server_IP_address (unsafe) link. If you are using Firefox, click I Understand the Risks, then the Add Exception… button, then the Confirm Security Exception button.

At this point, you will see the Webmin login screen:

Webmin login screen

Enter the same login credentials that you used to log in to your server via SSH. This user must have root privileges via sudo.

Congratulations! You have successfully installed Webmin, and it is ready to be used. Remember that, because you are using a privileged user to access Webmin, the Webmin application has full access to your server—keep your login credentials secure!

 

Using Webmin

When you first log into Webmin, you will be taken to the System Information page, which will show you an overview of your system’s resources and other miscellaneous information. This view also shows you any Webmin updates that are available.

Webmin Dashboard

On the left side, you will see the navigation menu, which you can use to access the various Webmin modules and manage your server. The navigation menu is organized into categories, and each category has its own set of modules. The Webmin category is special because contains modules that are used to configure the Webmin application, while the other categories are used to perform various system administration tasks.

Take some time to explore the modules that are available, to familiarize yourself with Webmin.

Example: Create a New User

A basic system administration task that you can perform with Webmin is user management. We will show you how to create a new user with the Users and Groups module.

Expand the System category in the navigation menu, then click on Users and Groups.

Then click the Create a new user. link.

Create user

Enter the Username and any other settings you want to assign to the new user, then click the Create button.

The user will be created on the server, with the specified settings.

The Users and Groups module can also be used to perform other user management tasks, such as deleting and disabling users and groups.

Example: Install Apache

Webmin comes with a large variety of modules that manage different software packages. We will demonstrate how to install a web server using the the Apache Webserver module, as an example.

In the navigation menu, click Un-used Modules to expand the category, and then click Apache Webserver.

If you do not have Apache installed on your server, the module will notify you and provide you with a way to install Apache.

Use the Click here link (in the last sentence) to install Apache via apt-get through Webmin.

After the Apache installation is complete, your server will be running the default Apache server.

The Apache Webserver module will be moved to the Servers category, and you may use it to manage the configuration of your Apache server.

 

Conclusion

Now that you have Webmin installed on your Ubuntu server, you should be able to use it to perform basic system administration tasks.

Share

BOOTICE – Modify, Backup, And Restore Master Boot Record & Partition Boot Record

 

BOOTICE is a portable utility developed for power users who need to either modify or backup and restore MBR (Master Boot Record) and PBR (Partition Boot Record) of  local drives or removable media including external hard drives, USB drives, etc. For those who don’t have clue of these boot records, MBR is generally referred to as first sector (size : 512 bytes) of any partitioned drive whereas volume or partition boot record holds code to initiate booting and is invoked by MBR.

Warning for beginners: It is not advisable to fiddle around with master boot record or with volume boot record, as it can change system booting process and can leave your PC unbootable. We will recommend that you use BOOTICE with removable media and not with auxiliary storage disks.

 

Coming back to features, it lets you backup MBR of selected drives (primary or external) and enables you to create disk images (IMG & IMA format), fill up disk space with random data, manage partitions while allowing you to edit Boot Configuration Data (BCD file) to tweak with system booting process.

It supports multiple boot record types ranging from Windows NT 5/6, Plop Boot Manager, SYS Linux, to Grub4Dos. On the main interface, it displays all attached external storages along with primary disk. Underneath it, you have options to process MBR & PBR, to bring up partition manager and check out disk data sector-wise. Process MBR and Process PBR buttons let users backup and restore the boot record. Before starting out, you need to choose the boot record type to begin the process. The backup is created in BIN format. It’s must be noted here that before restoring boot record, you will need to specify the correct boot type with which boot record backup was created.

bootice thumb BOOTICE Modify, Backup, And Restore Master Boot Record & Partition Boot Record

Partition Manager allows user to backup and restore partition table, change and remove drive ID, format/re-format disk with a facility to format only selected part of disk.

 

PartitionsManagement thumb BOOTICE Modify, Backup, And Restore Master Boot Record & Partition Boot Record

As mentioned beforehand, it is capable of processing disk images in IMG or IMA format, you can select the disk image file to backup its master boot record & volume boot record and view the data distribution in sectors. Depending on the OS type, it can bring up BCD file editor with relative options to change booting process. Under BCD Edit tab, BCD file can be specified manually or you can let it find out the location of currently active OS BCD file.

2.3

Random data filling makes data on selected disk unrecoverable. With its Disk filling feature you can fill selected disk with 0x00, 0xFF or with custom data in snap to ensure data safety.

Disk Filling

We found BOOTICE to be very useful. Since it is a portable application, you can carry it anywhere to modify and backup MBR and PBR of almost all types of disks. With other complementary options like BCD editing and data filling, booting behavior can be altered on the fly without having to search for BCD file while you can destroy disc data by filling random junk to prevent recovery operations. It supports Windows 2000, Windows XP, Windows Vista, and Windows 7.

Download BOOTICE

Share

Download Ubuntu Server 

 

linux-ubuntu-678x381

[ISO] ubuntu-12.0.4.5-server-i386.iso 
[ISO] ubuntu-14.0.4.3-server-i386.iso 
[ISO] ubuntu-14.0.4.4-server-amd64.iso
[ISO]ubuntu-15.10-server-amd64.iso 
[ISO]ubuntu-15.10-server-i386.iso 
[ISO] ubuntu-16.10-server-i386.iso 
[ISO] ubuntu-16.10-server-amd64.iso 
Share

Download Debian CD/DVD images amd64 and i386 Last Update

 

debian

Debian amd64 DVD

[ISO] debian-Last-Update-amd64-DVD-1.iso  
[ISO] debian-Last-Update-amd64-DVD-2.iso 
[ISO] debian-Last-Update-amd64-DVD-3.iso

 

Debian i386 DVD

[ISO] debian-Last-Update-i386-DVD-1.iso   
[ISO] debian-Last-Update-i386-DVD-2.iso  
[ISO] debian-Last-Update-i386-DVD-3.iso

 

 

Debian amd64 CD

[ISO] debian-Last-Update-amd64-CD-1.iso          
[ISO] debian-Last-Update-amd64-CD-2.iso         
[ISO] debian-Last-Update-amd64-CD-3.iso        
[ISO] debian-Last-Update-amd64-CD-4.iso        
[ISO] debian-Last-Update-amd64-CD-5.iso         
[ISO] debian-Last-Update-amd64-CD-6.iso       
[ISO] debian-Laste-Update-amd64-CD-7.iso        
[ISO] debian-Last-Update-amd64-CD-8.iso  
[ISO] debian-Last-Update-amd64-kde-CD-1.iso
 [ISO] debian-Last-Update-amd64-lxde-CD-1.iso
 [ISO] debian-Last-Update-amd64-netinst.iso
 [ISO] debian-Last-Update-amd64-xfce-CD-1.iso
 [ISO] debian-mac-Last-Update-amd64-netinst.iso

 

Debian i386 CD

[ISO] debian-Last-Update-i386-CD-1.iso          
[ISO] debian-Last-Update-i386-CD-2.iso        
[ISO] debian-Last-Update-i386-CD-3.iso       
[ISO] debian-Last-Update-i386-CD-4.iso        
[ISO] debian-Last-Update-i386-CD-5.iso        
[ISO] debian-Last-Update-i386-CD-6.iso       
[ISO] debian-Last-Update-i386-CD-7.iso        
[ISO] debian-Last-Update-i386-CD-8.iso
[ISO] debian-Last-Update-i386-kde-CD-1.iso
[ISO] debian-Last-Update-i386-lxde-CD-1.iso
[ISO] debian-Last-Update-i386-netinst.iso
[ISO] debian-Laste-Update-i386-xfce-CD-1.iso
 [ISO] debian-mac-Last-Update-i386-netinst.iso

 

 

Share

Important Linux Commands

 

Linux Commands

Important Linux Commands

 

This section gives insight into the most important commands of your SuSE Linux system. Along with the individual commands, parameters are listed and, where appropriate, a typical sample application is introduced. To learn more about the various commands, it is usually possible to get additional information with the man program followed by the name of the command, for example, man ls.

In these manual pages, move up and down with PgUp and PgDn and move between the beginning and the end of a document with Home and End. End this viewing mode by pressing Q. Learn more about the man command itself with man.

There are many more commands than listed in this chapter. For information about other commands or more detailed information, we recommend the O’Reilly publication Linux in a Nutshell. In the following overview, the individual command elements are written in different typefaces.

  • The actual command is always printed as command. Without this, nothing can function.
  • Options without which the respective program cannot function are printed in italics.
  • Further details, like file names, which must be passed to a command for correct functioning, are written in the Courier font.
  • Specifications or parameters that are not required are placed in [brackets].

Adjust possible specifications to your needs. It makes no sense to write ls file(s), if no file named file(s) actually exists. You can usually combine several parameters, for example, by writing ls -la instead of ls -l -a.

File Commands

 

File Administration

 
ls [option(s)] [file(s)]
If you run ls without any additional parameters, the program will list the contents of the current directory in short form.

-l
detailed list

-a
displays hidden files

cp [option(s)] sourcefile targetfile
Copies sourcefile to targetfile.

-i
Waits for confirmation, if necessary, before an existing targetfile is overwritten

-r
Copies recursively (includes subdirectories)

mv [option(s)] sourcefile targetfile
Copies sourcefile to targetfile then deletes the original sourcefile.

-b
Creates a backup copy of the sourcefile before moving

-i
Waits for confirmation, if necessary, before an existing targetfile is overwritten

rm [option(s)] file(s)
Removes the specified files from the file system. Directories are not removed by rm unless the option -r is used.

-r
Deletes any existing subdirectories

-i
Waits for confirmation before deleting each file.

ln [option(s)] sourcefile targetfile
Creates an internal link from the sourcefile to the targetfile, under a different name. Normally, such a link points directly to the sourcefile on one and the same file system. However, if ln is executed with the -s option, it creates a symbolic link that only points to the directory where the sourcefile is located, thus enabling linking across file systems.

-s
Creates a symbolic link

cd [options(s)] [directory]
Changes the current directory. cd without any parameters changes to the user’s home directory.

mkdir [option(s)] directoryname
Creates a new directory.

rmdir [option(s)] directoryname
Deletes the specified directory, provided it is already empty.

chown [option(s)] username.group file(s)
Transfers the ownership of a file to the user with the specified user name.

-R
Changes files and directories in all subdirectories.

chgrp [option(s)] groupname file(s)
Transfers the group ownership of a given file to the group with the specified group name. The file owner can only change group ownership if a member of both the existing and the new group.

chmod [options] mode file(s)
Changes the access permissions.

The mode parameter has three parts: group, access, and access type. group accepts the following characters:

u
user

g
group

o
others

For access, access is granted by the + symbol and denied by the - symbol.

The access type is controlled by the following options:

r
read

w
write

x
eXecute — executing files or changing to the directory.

s
Set uid bit — the application or program is started as if it were started by the owner of the file.

gzip [parameters] file(s)
This program compresses the contents of files, using complex mathematical algorithms. Files compressed in this way are given the extension .gz and need to be uncompressed before they can be used. To compress several files or even entire directories, use the tar command.

-d
decompresses the packed gzip files so they return to their original size and can be processed normally (like the command gunzip).

tar options archive file(s)
The tar puts one file or (usually) several files into an archive. Compression is optional.

tar is a quite complex command with a number of options available. The most frequently used options are:

-f
Writes the output to a file and not to the screen as is usually the case

-c
Creates a new tar archive

-r
Adds files to an existing archive

-t
Outputs the contents of an archive

-u
Adds files, but only if they are newer than the files already contained in the archive

-x
Unpacks files from an archive (extraction)

-z
Packs the resulting archive with gzip

-j
Compresses the resulting archive with bzip2

-v
Lists files processed

The archive files created by tar end with .tar. If the tar archive was also compressed using gzip, the ending is .tgz or .tar.gz. If it was compressed using bzip2, .tar.bz2.

Application examples can be found in Section “Archives and Data Compression”.

locate pattern(s)
The locate command can find in which directory a specified file is located. If desired, use wild cards to specify file names. The program is very speedy, as it uses a database specifically created for the purpose (rather than searching through the entire file system). This very fact, however, also results in a major drawback: locate is unable to find any files created after the latest update of its database.

The database can be generated by root with updatedb.

updatedb [options(s)]
This command performs an update of the database used by locate. To include files in all existing directories, run the program as root. It also makes sense to place it in the background by appending an ampersand (&), so you can immediately continue working on the same command line (updatedb &).

find [option(s)]
The find command allows you to search for a file in a given directory. The first argument specifies the directory in which to start the search. The option -name must be followed by a search string, which may also include wild cards. Unlike locate, which uses a database, find scans the actual directory.

Commands to Access File Contents

 
cat [option(s)] file(s)
The cat command displays the contents of a file, printing the entire contents to the screen without interruption.

-n
Numbers the output on the left margin

less [option(s)] file(s)
This command can be used to browse the contents of the specified file. Scroll half a screen page up or down with PgUp and PgDn or a full screen page down with Space. Jump to the beginning or end of a file using Home and End. Press Q to exit the program.

grep [option(s)] searchstring filenames
The grep command finds a specific searchstring in the specified file(s). If the search string is found, the command displays the line in which the searchstring was found along with the file name.

-i
Ignores case

-l
Only displays the names of the respective files, but not the text lines

-n
Additionally displays the numbers of the lines in which it found a hit

-l
Only lists the files in which searchstring does not occur

diff [option(s)] file1 file2
The diff command compares the contents of any two files. The output produced by the program lists all lines that do not match.

This is frequently used by programmers who need only send their program alterations and not the entire source code.

-q
Only reports whether the two given files differ

File Systems

 
mount [option(s)] [<device>] mountpoint
This command can be used to mount any data media, such as hard disks, CD-ROM drives, and other drives, to a directory of the Linux file system.

-r
mount read-only

-t filesystem
Specifies the file system. The most common are ext2 for Linux hard disks, msdos for MS-DOS media, vfat for the Windows file system, and iso9660 for CDs.

For hard disks not defined in the file /etc/fstab, the device type must also be specified. In this case, only root can mount. If the file system should also be mounted by other users, enter the option user in the appropriate line in the /etc/fstab file (separated by commas) and save this change. Further information is available in mount.

umount [option(s)] mountpoint
This command unmounts a mounted drive from the file system. To prevent data loss, run this command before taking a removable data medium from its drive. Normally, only root is allowed to run the commands mount and umount. To enable other users to run these commands, edit the /etc/fstab file to specify the option user for the respective drive.

System Commands

 

System Information

 
df [option(s)] [directory]
The df (disk free) command, when used without any options, displays information about the total disk space, the disk space currently in use, and the free space on all the mounted drives. If a directory is specified, the information is limited to the drive on which that directory is located.

-H
shows the number of occupied blocks in gigabytes, megabytes, or kilobytes — in human-readable format

-t
Type of file system (ext2, nfs, etc.)

du [option(s)] [path]
This command, when executed without any parameters, shows the total disk space occupied by files and subdirectories in the current directory.

-a
Displays the size of each individual file

-h
Output in human-readable form

-s
Displays only the calculated total size

free [option(s)]
The command free displays information about RAM and swap space usage, showing the total and the used amount in both categories.

-b
Output in bytes

-k
Output in kilobytes

-m
Output in megabytes

date [option(s)]
This simple program displays the current system time. If run as root, it can also be used to change the system time. Details about the program are available in date.

Processes

 
top [options(s)]
top provides a quick overview of the currently running processes. Press H to access a page that briefly explains the main options to customize the program.

ps [option(s)] [process ID]
If run without any options, this command displays a table of all your own programs or processes — those you started. The options for this command are not preceded by hyphen.

aux
Displays a detailed list of all processes, independent of the owner.

kill [option(s)] process ID
Unfortunately, sometimes a program cannot be terminated in the normal way. However, in most cases, you should still be able to stop such a runaway program by executing the kill command, specifying the respective process ID (see top and ps).

kill sends a TERM signal that instructs the program to shut itself down. If this does not help, the following parameter can be used:

-9
Sends a KILL signal instead of a TERM signal, with which the process really is annihilated by the operating system. This brings the specific processes to an end in almost all cases.

killall [option(s)] processname
This command is similar to kill, but uses the process name (instead of the process ID) as an argument, causing all processes with that name to be killed.

Network

 
ping [option(s)] host name|IP address
The ping command is the standard tool for testing the basic functionality of TCP/IP networks. It sends a small data packet to the destination host, requesting an immediate reply. If this works, ping displays a message to that effect, which indicates that the network link is basically functioning.

-c
number Determines the total number of packages to send and ends after they have been dispatched. By default, there is no limitation set.

-f
flood ping: sends as many data packages as possible. A popular means, reserved to root, to test networks.

-i
value Specifies the interval between two data packages in seconds. Default: one second

nslookup
The Domain Name System resolves domain names to IP addresses. With this tool, send queries to information servers (DNS servers).

telnet [option(s)] host name or IP address
Telnet is actually an Internet protocol that enables you to work on remote hosts across a network. telnet is also the name of a Linux program that uses this protocol to enable operations on remote computers.

Warning

Do not use telnet over a network on which third parties can eavesdrop. Particularly on the Internet, use encrypted transfer methods, such as ssh, to avoid the risk of malicious misuse of a password (see the man page for ssh).

Miscellaneous

 
passwd [option(s)] [username]
Users may change their own passwords at any time using this command. Furthermore, the administrator root can use the command to change the password of any user on the system.

su [option(s)] [username]
The su command makes it possible to log in under a different user name from a running session. When using the command without specifying a user name, you will be prompted for the root password. Specify a user name and the corresponding password to use the environment of the respective user. The password is not required from root, as root is authorized to assume the identity of any user.

halt [option(s)]
To avoid loss of data, you should always use this program to shut down your system.

reboot [option(s)]
Does the same as halt with the difference that the system performs an immediate reboot.

clear
This command cleans up the visible area of the console. It has no options.

Linux Commands pdf

download-button-20100510

Share

CCcam.channelinfo and CCcam.providers and ..auto Update every day.

 

 

This script downloads latest files
SoftCam.Key
constant.cw
AutoRoll.Key
oscam.keys
CCcam.channelinfo
CCcam.prio
CCcam.providers
ip2country.csv

 

auto Update at 00:00 every day
Copy the file autoupdate.sh in /var/etc/script
and chmod file autoupdate.sh 755

 

Insert this line in the file crontab ( /etc/crontab )
00 00 * * * root /var/etc/script/./autoupdate.sh

 

47-download-gif-124

 

 

Share

Installation script for automated MultiCS installation

 

 

Multics r81_x64     DOWNLOAD

Multics r81_x32     DOWNLOAD

 

Multics r82_x64    DOWNLOAD

Multics r82_x32    DOWNLOAD

 

Multics r82_Custom_Build_x64   DOWNLOAD

Multics r82_Custom_Build_x32   DOWNLOAD

 

Multics r83x64    DONLOAD

 

 

 

 

Share

CCcam Packages

 

cosmos2

 

 

AB Sat (Incl. HD)
Akta TV (MaxTV) (Incl. HD)
ART / Al Awael
ART / Arabesque
Berbère TV
BIS TV
Bulsatcom (Incl. HD)
Canal+ / CanalSat (Incl. HD)
Canal Digitaal (Incl. HD)
Canal+ on ArabSat
Arab Tv Net
CSLink (Incl. HD)
Cyfra+ (Incl. HD)
Cyfrowy Polsat (Incl. HD)
Digital+ (Incl. HD)
DigitAlb Premuim
Digiturk
Digi TV (Incl. HD)
D-Smart (Incl. HD)
Fransat
Freesat
HD+
Euro1080
Hello HD
ITV Partner (Incl. HD)
Meo Satélite (Incl. HD)
Tivu
Multichoice Africa
Multivision Latino
Nova
Pehla
Platforma
RTVi
SKY De (Incl. BigBrother&HD)
Sky UK (Incl. HD – Setanta Soon)
Sky It SkyLink
SRG
TéléSAT
TNT Sat
Tntop Total TV
Tricolor TV
TVGlobo
TV Numeric
TV Vlaanderen
TVCabo (Incl. HD)
UPC Direct
Viasat Yes (Incl. HD)
Share