Archive for the ‘Linux’ Category

Zimbra 8.6 Redirect HTTP to HTTPS

Posted: December 5, 2017 in Linux

Thanks to

https://wiki.zimbra.com/wiki/Provide_HTTP(s)_Integration_with_Apache

http://know.mailsbestfriend.com/how_to_change_the_web_access_port_for_zimbra-260852131.shtml

https://www.zimbra.com/docs/ne/6.0.8/administration_guide/ZimbraProxy.07.6.html

https://wiki.zimbra.com/wiki/CLI_zmtlsctl_to_set_Web_Server_Mode

Change Web Server Mode

login as zimbra

$ zmtlsctl redirect

clip_image002

$ zmcontrol restart

clip_image004

(more…)

Thanks to https://wiki.zimbra.com/wiki/Installing_a_LetsEncrypt_SSL_Certificate

clip_image002

clip_image003

Installing Let’s Encrypt on a Zimbra Server

Let’s Encrypt must be installed on one Linux machine to obtain the proper SSL Certificate, CA Intermediate, and Private Key. It is not required that it be on the same Zimbra Server, but it could save time and help to obtain the renewals, etc.

· First Step is to stop the jetty or nginx service at Zimbra level

(more…)

https://knowledge.symantec.com/support/ssl-certificates-support/index?page=content&id=SO20541

https://wiki.zimbra.com/wiki/Installing_a_GeoTrust_Commercial_Certificate

Login as root :

1. Copy certificate your existing to /opt/zimbra/ssl/zimbra/commercial/with name commercial.key, commercial.crt and commercial_ca.crt

clip_image002

clip_image003

2. Commercial_ca.crt from ca_bundle.crt or Intermediate.crt and Root.crt (merge)

—–BEGIN CERTIFICATE—–

Intermidiate

—–END CERTIFICATE—–

—–BEGIN CERTIFICATE—–

Root

—–END CERTIFICATE—–

(more…)

Avoid Check Hardisk on RedHat

Posted: March 27, 2017 in Linux

image
When you restart RedHat, type command below
# shutdown –rf now
If you forget type restart with shutdown –rf now, when booting linux will be check your hardisk. But, from booting you can avoid the check disk. You edit Grub, press F11 and a (add for fastboot) and enter
image
image
image
image
CMIIW, Thanks Smile

Install Varnish with Apache Server

Posted: March 24, 2017 in Linux

Install apt-transport-https

# apt-get install apt-transport-https
clip_image002

Install Curl

# apt-get install curl
clip_image004

Add GPG Key Varnish

curl https://repo.varnish-cache.org/ubuntu/GPG-key.txt | apt-key add – clip_image006

Add Repository Varnish

# echo "deb https://repo.varnish-cache.org/ubuntu/ trusty varnish-4.1" >> /etc/apt/sources.list.d/varnish-cache.list clip_image008

(more…)

Install samba on Ubuntu

Posted: February 17, 2017 in Linux

https://www.server-world.info/en/note?os=Ubuntu_14.04&p=samba&f=4

Setting Network

# nano /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 172.90.1.140
netmask 255.255.255.0
network 172.90.1.0
broadcast 172.90.1.255
gateway 172.90.1.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 172.90.1.140
dns-search fikry.local

Setting Hosts

(more…)

How to Install Zimbra on Ubuntu

Posted: July 15, 2016 in Linux

https://www.howtoforge.com/tutorial/ubuntu-14-04-zimbra-server/

Change Password Root

$ sudo passwd

Install openssh-Server

# apt-get install openssh-server

clip_image002

Enable root SSH from Network

# nano /etc/ssh/sshd_config

clip_image004

To enable services SSH after configuration, restart ubuntu

# reboot

(more…)

Install OwnCloud Server on Debian 8

Posted: April 7, 2016 in Linux

Thanks to

image

https://owncloud.org/

https://www.howtoforge.com/tutorial/owncloud-install-debian-8-jessie/

http://www.tecmint.com/install-owncloud-to-create-personal-storage-in-linux/

https://www.howtoforge.com/community/threads/enable-http-strict-transport-security.70741/

Install SSH

# apt-get install openssh-server

clip_image002

(more…)

clip_image050

Thanks to CloudNetwork

http://www.cloudnetwork.in/2015/01/how-to-install-oracle-11g-r2-step-by.html

https://www.youtube.com/watch?v=dM4ZeezZPGs

Add Repository Indonesia J

# vi /etc/apt/sources.list

deb http://kambing.ui.ac.id/debian/ wheezy main contrib non-free

deb http://kambing.ui.ac.id/debian/ wheezy-updates main contrib non-free

deb http://kambing.ui.ac.id/debian-security/ wheezy/updates main contrib non-free

# apt-get update

1. Installing Dependencies

Logging into ROOT and Open Terminal

sudo apt-get update

sudo apt-get install gcc make binutils gawk x11-utils rpm build-essential libaio1 libaio-dev libmotif4 libtool expat alien ksh pdksh unixODBC unixODBC-dev sysstat elfutils libelf-dev binutils lesstif2 lsb-cxx libstdc++5

2. some softlinks to start the Installation

sudo mkdir /usr/lib64

sudo ln -s /etc /etc/rc.d

sudo ln -s /lib/x86_64-linux-gnu/libgcc_s.so.1 /lib64/

sudo ln -s /usr/bin/awk /bin/awk

sudo ln -s /usr/bin/basename /bin/basename

sudo ln -s /usr/bin/rpm /bin/rpm

sudo ln -s /usr/lib/x86_64-linux-gnu/libc_nonshared.a /usr/lib64/

sudo ln -s /usr/lib/x86_64-linux-gnu/libpthread_nonshared.a /usr/lib64/

sudo ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /lib64/

sudo ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /usr/lib64/

 

(more…)

Increase Disk LVM Linux Redhat on VMWare

Posted: January 18, 2016 in Linux

https://www.redhat.com/archives/linux-lvm/2007-December/msg00050.html

https://ma.ttias.be/increase-a-vmware-disk-size-vmdk-formatted-as-linux-lvm-without-rebooting/

1. Edit disk on VMWare Disk

clip_image002

2. Increase Disk with GParted

clip_image004

3. Increase Disk via Redhat with Command

# fdisk /dev/sdb

(more…)