Tip 1: How to connect the repository

Tip 1: How to connect the repository


Despite the fact that Windows is prettywidespread platform, meanwhile it is not the only one. Linux is also popular. Operating systems on the Linux kernel have a plus - you do not need to search for software, just connect repository.



How to connect a repository


You will need



  • Operating system on the Linux platform.


Instructions


1


How does the software installation work?under Windows? You open the browser, search the search engine for the program, go to the official site and download to your hard drive. If the program does not have free access, you will have to pay for it. In Linux-based systems, everything is much simpler: connect repository, go to the "Application Center", enter the name of the program and click the "Install" button. The software is free, so you can get started right away.


2


But what is this repository? In fact - this is a bank of utilities and programs of differenttype, a kind of storage server. When you need to install a program, you refer to this bank and get the distribution of the desired application. For each version of the Linux operating system, there is a repository. By default, when the system is installed, the repositories are already connected.


3


To connect the repository, useapplet Synaptic. This software is usually located in the "System" tab of the general menu. Each version of the Linux system is individual and the location of the general menu can be different. For example, in systems of the Alt family, the lower menu line, and in the Ubuntu family, on the contrary, the top menu line, the "Administration" section.


4


You will see a window in which you want toSpecify the superuser password - the equivalent of the administrator on Windows systems. Note that when entering the password, you need to specify the required keyboard layout, use Ctrl + Shift or Alt + Ctrl to change it. After entering, press the Enter key or click the "OK" button.


5


In the main application window, click the top menu"Options" ("Settings") and select the "Repositories" command. Before you will be an applet, which will indicate all the active or used repositories. Here you need to mark the necessary repositories by ticking, or remove marks from unused repositories. The name of almost every repository reflects its content, for example, ppa.launchpad.net/mozillateam/firefox-stable contains firefox, i.e. is used to install this browser.


6


To save changes after activating the requiredrepositories, click the "Create" or "OK" button. Now you have additional repositories that allow you to automatically update when you exit a more recent version of the program. To get product information in connected add-ons, click the Get Details button.


7


To download the program, go to the Application Center or to the Update Manager applet. Click the "Check" button, and then "Install updates."



Tip 2: How to Start the Crones


A standard component for executing commands forThe schedule for UNIX-like operating systems is cron. The crond daemon usually starts when the system is started. However, for various reasons this may not happen. Run crowns you can either manually or by configuring its automatic download.



How to start krona


You will need



  • - The root credentials.


Instructions


1


Start the session with superuser privileges. If the graphical shell is loaded, run the terminal emulation program and start the root session by running the su command. Or go to one of the text consoles, simultaneously pressing the Alt, Ctrl and F1-F12 keys and log in as root.


2


Check the state of the crond daemon. Execute the command: service crond status. If a message like crond is running appears, the crone is started, and you can start configuring it or adding tasks. If this message is crond is stopped, the service is stopped, go to the fifth step to start it. If the service: crond: Unrecognized service is displayed, you will have to install the crowns.


3


Install any cron implementation froman accessible source (a repository on the disk with the OS distribution, the developer's online distribution repository, etc.). Package managers such as apt-get, rpm, etc. are installed in the system. You can also download the source code of a suitable cron and compile it on your machine.


4


Configure the cron if necessary. Edit the files / etc / crontab, /etc/cron.allow, /etc/cron.deny. You can read about the format of information representation in them in the man or info documentation. If this is necessary (it was not implemented during the installation of cron), place the initialization script in the /etc/rc.d/init.d directory. Create links to it with the proper names in the script directories for each level of loading (usually the directories /etc/rc.d/rc1.d-/etc/rc.d/rc6.d).


5


Run the crown. Execute the command: service crond startThere will be a status message indicating the success or failure of the operation.


6


If necessary, create cron jobs forone or more users. Read the crontab utility information by running the following command: crontab --helpCreate the cron job file and set it as a command: crontab -u anyuser filepath Here anyuser is the user name, and filepath is the path to the job file. Alternatively, use the crontab command with the -e option: crontab -u anyuser -eThe text editor is started, where you can edit the list of tasks.