July 2016
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031

Categories

July 2016
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031

CENTOS 7.2 TEXT TO GUI

[root@clusterserver1 ~]# yum repolist Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centos.usonyx.net * epel: mirror.wanxp.id * extras: centos.usonyx.net * updates: centos.usonyx.net repo id repo name status !base/7/x86_64 CentOS-7 – Base 9,007 !epel/x86_64 Extra Packages for Enterprise Linux 7 – x86_64 10,304 !extras/7/x86_64 CentOS-7 – Extras 356 !updates/7/x86_64 CentOS-7 – Updates 2,002 […]

CentOS 6.8 to compile and install LNMP

CentOS 6.8?nginx 1.9.14?mysql 5.6.23?php 5.6.17

service iptables stop chkconfig iptables off setenforce 0

vi /etc/sysconfig/selinux SELINUX=disabled

yum -y install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel curl curl-devel e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel openssl openssl-devel openldap openldap-devel openldap-clients […]

Redis test

$ make test You need tcl 8.5 or newer in order to run the Redis test make: *** [test]

rpm -qa | grep tcl

yum install tcl

How to enable SSH Root Login In Solaris 11

Permit SSH Login for Root in Oracle Solaris 11

Open Terminal window and switch to root user.

1. Change the file /etc/ssh/sshd_config PermitRootLogin yes with PermitRootLogin no and save file.

vi /etc/ssh/sshd_config

PermitRootLogin yes

2. Comment out the “CONSOLE=/dev/console” line in /etc/default/login.

vi /etc/default/login

#CONSOLE=/dev/console

3.Remove “;type=role” from the root […]

swapon: swapfile: swapon failed: Invalid argument

fallocate -l 4G /swapfile chmod 600 /swapfile mkswap /swapfile

swapon /swapfile swapon: /swapfile: swapon failed: Invalid argument

echo “/swapfile swap swap sw 0 0” >> /etc/fstab echo “vm.swappiness = 10” >>/etc/sysctl.conf echo “vm.vfs_cache_pressure = 50” >> /etc/sysctl.conf

The problem with fallocate(1) is that it uses filesystem ioctls to make the allocation fast and effective, […]

CentOS 7 Change Network Interface Name From Eno* To Eth0

CentOS 7 Change Network Interface Name From Eno* To Eth0

After you installed CentOS 7.0 or RHEL 7.0 system, you maybe notice that the default name of network interface was changed from “Eth*” to “Eno*”. How do I change network interface name to “Eth0? in CentOS 7.0? This post will show you the ways to […]