Home / Linux

Linux

Installing the latest MySQL 5.6 on Amazon Linux using official repos

Installing the latest MySQL 5.6 on Amazon Linux using official repos Below are the process/steps for installation: sudo yum localinstall http://repo.mysql.com/mysql-community-release-el6-3.noarch.rpm sudo yum install mysql-community-server sudo service mysqld start Configure mysqld to start on boot: sudo chkconfig mysqld on chkconfig –list mysqld And that’s it, you’re all set up and …

Read More »

How to install vlc player in centos

$ cd /etc/yum.repos.d/ $ wget http://pkgrepo.linuxtech.net/el6/release/linuxtech.repo $ yum -y install vlc Step 1: Add Repository for Linuxtech – First switch user to “root” account with command “su -“ – Next run the following commands $ cd /etc/yum.repos.d/ $ wget http://pkgrepo.linuxtech.net/el6/release/linuxtech.repo Step 2: Check VLC version in Repo – Run following …

Read More »

How to Change Hostname in centos

$ vi /etc/sysconfig/network NETWORKING=yes HOSTNAME=newHostName and: $ vi /etc/hosts 127.0.0.1 newHostName 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 and then rebooting the system

Read More »

Copy data by rsync from one server to another server in linux

Basic syntax of rsync command $ rsync options source destination $ rsync -avzh /root/rpmpkgs /tmp/backups/ $ rsync -avz rpmpkgs/ root@192.168.0.101:/home/ Copy a File from a Remote Server to a Local Server with SSH $ rsync -avzhe ssh root@192.168.0.100:/root/install.log /tmp/ Copy a File from a Local Server to a Remote Server …

Read More »

Linux Command

Swich the user to root user $ sudo su Install httpd service $ sudo yum install httpd Install mysql-server service $ sudo yum install mysql-server Install php & php-mysql $ sudo yum install php php-mysql Install phpmyadmin $ sudo yum –enablerepo=epel install phpmyadmin Edit the httpd.conf file $ nano /etc/httpd/conf/httpd.conf …

Read More »

Unlink or Remove a Symbolic link in Linux

How to unlink or remove a symbolic link in linux that was created with “ln” command Use the unlink command To unlink a symbolic link file : # unlink symbolic_link_file To unlink a symbolic link to a directory : # unlink symbolic_link_dir When unlinking a directory make sure that you …

Read More »
Welcome to VShakya

For this week my all price is very low !

Don't miss to get my services

Thanks

 

Contact us