Skip to main content

Posts

Showing posts with the label redhat

GoCD installation on centos 7

Installation of the GoCD server using the package manager will require root access on the machine. You are also required to have a java version 8 for the server to run. The installer will create a user called go if one does not exist on the machine. The home directory will be set to /var/go. If you want to create your own go user, make sure you do it before you install the GoCD server. RPM based distributions (ie RedHat/CentOS/Fedora) The GoCD server RPM installer has been tested on RedHat Enterprise Linux and CentOS. It should work on most RPM based Linux distributions. If you prefer to use the YUM repository and install via YUM, paste the following in your shell — sudo curl https://download.gocd.org/gocd.repo -o /etc/yum.repos.d/gocd.repo sudo yum install -y java-1.8.0-openjdk #atleast Java 8 is required, you may use other jre/jdk if you prefer Once you have the repository setup, execute sudo yum install -y go-server Alternatively, if you have the server RPM  d...

GoCD installation on centos 7

Installation of the GoCD server using the package manager will require root access on the machine. You are also required to have a java version 8 for the server to run. The installer will create a user called go if one does not exist on the machine. The home directory will be set to /var/go. If you want to create your own go user, make sure you do it before you install the GoCD server.   RPM based distributions (ie RedHat/CentOS/Fedora) The GoCD server RPM installer has been tested on RedHat Enterprise Linux and CentOS. It should work on most RPM based Linux distributions. If you prefer to use the YUM repository and install via YUM, paste the following in your shell — sudo curl https://download.gocd.org/gocd.repo -o /etc/yum.repos.d/gocd.repo sudo yum install -y java-1.8.0-openjdk #atleast Java 8 is required, you may use other jre/jdk if you prefer Once you have the repository setup, execute sudo yum install -y go-server Alternatively, if you have the server RPM  downloaded : sudo ...

pyDash – A Web Based Linux Performance Monitoring Tool

pydash  is a lightweight  web-based monitoring tool for Linux  written in  Python  and  Django  plus  Chart.js . It has been tested and can run on the following mainstream Linux distributions: CentOS, Fedora, Ubuntu, Debian, Arch Linux, Raspbian as well as Pidora. You can use it to keep an eye on your Linux PC/server resources such as CPUs, RAM, network stats, processes including online users and more. The dashboard is developed entirely using Python libraries provided in the main Python distribution, therefore it has a few dependencies; you don’t need to install many packages or libraries to run it. In this article, we will show you how to install  pyda sh to monitor Linux server performance. How to Install pyDash in Linux System 1.  First install required packages:  git  and  Python pip  as follows: -------------- On Debian/Ubuntu -------------- $ sudo apt-get install git python-pip -------------- On Ce...

pyDash – A Web Based Linux Performance Monitoring Tool

pydash is a lightweight web-based monitoring tool for Linux written in Python and Django plus Chart.js . It has been tested and can run on the following mainstream Linux distributions: CentOS, Fedora, Ubuntu, Debian, Arch Linux, Raspbian as well as Pidora. You can use it to keep an eye on your Linux PC/server resources such as CPUs, RAM, network stats, processes including online users and more. The dashboard is developed entirely using Python libraries provided in the main Python distribution, therefore it has a few dependencies; you don’t need to install many packages or libraries to run it. In this article, we will show you how to install pyda sh to monitor Linux server performance. How to Install pyDash in Linux System 1. First install required packages: git and Python pip as follows: -------------- On Debian/Ubuntu -------------- $ sudo apt-get install git python-pip -------------- On CentOS/RHEL -------------- # yum install epel-release # yum install git python-pip ------...

Cronjob

This documents gives details about the cronjob run options: This field follows the syntax of cron (with minor differences). Specifically, each line consists of 5 fields separated by TAB or whitespace: MINUTE HOUR DOM MONTH DOW MINUTE Minutes within the hour (0–59) HOUR The hour of the day (0–23) DOM The day of the month (1–31) MONTH The month (1–12) DOW The day of the week (0–7) where 0 and 7 are Sunday. To specify multiple values for one field, the following operators are available. In the order of precedence, *  specifies all valid values M-N  specifies a range of values M-N/X  or  */X  steps by intervals of X through the specified range or whole valid range A,B,...,Z  enumerates multiple values To allow periodically scheduled tasks to produce even load on the system, the symbol  H  (for “hash”) should be used wherever possible. For example, using  0 0 * * *  for a dozen daily jobs will cause a large spike at midn...

Openstack

http://docs.openstack.org/juno/install-guide/install/apt/content/ch_overview.html please go through this  https://www.rdoproject.org/install/quickstart/ https://radez.fedorapeople.org/

Linux commands

sudo!! : Forgot to run a command with sudo? You need not re-write the whole command, just type "sudo!!" and the last command will run with sudo. 2. Python -m SimpleHTTPServer : Creates a simple web page for the current working directory over port 8000. 3. mtr : A command which is a combination of 'ping' and 'traceroute' command. 4. Ctrl+x+e : This key combination fires up, an editor in the terminal, instantaneously. 5. nl : Outputs the content of text file with lines Numbered. 6. shuf : Randomly selects line/file/folder from a file/folder. 7. ss : Outputs Socket Statistics. 8. Last: Want to know history of last logged in users? This command comes to rescue here. 9. curl ifconfig.me : Shows machine's external IP Address. 10. tree : Prints files and folders in tree like fashion, recursively. 11. Pstree : Prints running processes with child processes, recursively. 13. stat : Shows the status information of a file as well as of a file s...

Docker

currently with docker you are limited to only linux machines and apps. It is like installing various zip files on your os. because of the use of base image we can save space.All the containers use the same base image. If you want 100 containers in traditional vm env you would have needed 100GB space considering 1gb per image but with docker you will need only 1gb of space. Suppose if you need emacs and apache then docker will add to separate images for it on top of each other and with the base image it will form a union image. this image is readonly so to write in it docker will place a writable container and the whole set container:image(apache)+image(emacs)+base image will make a whole container in the docker.  But the writable container is not persistent. Docker boots the image/ image layers on top f each other. apt-cache search docker.io ---will display a list of packages containing docker apt-chache show docker.io ---- will display all details of packaage Check...