Congratulations!

[Valid Atom 1.0] This is a valid Atom 1.0 feed.

Recommendations

This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations.

Source: https://www.hackthesec.co.in/feeds/posts/default

  1. <?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6353083638681129765</id><updated>2024-02-07T12:07:34.538+05:30</updated><category term="Linux Tutorial"/><category term="Linux"/><category term="Unix"/><category term="Centos"/><category term="Ubuntu"/><category term="RHEL"/><category term="centos7"/><category term="Rhel7"/><category term="Debian"/><category term="Mysql"/><category term="Apache"/><category term="ubuntu-14.04"/><category term="LATEST EXPLOIT"/><category term="open_source_software"/><category term="Linux_Server"/><category term="Vulnerability"/><category term="Linux-Server"/><category term="LinuxMint"/><category term="Fedora"/><category term="NGINX"/><category term="Ubuntu-16.04"/><category term="Exploit"/><category term="Monitoring_Tools"/><category term="ubuntu-15.10"/><category term="Ubuntu_Linux"/><category term="ubuntu_server"/><category term="Linux_Exploit"/><category term="PHP"/><category term="RHEL6"/><category term="Security"/><category term="centos_server"/><category term="shell_scripting"/><category term="MariaDB"/><category term="Database"/><category term="Linux_Security"/><category term="SSH"/><category term="Hacking News"/><category term="centos6"/><category term="redhat"/><category term="LAMP"/><category term="Linux_Tools"/><category term="Monitoring"/><category term="backup-management"/><category term="ftp"/><category term="linux_shell_scripting"/><category term="Ddos Attack"/><category term="Java"/><category term="Mysql_Database"/><category term="SSH_Security"/><category term="SUSE"/><category term="postfix"/><category term="rhel5"/><category term="sql"/><category term="web_server"/><category term="DNS"/><category term="Iptables"/><category term="Linux_Tutorial"/><category term="Mail_Server"/><category term="Malware"/><category term="Node.Js"/><category term="OpenSUSE"/><category term="backup_scripting"/><category term="mail"/><category term="phpmyadmin"/><category term="proxy"/><category term="proxy_server"/><category term="Android"/><category term="Arch_Linux"/><category term="CMS"/><category term="Cyber Attack"/><category term="FreeBSD"/><category term="Linux_Shell"/><category term="Linux_command"/><category term="MongoDB"/><category term="Mysql-Server"/><category term="Network_Traffic_Monitor"/><category term="PPA"/><category term="PostgreSQL"/><category term="Programming"/><category term="Tomcat"/><category term="Tomcat_Server"/><category term="fail2ban"/><category term="framework"/><category term="git"/><category term="nosql_database"/><category term="secure sshd"/><category term="virtual_machine"/><category term="virtualization"/><category term="vsftp"/><category term="zabbix"/><category term="Apache_Ddos"/><category term="Buffer-Overflow"/><category term="DHCP"/><category term="DNS_Server"/><category term="Firewall"/><category term="Google_Authenticator"/><category term="HTTP"/><category term="Install SSL Certificate"/><category term="KDE"/><category term="Lighttpd"/><category term="Linux Security"/><category term="Linux_Find_Command"/><category term="MaraiDB"/><category term="Monitoring_Server"/><category term="Nodejs_programming"/><category term="Openssh"/><category term="ProFTPD"/><category term="Protect_SSH"/><category term="SSL"/><category term="SSL Encryption"/><category term="Two-Factor-Authentication"/><category term="VirtualBox"/><category term="Zabbix_Agent"/><category term="apache_server"/><category term="cPanel"/><category term="cloud"/><category term="docker"/><category term="fail2ban ssh"/><category term="ftp_server"/><category term="kernel_vulnerability"/><category term="linux_scripting"/><category term="mysql_backup"/><category term="rsync"/><category term="samba"/><category term="samba_sharing"/><category term="squid"/><category term="squid_proxy"/><category term="ubuntu22.04"/><category term="webmin"/><category term="wordpress"/><category term="ACL"/><category term="ACL_Permission"/><category term="Android Fingerprint Sensor"/><category term="Android Hacking Tool"/><category term="Ansible"/><category term="Ansible_Automation_Tool"/><category term="Antivirus"/><category term="Apache_Maven"/><category term="Apple Mac Malware"/><category term="Apple Mac OS X"/><category term="Command"/><category term="Credit Card Hacked"/><category term="DDOS_Deflate"/><category term="DHCP-Server"/><category term="DKIM"/><category term="DOS"/><category term="Domain_Name_System"/><category term="EPEL"/><category term="File_Transfer_Protocol"/><category term="Fingerprint Scanner"/><category term="FirewallD"/><category term="Firmware Hacking"/><category term="Foreman"/><category term="GUI_Linux"/><category term="Gentoo"/><category term="Gmail_Relay_with_postfix"/><category term="ICANN"/><category term="Internet Of Things"/><category term="KDE_Plasma"/><category term="LEMP"/><category term="Linux Ransomware"/><category term="Linux_Permission"/><category term="Linux_Terminal_server_project"/><category term="MacOS"/><category term="Mysql_Connection_nodejs"/><category term="NFS"/><category term="NFS_Share"/><category term="Nagios"/><category term="PHP-FPM"/><category term="PHP7"/><category term="Penetration_Testing"/><category term="RDBMS"/><category term="Ransomware"/><category term="RkHunter"/><category term="SMTP"/><category term="SSH_Server"/><category term="SUSE_Linux"/><category term="Shell"/><category term="Swap"/><category term="Swap_Extend"/><category term="System_Monitoring"/><category term="Unix_Server"/><category term="VPN"/><category term="Web_browser"/><category term="Wordpress_setup"/><category term="Zabbix_Server"/><category term="asterisk"/><category term="bash_scripting"/><category term="bruteforce_prevention"/><category term="cron"/><category term="cronjob"/><category term="crontab"/><category term="development_environment"/><category term="disk-management"/><category term="dovecot"/><category term="eclipse"/><category term="eclipse_IDE"/><category term="ghost_instance"/><category term="git_repository"/><category term="hacking_news"/><category term="hosting"/><category term="hosting_control_panel"/><category term="kali_linux"/><category term="memcached"/><category term="memcached_php"/><category term="ownCloud"/><category term="password-recovery"/><category term="programming_language"/><category term="puppet"/><category term="rsync_backup_script"/><category term="samba-file-sharing"/><category term="scripting"/><category term="shellcode"/><category term="sql_injection"/><category term="unzip"/><category term="useradd"/><category term="vm"/><category term="vnc"/><category term="vnc_viewer"/><category term="voip"/><category term="web-based-graphical-tool"/><category term="200 Prisoners due to a Silly Software Bug"/><category term="AWS"/><category term="AWStats"/><category term="Amazon-web-service"/><category term="Android Reboot Command"/><category term="Android Reboot Loop"/><category term="Android Reboot Recovery"/><category term="Android_Development"/><category term="Another ISIS Hacker Killed by U.S Drone Strike in Syria"/><category term="Antenna"/><category term="Apache_ActiveMQ"/><category term="Apache_Cassandra"/><category term="Apache_Https"/><category term="Apache_Log_Analyzer"/><category term="Apache_ModSecurity"/><category term="Apache_Struts"/><category term="Apache_Vulnerability"/><category term="Apache_caching"/><category term="Apache_mod_rewrite"/><category term="Apple Ios Hacking"/><category term="Apple Mac OS"/><category term="Atom"/><category term="Atom_Text_Editor"/><category term="Atop"/><category term="Atop_Monitoring_Tool"/><category term="Aws_Instance"/><category term="BDF_bruteforce_prevention"/><category term="Backup_Restore"/><category term="Biling_System"/><category term="Biometric Scanner"/><category term="Biometric Security Systems"/><category term="Block_Email"/><category term="Books"/><category term="Bootable_CD"/><category term="Brackets"/><category term="Brackets_Editor"/><category term="Bug Hunting"/><category term="CDN"/><category term="CGI"/><category term="CGI_Script"/><category term="CISSP Certification Exam"/><category term="CISSP Certification Training"/><category term="CPAN"/><category term="CWP"/><category term="Caching-Only_DNS"/><category term="Cacti"/><category term="Cacti_Monitoring_Tools"/><category term="Card Skimming"/><category term="Casino Hacked"/><category term="Cassandra"/><category term="Chillispot"/><category term="Chinese Hackers tried to Take Down Tibetan Social Networking Website"/><category term="Cinnamon"/><category term="Cisco"/><category term="Cissp Training"/><category term="Cluster"/><category term="Community_Forum"/><category term="Content_Delivery_Network"/><category term="Cookies Stealing"/><category term="Crash Android Phone"/><category term="Credit Card Fraud"/><category term="Credit Card Skimmers"/><category term="Cyber Security"/><category term="Cyber Security Certifications"/><category term="Cyber Security Training"/><category term="D-Link Exploit"/><category term="DC"/><category term="DD-WRT"/><category term="DDOS_Protection"/><category term="DMA_Radius_Manager"/><category term="Data Breach"/><category term="Decrypt Ransomware"/><category term="Decryption Tool"/><category term="Deepin_Linux"/><category term="Dell_vulnerability"/><category term="Denial-Of-Service Attacks"/><category term="DenyHosts"/><category term="Desktop_Enviroment"/><category term="Disable_mysql_strict"/><category term="Discussion_Forum"/><category term="Django_On_Nginx"/><category term="Dock"/><category term="DomainKeys_Identified_Mail"/><category term="Domain_Controller"/><category term="Dos_Attack"/><category term="Download_Manager"/><category term="Duplicati"/><category term="Duplicati_Backup_System"/><category term="EBS-Volume"/><category term="EPEL_Repo"/><category term="EasyEngine"/><category term="Elefant"/><category term="Elefant_CMS"/><category term="ElkArte"/><category term="Elkarte_Community_Forum"/><category term="Email"/><category term="Enabling_Email_Authentication"/><category term="Encrypt"/><category term="Encryption"/><category term="Extend_Partition"/><category term="FTPShell"/><category term="FileSystem"/><category term="Fingerprint Security System"/><category term="Firefox"/><category term="Flash_Drive"/><category term="Free Windows 10 Download"/><category term="FreePBX"/><category term="FreePBX_Centos"/><category term="Funtenna"/><category term="GNOME"/><category term="Galera_Cluster"/><category term="Gatekeeper Mac"/><category term="Gatekeeper Software"/><category term="Ghost"/><category term="Git_hooks"/><category term="Global Internet Authority"/><category term="Gluster"/><category term="GlusterFS"/><category term="Gmail_Relay"/><category term="Go_Language"/><category term="Google_Drive"/><category term="Gunicom"/><category term="HAProxy"/><category term="HDD_Checking"/><category term="HHVM"/><category term="HTTP2.0"/><category term="HTTP_Authentication"/><category term="Hack Windows Computer"/><category term="Hackathon"/><category term="Hacker Next Conference"/><category term="Hacking"/><category term="Hacking Certification"/><category term="Hacking Competition"/><category term="Hacking Conference"/><category term="Hacking Credit Cards"/><category term="Hacking Mac Computer"/><category term="Hacking WiFi Password"/><category term="Hide_Application_port"/><category term="History_command"/><category term="How To Crash Android OS"/><category term="Hugo_Site"/><category term="Hugo_Site_Production"/><category term="ICMP"/><category term="IDE"/><category term="IMAP"/><category term="IOS Vulnerability"/><category term="ISPConfig"/><category term="Icann Whois"/><category term="Icinga"/><category term="Icinga_Monitoring_Tool"/><category term="Install_Pimcore"/><category term="Ionic"/><category term="Ionic_Framework"/><category term="Jail Authorities Mistakenly Early Released 3"/><category term="Java Programming"/><category term="Java9"/><category term="JavaScript"/><category term="Jenkins"/><category term="KUbuntu"/><category term="KVM"/><category term="Kernel Hacker"/><category term="Kernel Privilege Escalation"/><category term="Kloxo"/><category term="Knockd_Tool"/><category term="LAMP_Automatic_Installation"/><category term="LDAP"/><category term="LTSP_Server"/><category term="LVM"/><category term="LVM_Partition"/><category term="LXC"/><category term="LXC_Linux_Containers"/><category term="LXDE"/><category term="Largest Ddos Attack"/><category term="Lets_Encrypt"/><category term="Light_table"/><category term="Linux Hacking"/><category term="Linux-Books"/><category term="Linux-Mail-Server"/><category term="Linux-Security"/><category term="Linux_Backup"/><category term="Linux_Clone"/><category term="Linux_Filesystem"/><category term="Linux_Kernel_Bug"/><category term="Linux_LDAP"/><category term="Linux_Memory_Bandwidth"/><category term="Linux_compressing"/><category term="Linux_grep_command"/><category term="Linux_ssh_Permission"/><category term="Linux_unpacking"/><category term="Linux_youtube_downloader"/><category term="Live-syncing-daemon"/><category term="Local_Privilege_Escalation_Exploits"/><category term="Log.io"/><category term="Log_Analyzer"/><category term="Log_File_Navigator"/><category term="Logaholic"/><category term="Lsyncd"/><category term="MD5"/><category term="MS_SQL"/><category term="Mac Antivirus"/><category term="Mac OS X"/><category term="Mac Security"/><category term="Mac_Address_Change"/><category term="Mac_Changer"/><category term="Mail-server"/><category term="Mandiant"/><category term="MariaDb_Galera_Cluster"/><category term="MatrixSSL Tiny"/><category term="Maven"/><category term="Memory_Usage_Checker"/><category term="Microsoft"/><category term="Microsoft Windows 10"/><category term="Microsoft Xbox"/><category term="Microsoft_Kernel_Exploit"/><category term="Microsoft_SQL_Server"/><category term="Mikrotik"/><category term="ModSecurity"/><category term="Mod_Pagespeed"/><category term="MongoDB_Administration_Tool"/><category term="Munin"/><category term="Mysql_Password_Reset"/><category term="NIC"/><category term="NLOAD"/><category term="Naxsi"/><category term="Naxsi_On_Ubuntu"/><category term="Nette"/><category term="Nette_Php_Framework"/><category term="Network Security"/><category term="Network_Interface_card"/><category term="Nextcloud"/><category term="Nginx-RTMP"/><category term="Nginx_Authentication"/><category term="Nodequery"/><category term="OFFICE"/><category term="ONLYOFFICE"/><category term="OS"/><category term="OpenVas"/><category term="OpenXenManager"/><category term="Operating System"/><category term="Oracle"/><category term="OsClass"/><category term="Osclass_centos"/><category term="PERL"/><category term="PHP_FRM"/><category term="POP"/><category term="PPTP"/><category term="Package_Management"/><category term="Pagespeed"/><category term="Pakage_Manager"/><category term="Passenger"/><category term="Password_Policies"/><category term="Permission"/><category term="Pimcore"/><category term="Pimcore_Linux"/><category term="Plank_dock"/><category term="Printer Hacking"/><category term="Programming Competition"/><category term="Project_Send"/><category term="Projectsend_on_centos"/><category term="Prometheus_Monitoring"/><category term="RAM"/><category term="RAM_Memory"/><category term="RDP"/><category term="RDS"/><category term="RFI"/><category term="RHEL_Vulnerability"/><category term="RRDtool"/><category term="R_programming"/><category term="Radio Frequency"/><category term="Radio Hacking"/><category term="Radio Signals"/><category term="Radius"/><category term="Radius_Manager"/><category term="Rails"/><category term="Rails_Nginx_With_Passenger"/><category term="Ransom32 Ransomware"/><category term="Reboot Android In Safe Mode"/><category term="Remote_Desktop_Service"/><category term="Remote_File_Inclusion"/><category term="Remote_code_execution"/><category term="Repo"/><category term="Resize root EBS Volume"/><category term="Reverse_SSH_Tunneling"/><category term="RkHunter_Scanner"/><category term="RockMongo"/><category term="Root Dns Servers"/><category term="Roundcube"/><category term="Run_command_background"/><category term="SFTP"/><category term="SLES"/><category term="SMPlayer"/><category term="SMTP_Server"/><category term="SPF"/><category term="SSH_KEY"/><category term="SSH_Tunneling"/><category term="SSH_Vulnerbility"/><category term="SSL TLS Security"/><category term="Scanning"/><category term="Scientific_Linux"/><category term="Security Researcher"/><category term="Security_Tips"/><category term="Send_Email"/><category term="Shopping_Cart"/><category term="SlowLoris_Dos_Attack"/><category term="SonicWALL"/><category term="Square Reader"/><category term="Ssl Security"/><category term="StarOS"/><category term="Syria"/><category term="SysStat"/><category term="TCP_Reverse"/><category term="TLDs"/><category term="Taskwarrior"/><category term="Terminal_Service"/><category term="Text_Editor"/><category term="Thunderbolt Port"/><category term="Thunderstrike Attack"/><category term="Thunderstrike Port"/><category term="Tinyproxy"/><category term="Top_Lavel_Domains"/><category term="Torrent"/><category term="Trace_method_disable"/><category term="Trustwave"/><category term="Ubuntu_Bootable"/><category term="Unity"/><category term="Unix_command"/><category term="Unpacking"/><category term="Upgrading_Maven"/><category term="Usermin"/><category term="VLC"/><category term="VOIP_Softswitch"/><category term="VPN_SERVER"/><category term="Vagrant"/><category term="Varnish"/><category term="Varnish_Cache"/><category term="Virtual_Dev_Enviroment"/><category term="Vlc-media-player"/><category term="Voip_Billing"/><category term="Voip_Switch"/><category term="Volume-Resize"/><category term="Vulnerbility_Assessment_System"/><category term="WHM"/><category term="WSL"/><category term="Web Cookies"/><category term="Web_Hosting"/><category term="Web_Panel"/><category term="Wetty_On_Linux"/><category term="Wifi Hacking"/><category term="Windows 10"/><category term="Windows Phone"/><category term="Windows_Tutorial"/><category term="Wireless Network"/><category term="Worm"/><category term="X-Cart"/><category term="X11VNC"/><category term="X11VNC_Server"/><category term="XCache"/><category term="XCache_on_centos"/><category term="XMPP"/><category term="XMPP_Server"/><category term="Zero-Day Vulnerability"/><category term="Zimbra"/><category term="Zimbra_Open_Source_Mail_Server"/><category term="amanda"/><category term="amanda_backup_server"/><category term="amazonserver"/><category term="apache_subversion"/><category term="apache_trace_method"/><category term="backup_client"/><category term="block_websites"/><category term="caching"/><category term="caching_software"/><category term="calling"/><category term="cart"/><category term="centos5"/><category term="centos8"/><category term="chat-messanger"/><category term="cherokee_web_server"/><category term="citrix"/><category term="cockpit"/><category term="cockpit_monitoring_tools"/><category term="conference"/><category term="control_browser_caching"/><category term="conver_rpm_file_into_deb_file"/><category term="create_remote_repository"/><category term="cryptmount"/><category term="dialer"/><category term="disk_quota"/><category term="docker_containers"/><category term="doker_virtual_machine"/><category term="doker_vm"/><category term="dotProject"/><category term="drive"/><category term="dynamic_host_configuration"/><category term="e-commerce"/><category term="eJabberd"/><category term="exec_function"/><category term="exploit_shellcode"/><category term="file-sharing"/><category term="file_share"/><category term="file_sync"/><category term="firefox_browser"/><category term="forget-root-password"/><category term="forgetpassword"/><category term="forum_vulnerbility"/><category term="free-call"/><category term="free-skype-call"/><category term="fsck"/><category term="fsck_in_Linux"/><category term="git-repository"/><category term="glibc_vulnerability"/><category term="golang"/><category term="gurb"/><category term="gz"/><category term="hack"/><category term="hacker"/><category term="hardware_error_checking"/><category term="htaccess"/><category term="https_traffic_block"/><category term="iOS"/><category term="iOS_Development"/><category term="iRedMail"/><category term="iRedMail_Server"/><category term="instances"/><category term="jenkins_nginx_proxy"/><category term="jitsi"/><category term="jitsi_meet"/><category term="kali"/><category term="kloxo-mr"/><category term="light_table_IDE"/><category term="lighttpd_web_server"/><category term="linux_automation_tool"/><category term="linux_backup_management"/><category term="linux_error"/><category term="linux_todo_applications"/><category term="lnav"/><category term="locale"/><category term="locate"/><category term="md5_checksum"/><category term="media-player"/><category term="min"/><category term="min_browser"/><category term="mlocate"/><category term="mlocate_command"/><category term="monitoring_script"/><category term="nagios_core"/><category term="network"/><category term="network_monitor"/><category term="news"/><category term="nginx_ssl_certificate"/><category term="ngx_pagespeed"/><category term="npm"/><category term="oVirt"/><category term="open_source_message_broker"/><category term="openstack"/><category term="openstack_cloud"/><category term="phpLDAPAdmin"/><category term="phpPgAdmin"/><category term="phpVirtualBox"/><category term="phpwcms"/><category term="physical_memory"/><category term="project_management_application"/><category term="prosper"/><category term="prosper202"/><category term="protocol"/><category term="proxy_mode"/><category term="puppet_labs"/><category term="puppet_nodes"/><category term="putty"/><category term="puttygen"/><category term="r_programming_language"/><category term="ramui_forum_RFI"/><category term="ramui_forum_script"/><category term="relay"/><category term="remote_file_uploading"/><category term="rm_command"/><category term="root-password-recovery"/><category term="roundcube_webmail"/><category term="rsnapshot"/><category term="rsnapshot_backup"/><category term="rsync_centos"/><category term="searching"/><category term="secure ftp"/><category term="secure_protocol"/><category term="shell_scripting_books"/><category term="sitemagic"/><category term="sitemagic_cms"/><category term="skype"/><category term="skype-calls"/><category term="softwareerror"/><category term="squide_transparent_proxy"/><category term="ssh_management_console"/><category term="sshc"/><category term="storage"/><category term="subversion"/><category term="svn"/><category term="symfony"/><category term="symfony-framework"/><category term="system_administration"/><category term="system_locale"/><category term="tar"/><category term="timestamp"/><category term="tinyproxy_server"/><category term="todo_application"/><category term="uTorrent"/><category term="ubuntu_dns_server"/><category term="ufw"/><category term="uncompressing_gz"/><category term="unix_backup_management"/><category term="unrar"/><category term="user_management"/><category term="vDDOS"/><category term="virtual_private_network"/><category term="vnStat"/><category term="vpn-with-pptp"/><category term="web_analytics"/><category term="web_framework"/><category term="web_terminal"/><category term="webhosting"/><category term="webmail"/><category term="wetty_terminal"/><category term="win32k.sys_exploit"/><category term="windows"/><category term="wireshark"/><category term="wireshark-buffer-overflow"/><category term="wordpress_exploit"/><category term="wordpress_vulnerability"/><category term="www"/><category term="xencenter"/><category term="xenserver"/><category term="youtube_downloader"/><category term="yum_command"/><category term="zip"/><title type='text'>Hack The Sec-Leading Resource Of Linux Tutorial</title><subtitle type='html'>Hack The Sec-Leading Resource of Linux Tutorial,Linux Tips And Tricks,Linux Server,Linux Exploit,Shell scripting,linux books,unix,bash scripting.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://www.hackthesec.co.in/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default'/><link rel='alternate' type='text/html' href='https://www.hackthesec.co.in/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default?start-index=26&amp;max-results=25'/><author><name>Sarkari-JOB</name><uri>http://www.blogger.com/profile/07703466142666802829</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>345</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6353083638681129765.post-3629078320166745851</id><published>2023-05-24T02:18:00.007+05:30</published><updated>2023-05-24T02:19:33.185+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="conference"/><category scheme="http://www.blogger.com/atom/ns#" term="jitsi"/><category scheme="http://www.blogger.com/atom/ns#" term="jitsi_meet"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu22.04"/><title type='text'>How to Install Jitsi Meet on Ubuntu 22.04</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;b style=&quot;font-size: x-large; text-align: center;&quot;&gt;&lt;u&gt;&amp;nbsp;How to Install Jitsi Meet on Ubuntu 22.04&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;Jitsi is a collection of free and open-source multiplatform voice (VoIP), video conferencing and instant messaging applications for the Web platform, Windows, Linux, macOS, iOS and Android. The Jitsi project began with the Jitsi Desktop (previously known as SIP Communicator). With the growth of WebRTC, the project team focus shifted to the Jitsi Videobridge for allowing web-based multi-party video calling. Later the team added Jitsi Meet, a full video conferencing application that includes web, Android, and iOS clients. Jitsi also operates meet.jit.si, a version of Jitsi Meet hosted by Jitsi for free community use. Other projects include: Jigasi, lib-jitsi-meet, Jidesha, and Jits&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;Prerequisites&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;Ubuntu 22.04 server installed on your system.&lt;br /&gt;Valid domain name pointed to your server IP.&lt;br /&gt;A root user or a user with sudo privileges.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;First, you will need to update all your system packages to the latest version. You can update all the packages using the following command.&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; direction: ltr; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;code class=&quot;language-markup&quot; style=&quot;box-sizing: border-box; color: #f8f8f2; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 14.7456px; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;[&lt;a class=&quot;token email-link&quot; href=&quot;https://www.hackthesec.co.in/2023/02/root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007abe; text-decoration-line: none;&quot;&gt;root@hackthesec&lt;/a&gt; ~]# &lt;/code&gt;&lt;span style=&quot;color: #f8f8f2; font-family: Consolas, Monaco, Andale Mono, monospace;&quot;&gt;&lt;span style=&quot;font-size: 14.7456px;&quot;&gt;apt update -y&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; direction: ltr; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;[&lt;a class=&quot;token email-link&quot; href=&quot;https://www.hackthesec.co.in/2023/02/root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007abe; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 14.7456px; text-decoration-line: none; word-spacing: normal;&quot;&gt;root@hackthesec&lt;/a&gt;&lt;span style=&quot;color: #f8f8f2; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 14.7456px; word-spacing: normal;&quot;&gt; ~]# &lt;/span&gt;&lt;span style=&quot;color: #f8f8f2; font-family: Consolas, Monaco, Andale Mono, monospace;&quot;&gt;&lt;span style=&quot;font-size: 14.7456px;&quot;&gt;apt upgrade -y&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;white-space: normal;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;After updating all the packages,&amp;nbsp;install all the required dependencies using the following command.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; direction: ltr; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;code class=&quot;language-markup&quot; style=&quot;box-sizing: border-box; color: #f8f8f2; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 14.7456px; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;[&lt;a class=&quot;token email-link&quot; href=&quot;https://www.hackthesec.co.in/2023/02/root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007abe; text-decoration-line: none;&quot;&gt;root@hackthesec&lt;/a&gt; ~]# &lt;/code&gt;&lt;span style=&quot;color: #f8f8f2; font-family: Consolas, Monaco, Andale Mono, monospace;&quot;&gt;&lt;span style=&quot;font-size: 14.7456px;&quot;&gt;apt install curl gnupg2 wget -y&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;Once all the packages are installed, download and import the Jitsi Meet GPG key with the following command.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; direction: ltr; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;code class=&quot;language-markup&quot; style=&quot;box-sizing: border-box; color: #f8f8f2; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 14.7456px; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;[&lt;a class=&quot;token email-link&quot; href=&quot;https://www.hackthesec.co.in/2023/02/root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007abe; text-decoration-line: none;&quot;&gt;root@hackthesec&lt;/a&gt; ~]# &lt;/code&gt;&lt;span style=&quot;color: #f8f8f2; font-family: Consolas, Monaco, Andale Mono, monospace;&quot;&gt;&lt;span style=&quot;font-size: 14.7456px;&quot;&gt;curl https://download.jitsi.org/jitsi-key.gpg.key -o jitsi-key.gpg.key
  2. gpg --output /usr/share/keyrings/jitsi-key.gpg --dearmor jitsi-key.gpg.key&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;Next, create a source list file for Jitsi using the following command and edit it with any editor in our case we are using nano.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; direction: ltr; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;code class=&quot;language-markup&quot; style=&quot;box-sizing: border-box; color: #f8f8f2; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 14.7456px; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;[&lt;a class=&quot;token email-link&quot; href=&quot;https://www.hackthesec.co.in/2023/02/root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007abe; text-decoration-line: none;&quot;&gt;root@hackthesec&lt;/a&gt; ~]# &lt;/code&gt;&lt;span style=&quot;color: #f8f8f2; font-family: Consolas, Monaco, Andale Mono, monospace;&quot;&gt;&lt;span style=&quot;font-size: 14.7456px;&quot;&gt;nano /etc/apt/sources.list.d/jitsi-stable.list&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;Add the Jitsi Meet repository as shown below.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; direction: ltr; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;code class=&quot;language-markup&quot; style=&quot;box-sizing: border-box; color: #f8f8f2; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 14.7456px; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;[&lt;a class=&quot;token email-link&quot; href=&quot;https://www.hackthesec.co.in/2023/02/root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007abe; text-decoration-line: none;&quot;&gt;root@hackthesec&lt;/a&gt; ~]# &lt;/code&gt;&lt;span style=&quot;color: #f8f8f2; font-family: Consolas, Monaco, Andale Mono, monospace;&quot;&gt;&lt;span style=&quot;font-size: 14.7456px;&quot;&gt;deb [signed-by=/usr/share/keyrings/jitsi-key.gpg] https://download.jitsi.org stable/&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;Press Ctrl+O to save the changes, then Ctrl+X to exit nano.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;Next, you will also need to import the Prosody GPG key. You can download and import it with the following command.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; direction: ltr; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;code class=&quot;language-markup&quot; style=&quot;box-sizing: border-box; color: #f8f8f2; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 14.7456px; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;[&lt;a class=&quot;token email-link&quot; href=&quot;https://www.hackthesec.co.in/2023/02/root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007abe; text-decoration-line: none;&quot;&gt;root@hackthesec&lt;/a&gt; ~]# &lt;/code&gt;&lt;span style=&quot;color: #f8f8f2; font-family: Consolas, Monaco, Andale Mono, monospace;&quot;&gt;&lt;span style=&quot;font-size: 14.7456px;&quot;&gt;curl https://prosody.im/files/prosody-debian-packages.key -o prosody-debian-packages.key
  3. gpg --output /usr/share/keyrings/prosody-keyring.gpg --dearmor prosody-debian-packages.key&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;Then, create a sources list file for Prosody with the following command edit it with any editor in our case we are using nano.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; direction: ltr; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;code class=&quot;language-markup&quot; style=&quot;box-sizing: border-box; color: #f8f8f2; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 14.7456px; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;[&lt;a class=&quot;token email-link&quot; href=&quot;https://www.hackthesec.co.in/2023/02/root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007abe; text-decoration-line: none;&quot;&gt;root@hackthesec&lt;/a&gt; ~]# nano /etc/apt/sources.list.d/prosody.list&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;Add the following line.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #f8f8f2; font-family: Consolas, Monaco, Andale Mono, monospace;&quot;&gt;&lt;span style=&quot;font-size: 14.7456px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; direction: ltr; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;code class=&quot;language-markup&quot; style=&quot;box-sizing: border-box; color: #f8f8f2; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 14.7456px; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;[&lt;a class=&quot;token email-link&quot; href=&quot;https://www.hackthesec.co.in/2023/02/root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007abe; text-decoration-line: none;&quot;&gt;root@hackthesec&lt;/a&gt; ~]# deb [signed-by=/usr/share/keyrings/prosody-keyring.gpg] http://packages.prosody.im/debian jammy main&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;Press Ctrl+O to save the changes, then Ctrl+X to exit nano.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #2b00fe; font-family: georgia; font-size: large;&quot;&gt;Install Jitsi Meet&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;Now, you install the Jitsi Meet package by running the following command.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; direction: ltr; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;code class=&quot;language-markup&quot; style=&quot;box-sizing: border-box; color: #f8f8f2; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 14.7456px; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;[&lt;a class=&quot;token email-link&quot; href=&quot;https://www.hackthesec.co.in/2023/02/root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007abe; text-decoration-line: none;&quot;&gt;root@hackthesec&lt;/a&gt; ~]# apt install jitsi-meet -y&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;During the Jitsi Meet installation, you will be asked to provide your domain name as shown below.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwTRxSqx-04Hpkmj51u47d27U1NUvi2cQNgrVUkQyyIespiYXfgRn-PqGRjBsjPeK2y0fio55a63THWkcTDnfe-lHLgAyK4KlC6HSUW_V0oXInY6emoTd_5AisWTWYUfqO6PSg6LFsxKYB0xVsvSasHrP6dXLK9rgsr9oKUqtBZ-0AfqcwO9QPj5eq/s1322/hackthesec_1.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;515&quot; data-original-width=&quot;1322&quot; height=&quot;249&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwTRxSqx-04Hpkmj51u47d27U1NUvi2cQNgrVUkQyyIespiYXfgRn-PqGRjBsjPeK2y0fio55a63THWkcTDnfe-lHLgAyK4KlC6HSUW_V0oXInY6emoTd_5AisWTWYUfqO6PSg6LFsxKYB0xVsvSasHrP6dXLK9rgsr9oKUqtBZ-0AfqcwO9QPj5eq/w640-h249/hackthesec_1.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;Provide your valid domain name and press the OK button. You will be asked to select the SSL certificate as shown below.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDPuAXBKQd8AwUgRxBO0ZQekz-KetI4iMmf1of6QkSemFQ4Pp0D8dgiodgjr_WilfxgVWmcm6joXNNAh4DdxHko-RHBci5cc1_zinz_VjHA5NIhXOHXwD9DA6EI4B1afBGF1I013MoQ-JizPZxLrENpyftDKNZcTdErMPN_AY21VtgfFvYtsVqnYZl/s1320/hackthesec_2.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;517&quot; data-original-width=&quot;1320&quot; height=&quot;250&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDPuAXBKQd8AwUgRxBO0ZQekz-KetI4iMmf1of6QkSemFQ4Pp0D8dgiodgjr_WilfxgVWmcm6joXNNAh4DdxHko-RHBci5cc1_zinz_VjHA5NIhXOHXwD9DA6EI4B1afBGF1I013MoQ-JizPZxLrENpyftDKNZcTdErMPN_AY21VtgfFvYtsVqnYZl/w640-h250/hackthesec_2.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkQ3n3FFy6ZV_XWNq6wTNzz2R6ZMM022oxsmSDV3aa9pvryMnRE2NogZYI8vl7nHUVY2u6hSbnW-zWnEqfUuVrpyaJSwMl5Q3f3bNkj47QKt8T0T6LfCasitDZFar_I_MNJyvzIzc-biKVhxcSY_C9k3apWPm8_36cwgy5kd2r-sJhpFARn3728IpP/s1322/hackthesec_3.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;520&quot; data-original-width=&quot;1322&quot; height=&quot;252&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkQ3n3FFy6ZV_XWNq6wTNzz2R6ZMM022oxsmSDV3aa9pvryMnRE2NogZYI8vl7nHUVY2u6hSbnW-zWnEqfUuVrpyaJSwMl5Q3f3bNkj47QKt8T0T6LfCasitDZFar_I_MNJyvzIzc-biKVhxcSY_C9k3apWPm8_36cwgy5kd2r-sJhpFARn3728IpP/w640-h252/hackthesec_3.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;Select the Let’s Encrypt SSL and click on the Ok button. You will be asked to provide your email address as shown below.&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKndTi6ARejPFM0MSWYSjGS-0Bz70ci0zYkF03Gbf2-PXMv7AmOl0nX8tND9B8A7av-1zUwiOpIg33yVNF962kga8EuBuM3iUzvfleLrNIKtCdzx9kYBUsvq5AtPO5Yo6n30MU_InIVfaIGmFlKTOM4WT9oyxofIBc_Dnq0ntwBvPx5BZBAVXaLedY/s1327/hackthesec_4.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;518&quot; data-original-width=&quot;1327&quot; height=&quot;250&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKndTi6ARejPFM0MSWYSjGS-0Bz70ci0zYkF03Gbf2-PXMv7AmOl0nX8tND9B8A7av-1zUwiOpIg33yVNF962kga8EuBuM3iUzvfleLrNIKtCdzx9kYBUsvq5AtPO5Yo6n30MU_InIVfaIGmFlKTOM4WT9oyxofIBc_Dnq0ntwBvPx5BZBAVXaLedY/w640-h250/hackthesec_4.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;Provide your email address and press the Ok button. You will be asked to enable dial in support as shown below.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxYPCRIk_15N2w6nTtmfXF3eS_9a8JQp1CVShapODnstaOu8rKwTklZ72yl3JZpecTCxAcnjYtKJnzBw2KRmbBd98srikVIvgHqjOQoTGSHV0AiXdYLggTglXGVtnf0Bq2AHqItiwLuXQQlsO387tlgK_avDqFyVl3NIu__32J-ERC9PnTjF5ld-8C/s1327/hackthesec_5.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;518&quot; data-original-width=&quot;1327&quot; height=&quot;250&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxYPCRIk_15N2w6nTtmfXF3eS_9a8JQp1CVShapODnstaOu8rKwTklZ72yl3JZpecTCxAcnjYtKJnzBw2KRmbBd98srikVIvgHqjOQoTGSHV0AiXdYLggTglXGVtnf0Bq2AHqItiwLuXQQlsO387tlgK_avDqFyVl3NIu__32J-ERC9PnTjF5ld-8C/w640-h250/hackthesec_5.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;Click on the No button to finish the installation.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #2b00fe; font-family: georgia; font-size: medium;&quot;&gt;Enable Authentication on Jitsi Meet&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;By default, anyone can access the Jitsi Meet and create conference rooms. For security reasons, it is a good idea to secure the Jisti Meet with password authentication.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;To enable the password authentication, edit the Jisti Meet configuration file. We are using nano editor to edit the file -&amp;nbsp;/etc/prosody/conf.avail/jitsi.hackthesec.co.in.cfg.lua&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; direction: ltr; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;code class=&quot;language-markup&quot; style=&quot;box-sizing: border-box; color: #f8f8f2; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 14.7456px; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;[&lt;a class=&quot;token email-link&quot; href=&quot;https://www.hackthesec.co.in/2023/02/root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007abe; text-decoration-line: none;&quot;&gt;root@hackthesec&lt;/a&gt; ~]# nano /etc/prosody/conf.avail/jitsi.hackthesec.co.in.cfg.lua&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;Change the following line:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; direction: ltr; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;code class=&quot;language-markup&quot; style=&quot;box-sizing: border-box; color: #f8f8f2; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 14.7456px; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;authentication = &quot;internal_plain&quot;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;Next, add the following lines at the end of the file.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; direction: ltr; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;span style=&quot;color: #f8f8f2; font-family: Consolas, Monaco, Andale Mono, monospace;&quot;&gt;&lt;span style=&quot;font-size: 14.7456px;&quot;&gt;VirtualHost &quot;guest.meet.hackthesec.co.in&quot;
  4. authentication = &quot;anonymous&quot;
  5. c2s_require_encryption = false
  6. modules_enabled = {
  7.        &quot;bosh&quot;;
  8.        &quot;ping&quot;;
  9.        &quot;pubsub&quot;;
  10.        &quot;speakerstats&quot;;
  11.        &quot;turncredentials&quot;;
  12.        &quot;conference_duration&quot;;
  13. }&lt;/span&gt;&lt;/span&gt;
  14. &lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;Press Ctrl+O to save the changes, then Ctrl+X to exit nano.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; direction: ltr; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;code class=&quot;language-markup&quot; style=&quot;box-sizing: border-box; color: #f8f8f2; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 14.7456px; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;[&lt;a class=&quot;token email-link&quot; href=&quot;https://www.hackthesec.co.in/2023/02/root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007abe; text-decoration-line: none;&quot;&gt;root@hackthesec&lt;/a&gt; ~]# nano /etc/jitsi/meet/jitsi.hackthesec.co.in-config.js&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;Change the following line.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; direction: ltr; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;code class=&quot;language-markup&quot; style=&quot;box-sizing: border-box; color: #f8f8f2; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 14.7456px; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;anonymousdomain: &#39;guest.jitsi.hackthesec.co.in&#39;,&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;Press Ctrl+O to save the changes, then Ctrl+X to exit nano.&amp;nbsp;Next, create another configuration file.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; direction: ltr; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;code class=&quot;language-markup&quot; style=&quot;box-sizing: border-box; color: #f8f8f2; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 14.7456px; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;[&lt;a class=&quot;token email-link&quot; href=&quot;https://www.hackthesec.co.in/2023/02/root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007abe; text-decoration-line: none;&quot;&gt;root@hackthesec&lt;/a&gt; ~]# &lt;/code&gt;&lt;span style=&quot;color: #f8f8f2; font-family: Consolas, Monaco, Andale Mono, monospace;&quot;&gt;&lt;span style=&quot;font-size: 14.7456px;&quot;&gt;nano /etc/jitsi/jicofo/sip-communicator.properties&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;Add the following line.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; direction: ltr; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;code class=&quot;language-markup&quot; style=&quot;box-sizing: border-box; color: #f8f8f2; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 14.7456px; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;org.jitsi.jicofo.auth.URL=XMPP:jitsi.hackthesec.co.in&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;Press Ctrl+O to save the changes, then Ctrl+X to exit nano then&amp;nbsp;create a user for Jitsi Meet with the following command.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; direction: ltr; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;code class=&quot;language-markup&quot; style=&quot;box-sizing: border-box; color: #f8f8f2; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 14.7456px; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;prosodyctl register user jitsi.hackthesec.co.in yourpassword&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;You will see the below output into the terminal&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; direction: ltr; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;span style=&quot;color: #f8f8f2; font-family: Consolas, Monaco, Andale Mono, monospace;&quot;&gt;&lt;span style=&quot;font-size: 14.7456px;&quot;&gt;general             warn        Lua 5.1 has several issues and support is being phased out, consider upgrading&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;Now restart the Jitsi Meet services to apply the configuration.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; direction: ltr; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;code class=&quot;language-markup&quot; style=&quot;box-sizing: border-box; color: #f8f8f2; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 14.7456px; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;[&lt;a class=&quot;token email-link&quot; href=&quot;https://www.hackthesec.co.in/2023/02/root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007abe; text-decoration-line: none;&quot;&gt;root@hackthesec&lt;/a&gt; ~]# systemctl restart prosody.service jicofo.service jitsi-videobridge2.service&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-family: georgia; font-size: large;&quot;&gt;&lt;u&gt;Access Jitsi Meet Web UI&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: georgia;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;Jitsi Meet is installed now and secured with password based authentication. You can now access the Jitsi Meet using the URL&amp;nbsp;&lt;a href=&quot;https://meet.hackthesec.co.in&quot;&gt;https://meet.hackthesec.co.in&lt;/a&gt;. You should see the following screen.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: georgia;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiH-cAjNmhb0wcDHoJw51QqYuNOUIFIlUL_KZog8xvOqHy4b0XuJ6cNQ9gUvhn2l3UEhY7aZINKesQtNGpndCLBZLyHXHnuPDFFNvGpMMjOV-BLpXicJRw0WguerWdSSf6yrgO7rkbTJXcVRnu4gESRhfB6LonM8YvAPBoIqQf9o5pXld2wJMDMs79F/s1696/hackthesec_6.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;927&quot; data-original-width=&quot;1696&quot; height=&quot;350&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiH-cAjNmhb0wcDHoJw51QqYuNOUIFIlUL_KZog8xvOqHy4b0XuJ6cNQ9gUvhn2l3UEhY7aZINKesQtNGpndCLBZLyHXHnuPDFFNvGpMMjOV-BLpXicJRw0WguerWdSSf6yrgO7rkbTJXcVRnu4gESRhfB6LonM8YvAPBoIqQf9o5pXld2wJMDMs79F/w640-h350/hackthesec_6.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;@hackthesecurity&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://www.hackthesec.co.in/feeds/3629078320166745851/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.hackthesec.co.in/2023/05/how-to-install-jitsi-meet-on-ubuntu-2204_0398743326.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/3629078320166745851'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/3629078320166745851'/><link rel='alternate' type='text/html' href='https://www.hackthesec.co.in/2023/05/how-to-install-jitsi-meet-on-ubuntu-2204_0398743326.html' title='How to Install Jitsi Meet on Ubuntu 22.04'/><author><name>Raj</name><uri>http://www.blogger.com/profile/02793413996647910802</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwTRxSqx-04Hpkmj51u47d27U1NUvi2cQNgrVUkQyyIespiYXfgRn-PqGRjBsjPeK2y0fio55a63THWkcTDnfe-lHLgAyK4KlC6HSUW_V0oXInY6emoTd_5AisWTWYUfqO6PSg6LFsxKYB0xVsvSasHrP6dXLK9rgsr9oKUqtBZ-0AfqcwO9QPj5eq/s72-w640-h249-c/hackthesec_1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6353083638681129765.post-5169191881989838143</id><published>2023-05-24T00:49:00.009+05:30</published><updated>2023-05-24T02:14:29.709+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Centos"/><category scheme="http://www.blogger.com/atom/ns#" term="Firewall"/><category scheme="http://www.blogger.com/atom/ns#" term="Security"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="ufw"/><title type='text'>Setting Up a Port Forwarding Using Uncomplicated Firewall(UFW)</title><content type='html'>&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: arial; font-size: large;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;Setting Up a Port Forwarding Using Uncomplicated Firewall(UFW)&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;The Linux kernel in Ubuntu provides a packet filtering system called netfilter, and the traditional interface for manipulating netfilter are the iptables suite of commands. iptables provide a complete firewall solution that is both highly configurable and highly flexible.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnwJqO5t-cjYlTKJwDUOWpBE6hpcStrXARypGodCji4qUFUgtg2ocsVUHZGm_VaZJARKMRjmnlgIDhOUHWEO5wTG0-oclNxRCZpvAiHMjuATmAULsaXKwqEUTKSxNrB7g385tyZmzbc_ZT/s577/firewall_www.hackthesec.co.in.jpg&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;359&quot; data-original-width=&quot;577&quot; height=&quot;199&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnwJqO5t-cjYlTKJwDUOWpBE6hpcStrXARypGodCji4qUFUgtg2ocsVUHZGm_VaZJARKMRjmnlgIDhOUHWEO5wTG0-oclNxRCZpvAiHMjuATmAULsaXKwqEUTKSxNrB7g385tyZmzbc_ZT/s320/firewall_www.hackthesec.co.in.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;Becoming proficient in iptables takes time, and getting started with netfilter firewalling using only iptables can be a daunting task. As a result, many frontends for iptables have been created over the years, each trying to achieve a different result and targeting a different audience.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;The Uncomplicated Firewall (ufw) is a frontend for iptables and is particularly well-suited for host-based firewalls. ufw provides a framework for managing netfilter, as well as a command-line interface for manipulating the firewall. ufw aims to provide an easy to use interface for people unfamiliar with firewall concepts, while at the same time simplifies complicated iptables commands to help an administrator who knows what he or she is doing. ufw is an upstream for other distributions and graphical frontends.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #2b00fe; font-family: georgia; font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;Setting Up a Port Forward&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;We are going to forward incoming traffic on the port 8000 to 8081&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;&lt;b&gt;Enabling UFW:&lt;/b&gt; If not already enabled, start by enabling UFW. Run the following command in the terminal:&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; color: #f8f8f2; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 15.36px; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;code class=&quot;language-markup&quot; style=&quot;box-sizing: border-box; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 14.7456px; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;[&lt;a class=&quot;token email-link&quot; href=&quot;https://www.hackthesec.co.in/2023/02/root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007abe; text-decoration-line: none;&quot;&gt;root@hackthesec&lt;/a&gt; ~]# sudo ufw enable&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;font-family: georgia;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Open the UFW configuration file: To set up port forwarding, you must edit the UFW configuration file, &lt;b&gt;located at /etc/default/ufw&lt;/b&gt;.&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;We mostly proffered&amp;nbsp;Nano editor&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; color: #f8f8f2; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 15.36px; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;code class=&quot;language-markup&quot; style=&quot;box-sizing: border-box; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 14.7456px; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;[&lt;a class=&quot;token email-link&quot; href=&quot;https://www.hackthesec.co.in/2023/02/root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007abe; text-decoration-line: none;&quot;&gt;root@hackthesec&lt;/a&gt; ~]# sudo nano /etc/default/ufw&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;Enable packet forwarding: In the UFW configuration file, find the line that says&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;&lt;b&gt;DEFAULT_FORWARD_POLICY=&quot;DROP&quot;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;Change DROP to ACCEPT so it looks like this:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;&lt;b&gt;DEFAULT_FORWARD_POLICY=&quot;ACCEPT&quot;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;This change allows UFW to forward packets, which is necessary for port forwarding.&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; color: #f8f8f2; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 15.36px; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;code class=&quot;language-markup&quot; style=&quot;box-sizing: border-box; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 14.7456px; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;[&lt;a class=&quot;token email-link&quot; href=&quot;https://www.hackthesec.co.in/2023/02/root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007abe; text-decoration-line: none;&quot;&gt;root@hackthesec&lt;/a&gt; ~]# DEFAULT_FORWARD_POLICY=&quot;ACCEPT&quot;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: medium;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #0a0a0a; font-family: georgia;&quot;&gt;&lt;span style=&quot;font-size: 17px;&quot;&gt;Press &lt;b&gt;Ctrl+O&lt;/b&gt; to save the changes, then &lt;b&gt;Ctrl+X &lt;/b&gt;to exit nano.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #0a0a0a; font-size: 17px;&quot;&gt;&lt;span style=&quot;font-family: georgia;&quot;&gt;&lt;b&gt;Modify UFW’s before rules:&lt;/b&gt; UFW uses a set of &quot;&lt;b&gt;before rules&lt;/b&gt;&quot; that are executed before the standard rules. These before rules can be used to set up port forwarding.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; color: #f8f8f2; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 15.36px; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;code class=&quot;language-markup&quot; style=&quot;box-sizing: border-box; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 14.7456px; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;[&lt;a class=&quot;token email-link&quot; href=&quot;https://www.hackthesec.co.in/2023/02/root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007abe; text-decoration-line: none;&quot;&gt;root@hackthesec&lt;/a&gt; ~]# sudo nano /etc/ufw/before.rules &lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;Add the following lines at the end of the file, replacing &amp;lt;your-ip&amp;gt; with the IP address of the machine where the packets will be forwarded:&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; direction: ltr; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;span style=&quot;color: #f8f8f2; font-family: Consolas, Monaco, Andale Mono, monospace;&quot;&gt;&lt;span style=&quot;font-size: 14.7456px;&quot;&gt;# NAT table rules
  15. *nat
  16. :POSTROUTING ACCEPT [0:0]
  17. # Forward traffic from port 8000 to port 8081.
  18. -A PREROUTING -p tcp --dport 8000 -j DNAT --to-destination &amp;lt;your-ip&amp;gt;:8081
  19. # Don’t masquerade local traffic.
  20. -A POSTROUTING -s 192.168.1.0/24 -j MASQUERADE
  21. COMMIT&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;font-family: georgia;&quot;&gt;&lt;span style=&quot;color: #0a0a0a; font-size: 17px;&quot;&gt;Press&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;color: #0a0a0a; font-size: 17px;&quot;&gt;Ctrl+O&lt;/b&gt;&lt;span style=&quot;color: #0a0a0a; font-size: 17px;&quot;&gt;&amp;nbsp;to save the changes, then&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;color: #0a0a0a; font-size: 17px;&quot;&gt;Ctrl+X&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;color: #0a0a0a; font-size: 17px;&quot;&gt;to exit nano.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;Restart UFW: Finally, for the changes to take effects&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; color: #f8f8f2; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 15.36px; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;code class=&quot;language-markup&quot; style=&quot;box-sizing: border-box; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 14.7456px; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;[&lt;a class=&quot;token email-link&quot; href=&quot;https://www.hackthesec.co.in/2023/02/root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007abe; text-decoration-line: none;&quot;&gt;root@hackthesec&lt;/a&gt; ~]# sudo ufw disable
  22. [&lt;a class=&quot;token email-link&quot; href=&quot;https://www.hackthesec.co.in/2023/02/root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007abe; text-decoration-line: none; word-spacing: normal;&quot;&gt;root@hackthesec&lt;/a&gt;&lt;span style=&quot;word-spacing: normal;&quot;&gt; ~]# &lt;/span&gt;sudo ufw enable &lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: georgia; font-size: medium;&quot;&gt;@hackthesecurity&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://www.hackthesec.co.in/feeds/5169191881989838143/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.hackthesec.co.in/2023/05/setting-up-port-forwarding-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/5169191881989838143'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/5169191881989838143'/><link rel='alternate' type='text/html' href='https://www.hackthesec.co.in/2023/05/setting-up-port-forwarding-using.html' title='Setting Up a Port Forwarding Using Uncomplicated Firewall(UFW)'/><author><name>Sarkari-job.com</name><uri>http://www.blogger.com/profile/01796991448891824956</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnwJqO5t-cjYlTKJwDUOWpBE6hpcStrXARypGodCji4qUFUgtg2ocsVUHZGm_VaZJARKMRjmnlgIDhOUHWEO5wTG0-oclNxRCZpvAiHMjuATmAULsaXKwqEUTKSxNrB7g385tyZmzbc_ZT/s72-c/firewall_www.hackthesec.co.in.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6353083638681129765.post-5218302318715178406</id><published>2023-05-23T01:37:00.004+05:30</published><updated>2023-05-23T01:39:35.522+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="phpmyadmin"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu22.04"/><title type='text'>How To Install phpMyAdmin on Ubuntu 22.04</title><content type='html'>&lt;p style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;&amp;nbsp;How To Install phpMyAdmin on Ubuntu 22.04&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;PhpMyAdmin&amp;nbsp;is a free and open source administration tool for MySQL and MariaDB.&amp;nbsp;It&#39;s an excellent tool for browsing, editing, creating, and dropping tables, as well as modifying columns and data. You don&#39;t need to login into execute any query from the MySQL&amp;nbsp;command line. &amp;nbsp;As a portable web application written primarily in PHP, it has become one of the most popular MySQL administration tools, especially for web hosting services.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #2b00fe; font-family: verdana; font-size: large;&quot;&gt;&lt;b&gt;Step 1 – Install Apache and PHP&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;We are assuming you already have installed the MySQL server on Ubuntu system if you haven&#39;t&amp;nbsp;then &lt;a href=&quot;https://www.hackthesec.co.in/2023/05/how-to-install-mysql-server-on-ubuntu.html&quot; target=&quot;_blank&quot;&gt;install from here &lt;/a&gt;So just install the other required packages to run and access phpMyAdmin.&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; color: #f8f8f2; direction: ltr; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;&lt;code class=&quot;language-markup&quot; style=&quot;box-sizing: border-box; direction: ltr; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;[&lt;a class=&quot;token email-link&quot; href=&quot;https://www.hackthesec.co.in/2023/02/root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007abe; text-decoration-line: none;&quot;&gt;root@hackthesec&lt;/a&gt; ~]# &lt;/code&gt;sudo apt install apache2 wget unzip&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; color: #f8f8f2; direction: ltr; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;&lt;code class=&quot;language-markup&quot; style=&quot;box-sizing: border-box; direction: ltr; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;[&lt;a class=&quot;token email-link&quot; href=&quot;https://www.hackthesec.co.in/2023/02/root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007abe; text-decoration-line: none;&quot;&gt;root@hackthesec&lt;/a&gt; ~]# &lt;/code&gt;sudo apt install php php-zip php-json php-mbstring php-mysql&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;Once the installation is finished, enable and start the Apache web server.&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; color: #f8f8f2; direction: ltr; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;&lt;code class=&quot;language-markup&quot; style=&quot;box-sizing: border-box; direction: ltr; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;[&lt;a class=&quot;token email-link&quot; href=&quot;https://www.hackthesec.co.in/2023/02/root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007abe; text-decoration-line: none;&quot;&gt;root@hackthesec&lt;/a&gt; ~]# &lt;/code&gt;sudo systemctl enable apache2&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; color: #f8f8f2; direction: ltr; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;&lt;code class=&quot;language-markup&quot; style=&quot;box-sizing: border-box; direction: ltr; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;[&lt;a class=&quot;token email-link&quot; href=&quot;https://www.hackthesec.co.in/2023/02/root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007abe; text-decoration-line: none;&quot;&gt;root@hackthesec&lt;/a&gt; ~]# &lt;/code&gt;sudo systemctl start apache2&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;Step 2 – Install phpMyAdmin on Ubuntu 22.04&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;You can quickly install the phpMyAdmin from the default Ubuntu repositories. But they contain an older version of phpMyAdmin. you can install the older using this command &lt;b&gt;apt install phpMyAdmin&lt;/b&gt;, but to install the latest version, you need to download it from the official website.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;Download the latest phpMyAdmin archive from the &lt;a href=&quot;https://www.phpmyadmin.net/downloads/&quot; target=&quot;_blank&quot;&gt;official download page&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; direction: ltr; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;&lt;code class=&quot;language-markup&quot; style=&quot;box-sizing: border-box; color: #f8f8f2; direction: ltr; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;[&lt;a class=&quot;token email-link&quot; href=&quot;https://www.hackthesec.co.in/2023/02/root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007abe; text-decoration-line: none;&quot;&gt;root@hackthesec&lt;/a&gt; ~]# wget https://files.phpmyadmin.net/phpMyAdmin/5.2.0/phpMyAdmin-5.2.0-all-languages.zip
  23. [&lt;a class=&quot;token email-link&quot; href=&quot;https://www.hackthesec.co.in/2023/02/root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007abe; text-decoration-line: none; word-spacing: normal;&quot;&gt;root@hackthesec&lt;/a&gt;&lt;span style=&quot;word-spacing: normal;&quot;&gt; ~]# &lt;/span&gt;unzip phpMyAdmin-5.2.0-all-languages.zip
  24. [&lt;a class=&quot;token email-link&quot; href=&quot;https://www.hackthesec.co.in/2023/02/root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007abe; text-decoration-line: none; word-spacing: normal;&quot;&gt;root@hackthesec&lt;/a&gt;&lt;span style=&quot;word-spacing: normal;&quot;&gt; ~]# &lt;/span&gt;sudo mv phpMyAdmin-5.2.0-all-languages /usr/share/phpmyadmin
  25. &lt;/code&gt;&lt;code class=&quot;language-markup&quot; style=&quot;box-sizing: border-box; direction: ltr; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; white-space: normal; word-break: normal;&quot;&gt;
  26. &lt;/code&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;Next, create tmp directory and set the proper permissions. This is a necessary step to make it work properly.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; direction: ltr; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;&lt;code class=&quot;language-markup&quot; style=&quot;box-sizing: border-box; color: #f8f8f2; direction: ltr; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;[&lt;a class=&quot;token email-link&quot; href=&quot;https://www.hackthesec.co.in/2023/02/root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007abe; text-decoration-line: none; word-spacing: normal;&quot;&gt;root@hackthesec&lt;/a&gt;&lt;span style=&quot;word-spacing: normal;&quot;&gt; ~]# &lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;color: #f8f8f2;&quot;&gt;&lt;span&gt;sudo mkdir /usr/share/phpmyadmin/tmp
  27. &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt;[&lt;/span&gt;&lt;a class=&quot;token email-link&quot; href=&quot;https://www.hackthesec.co.in/2023/02/root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007abe; text-decoration-line: none; word-spacing: normal;&quot;&gt;root@hackthesec&lt;/a&gt;&lt;span style=&quot;color: #f8f8f2; word-spacing: normal;&quot;&gt; ~]# &lt;/span&gt;&lt;span style=&quot;color: #f8f8f2;&quot;&gt;&lt;span&gt;sudo chown -R www-data:www-data /usr/share/phpmyadmin
  28. &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt;[&lt;/span&gt;&lt;a class=&quot;token email-link&quot; href=&quot;https://www.hackthesec.co.in/2023/02/root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007abe; text-decoration-line: none; word-spacing: normal;&quot;&gt;root@hackthesec&lt;/a&gt;&lt;span style=&quot;color: #f8f8f2; word-spacing: normal;&quot;&gt; ~]#&lt;/span&gt;&lt;span style=&quot;color: #f8f8f2;&quot;&gt;&lt;span&gt;sudo chmod 777 /usr/share/phpmyadmin/tmp&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;color: #2b00fe; font-family: verdana; font-size: large;&quot;&gt;Step 3 – Configure phpMyAdmin&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;Now, you need to configure the webserver to serve phpMyAdmin on the network. Create an Apache configuration file for phpMyAdmin and edit it in a text editor:&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; direction: ltr; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;[&lt;/span&gt;&lt;a class=&quot;token email-link&quot; href=&quot;https://www.hackthesec.co.in/2023/02/root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007abe; text-decoration-line: none; word-spacing: normal;&quot;&gt;root@hackthesec&lt;/a&gt;&lt;span style=&quot;color: #f8f8f2; word-spacing: normal;&quot;&gt; ~]# sudo &lt;/span&gt;&lt;span style=&quot;color: #f8f8f2;&quot;&gt;&lt;span&gt;nano /etc/apache2/conf-available/phpmyadmin.conf&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;add the below content to the file.&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; direction: ltr; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;span style=&quot;color: white; font-family: verdana; font-size: large;&quot;&gt;Alias /phpmyadmin /usr/share/phpmyadmin
  29. Alias /phpMyAdmin /usr/share/phpmyadmin
  30. &amp;lt;Directory /usr/share/phpmyadmin/&amp;gt;
  31.   AddDefaultCharset UTF-8
  32.   &amp;lt;IfModule mod_authz_core.c&amp;gt;
  33.      &amp;lt;RequireAny&amp;gt;
  34.      Require all granted
  35.     &amp;lt;/RequireAny&amp;gt;
  36.   &amp;lt;/IfModule&amp;gt;
  37. &amp;lt;/Directory&amp;gt;
  38. &amp;lt;Directory /usr/share/phpmyadmin/setup/&amp;gt;
  39.   &amp;lt;IfModule mod_authz_core.c&amp;gt;
  40.     &amp;lt;RequireAny&amp;gt;
  41.       Require all granted
  42.     &amp;lt;/RequireAny&amp;gt;
  43.   &amp;lt;/IfModule&amp;gt;
  44. &amp;lt;/Directory&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;Save and exit after that reload or restart&amp;nbsp;the apache2 once using below command also you have to enable the newly created config file&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; direction: ltr; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;[&lt;/span&gt;&lt;a class=&quot;token email-link&quot; href=&quot;https://www.hackthesec.co.in/2023/02/root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007abe; text-decoration-line: none; word-spacing: normal;&quot;&gt;root@hackthesec&lt;/a&gt;&lt;span style=&quot;color: #f8f8f2; word-spacing: normal;&quot;&gt; ~]# &lt;/span&gt;&lt;span style=&quot;color: #f8f8f2;&quot;&gt;&lt;span&gt;sudo a2enconf phpmyadmin
  45. &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt;[&lt;/span&gt;&lt;a class=&quot;token email-link&quot; href=&quot;https://www.hackthesec.co.in/2023/02/root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007abe; text-decoration-line: none; word-spacing: normal;&quot;&gt;root@hackthesec&lt;/a&gt;&lt;span style=&quot;color: #f8f8f2; word-spacing: normal;&quot;&gt; ~]# &lt;/span&gt;&lt;span style=&quot;color: #f8f8f2;&quot;&gt;&lt;span&gt;sudo systemctl restart apache2&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;Step 4 – Adjusting FirewallD&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;The systems with enabled firewalls need to allow HTTP service from the firewall. Run the below commands to open a port for the webserver in the firewall.&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; direction: ltr; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;[&lt;/span&gt;&lt;a class=&quot;token email-link&quot; href=&quot;https://www.hackthesec.co.in/2023/02/root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007abe; text-decoration-line: none; word-spacing: normal;&quot;&gt;root@hackthesec&lt;/a&gt;&lt;span style=&quot;color: #f8f8f2; word-spacing: normal;&quot;&gt; ~]# &lt;/span&gt;&lt;span style=&quot;color: #f8f8f2;&quot;&gt;&lt;span&gt;sudo firewall-cmd --permanent --add-service=http&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; direction: ltr; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;[&lt;/span&gt;&lt;a class=&quot;token email-link&quot; href=&quot;https://www.hackthesec.co.in/2023/02/root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007abe; text-decoration-line: none; word-spacing: normal;&quot;&gt;root@hackthesec&lt;/a&gt;&lt;span style=&quot;color: #f8f8f2; word-spacing: normal;&quot;&gt; ~]# &lt;/span&gt;&lt;span style=&quot;color: #f8f8f2;&quot;&gt;&lt;span&gt;sudo firewall-cmd --reload&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;Step 5 – Create a MySQL Database and User&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;Connect to the MySQL server running on your system.&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; direction: ltr; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;[&lt;/span&gt;&lt;a class=&quot;token email-link&quot; href=&quot;https://www.hackthesec.co.in/2023/02/root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007abe; text-decoration-line: none; word-spacing: normal;&quot;&gt;root@hackthesec&lt;/a&gt;&lt;span style=&quot;color: #f8f8f2; word-spacing: normal;&quot;&gt; ~]# mysql&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;&amp;nbsp;If you already setup the root password for mysql then you have to use&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; direction: ltr; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;[&lt;/span&gt;&lt;a class=&quot;token email-link&quot; href=&quot;https://www.hackthesec.co.in/2023/02/root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #007abe; text-decoration-line: none; word-spacing: normal;&quot;&gt;root@hackthesec&lt;/a&gt;&lt;span style=&quot;color: #f8f8f2; word-spacing: normal;&quot;&gt; ~]# mysql -uroot -p&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;Execute the following MySQL queries one by one to create a database and user. Also, assign the privileges to the user on the database.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; direction: ltr; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;span style=&quot;color: white; font-family: verdana; font-size: large;&quot;&gt;mysql&amp;gt; CREATE DATABASE  hackthesec;
  46. Query OK, 1 row affected (0.01 sec)
  47. mysql&amp;gt; CREATE USER &#39;hackthesec&#39;@&#39;localhost&#39; IDENTIFIED BY &#39;Strong@password&#39;;
  48. Query OK, 0 rows affected (0.01 sec)
  49. mysql&amp;gt; GRANT ALL ON hackthesec.* TO &#39;hackthesec&#39;@&#39;localhost&#39;;
  50. Query OK, 0 rows affected (0.01 sec)
  51. mysql&amp;gt; FLUSH PRIVILEGES;
  52. Query OK, 0 rows affected (0.00 sec)&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;Step 6 – Access phpMyAdmin&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;All done. You have finished the setup with the phpMyAdmin on the Ubuntu Linux system. Now access phpMyAdmin with the server IP address or domain name.&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; direction: ltr; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;span style=&quot;color: white; font-family: verdana; font-size: large;&quot;&gt;http://your-server-ip-domain/phpmyadmin
  53. &lt;/span&gt;&lt;/pre&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNCpdbB4bEgUSF6aVH3Z9gWiTv9-Hq3fwF6NC8IVFj53JubxJK6MiF5hyphenhyphen7V9Ty5f3s8IUof1Rm0Xf2kp1feQ0P4TGrRcv1bl6tWXgMl5kFoTRwNYIs-OMsF4FaDZndJTeLyOtm2pGUba2f/s508/login_phpmyadmin_www.hackthesec.co.in.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;508&quot; data-original-width=&quot;483&quot; height=&quot;315&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNCpdbB4bEgUSF6aVH3Z9gWiTv9-Hq3fwF6NC8IVFj53JubxJK6MiF5hyphenhyphen7V9Ty5f3s8IUof1Rm0Xf2kp1feQ0P4TGrRcv1bl6tWXgMl5kFoTRwNYIs-OMsF4FaDZndJTeLyOtm2pGUba2f/w450-h315/login_phpmyadmin_www.hackthesec.co.in.png&quot; width=&quot;450&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;@hackthesecurity&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://www.hackthesec.co.in/feeds/5218302318715178406/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.hackthesec.co.in/2023/05/how-to-install-phpmyadmin-on-ubuntu-2204.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/5218302318715178406'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/5218302318715178406'/><link rel='alternate' type='text/html' href='https://www.hackthesec.co.in/2023/05/how-to-install-phpmyadmin-on-ubuntu-2204.html' title='How To Install phpMyAdmin on Ubuntu 22.04'/><author><name>Sarkari-job.com</name><uri>http://www.blogger.com/profile/01796991448891824956</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNCpdbB4bEgUSF6aVH3Z9gWiTv9-Hq3fwF6NC8IVFj53JubxJK6MiF5hyphenhyphen7V9Ty5f3s8IUof1Rm0Xf2kp1feQ0P4TGrRcv1bl6tWXgMl5kFoTRwNYIs-OMsF4FaDZndJTeLyOtm2pGUba2f/s72-w450-h315-c/login_phpmyadmin_www.hackthesec.co.in.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6353083638681129765.post-4726821688032105743</id><published>2023-05-23T01:36:00.005+05:30</published><updated>2023-05-23T01:40:13.362+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Database"/><category scheme="http://www.blogger.com/atom/ns#" term="Mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="Mysql_Database"/><category scheme="http://www.blogger.com/atom/ns#" term="RDBMS"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu22.04"/><title type='text'>How To Install MySQL Server on Ubuntu 22.04</title><content type='html'>&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: #2b00fe; font-family: verdana; font-size: large;&quot;&gt;&lt;b&gt;&lt;u&gt;How To Install MySQL Server on Ubuntu 22.04&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;MySQL is an open-source relational database management system (RDBMS).Its name is a combination of &quot;My&quot;, the name of co-founder Michael Widenius&#39;s daughter My, and &quot;SQL&quot;, the acronym for Structured Query Language. A relational database organizes data into one or more data tables in which data may be related to each other; these relations help structure the data. SQL is a language programmers use to create, modify and extract data from the relational database, as well as control user access to the database. In addition to relational databases and SQL, an RDBMS like MySQL works with an operating system to implement a relational database in a computer&#39;s storage system, manages users, allows for network access and facilitates testing database integrity and creation of backups.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqb_IjkqiXKg6rDmYejq7XSHARNEO7FQeNRUS_wOIn21jrjNbbAU7E6G9eRLRdYqi_Rde4_MExFxTI7vEQLKUepAv77VJY1ZcxLbpmQ-UaCqNfiVGecOeUXAnJxJOQqO-mHBETDm6S0oRb/s698/mysql-hackthesec.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;400&quot; data-original-width=&quot;698&quot; height=&quot;366&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqb_IjkqiXKg6rDmYejq7XSHARNEO7FQeNRUS_wOIn21jrjNbbAU7E6G9eRLRdYqi_Rde4_MExFxTI7vEQLKUepAv77VJY1ZcxLbpmQ-UaCqNfiVGecOeUXAnJxJOQqO-mHBETDm6S0oRb/w640-h366/mysql-hackthesec.png&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #2b00fe; font-family: verdana; font-size: large;&quot;&gt;&lt;b&gt;Step 1 – Installing MySQL on Ubuntu 22.04&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;The default Ubuntu repositories contain MySQL 8.0. Which can be installed directly using the package manager without adding third-party PPA.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;To install the available MySQL server version, execute the following command.&lt;/span&gt;&lt;/p&gt;&lt;pre style=&quot;background: none 0px 0px repeat scroll rgb(60, 60, 60); border-radius: 4px; border: 1px solid rgb(229, 229, 229); margin-bottom: 20px; outline: 0px; overflow: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;color: white; line-height: 15.6px;&quot;&gt;[root@hackthesec]# &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt;apt-get install mysql-server&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;Press &#39;y&#39; for any confirmation asked by the installer.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;Once the installation is finished, you can secure the MySQL server by executing the following command.&lt;/span&gt;&lt;/p&gt;&lt;pre style=&quot;background: none 0px 0px repeat scroll rgb(60, 60, 60); border-radius: 4px; border: 1px solid rgb(229, 229, 229); margin-bottom: 20px; outline: 0px; overflow: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;color: white; line-height: 15.6px;&quot;&gt;[root@hackthesec]# &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt;sudo mysql_secure_installation&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;You will go through a wizard of questions to secure the MySQL server. Follow the onscreen instructions below:&lt;/span&gt;&lt;/p&gt;&lt;pre style=&quot;background: none 0px 0px repeat scroll rgb(60, 60, 60); border-radius: 4px; border: 1px solid rgb(229, 229, 229); color: #333333; margin-bottom: 20px; outline: 0px; overflow: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: white; line-height: 15.6px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;[root@hackthesec]#&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;Press ‘y’ to enable validate password plugin. This will allow you to set a strict password policy for user accounts.&lt;/span&gt;&lt;/p&gt;&lt;pre style=&quot;background: none 0px 0px repeat scroll rgb(60, 60, 60); border-radius: 4px; border: 1px solid rgb(229, 229, 229); margin-bottom: 20px; outline: 0px; overflow: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: white; font-family: verdana; font-size: large;&quot;&gt;&lt;span style=&quot;line-height: 15.6px;&quot;&gt;[root@hackthesec]# &lt;/span&gt;VALIDATE PASSWORD COMPONENT can be used to test passwords&lt;/span&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;&lt;span style=&quot;color: white; font-family: verdana; font-size: large;&quot;&gt;and improve security. It checks the strength of password&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;&lt;span style=&quot;color: white; font-family: verdana; font-size: large;&quot;&gt;and allows the users to set only those passwords which are&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;&lt;span style=&quot;color: white; font-family: verdana; font-size: large;&quot;&gt;secure enough. Would you like to setup VALIDATE PASSWORD component?&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;&lt;span style=&quot;color: white; font-family: verdana; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;&lt;span style=&quot;color: white; font-family: verdana; font-size: large;&quot;&gt;Press y|Y for Yes, any other key for No: y&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;color: white; line-height: 15.6px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;
  54.  
  55. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;Chose the password complexity level. Read the all 3 options and choose one:&lt;/span&gt;&lt;/p&gt;&lt;pre style=&quot;background: none 0px 0px repeat scroll rgb(60, 60, 60); border-radius: 4px; border: 1px solid rgb(229, 229, 229); margin-bottom: 20px; outline: 0px; overflow: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: white; font-family: verdana;&quot;&gt;&lt;span style=&quot;font-size: large; line-height: 15.6px;&quot;&gt;[root@hackthesec]# LOW    Length &amp;gt;= 8
  56. MEDIUM Length &amp;gt;= 8, numeric, mixed case, and special characters
  57.  
  58. STRONG Length &amp;gt;= 8, numeric, mixed case, special characters and dictionary file
  59.  
  60. Please enter 0 = LOW, 1 = MEDIUM and 2 = STRONG: 1 &lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;Enter a new password and re-enter it. Make sure it matches the complexity level as described above.&lt;/span&gt;&lt;/p&gt;&lt;pre style=&quot;background: none 0px 0px repeat scroll rgb(60, 60, 60); border-radius: 4px; border: 1px solid rgb(229, 229, 229); margin-bottom: 20px; outline: 0px; overflow: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: white; font-family: verdana;&quot;&gt;&lt;span style=&quot;font-size: large; line-height: 15.6px;&quot;&gt;[root@hackthesec]#
  61. &lt;/span&gt;&lt;/span&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;&lt;span style=&quot;color: white; font-family: verdana; font-size: large;&quot;&gt;New password: *************&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;&lt;span style=&quot;color: white; font-family: verdana; font-size: large;&quot;&gt;Re-enter new password: *************&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;color: white; font-family: verdana; font-size: large;&quot;&gt;Do you wish to continue with the password provided?(Press y|Y for Yes, any other key for No) : y
  62.  
  63. Remove anonymous users? (Press y|Y for Yes, any other key for No) : y
  64.  
  65. Disallow root login remotely? (Press y|Y for Yes, any other key for No) : y
  66.  
  67. Remove test database and access to it? (Press y|Y for Yes, any other key for No) : y
  68.  
  69. Reload privilege tables now? (Press y|Y for Yes, any other key for No) : y&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;color: #2b00fe; font-family: verdana; font-size: large;&quot;&gt;&lt;b&gt;Step 2 – Connect to MySQL Server&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;Remember that the above password set for the root accounts is used for remote users only. To log in from the same system, just type mysql on terminal.&lt;/span&gt;&lt;/p&gt;&lt;pre style=&quot;background: none 0px 0px repeat scroll rgb(60, 60, 60); border-radius: 4px; border: 1px solid rgb(229, 229, 229); color: #333333; margin-bottom: 20px; outline: 0px; overflow: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: white; line-height: 15.6px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;[root@hackthesec]# sudo mysql&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;background: none 0px 0px repeat scroll rgb(60, 60, 60); border-radius: 4px; border: 1px solid rgb(229, 229, 229); margin-bottom: 20px; outline: 0px; overflow: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;&lt;span style=&quot;color: white; font-family: verdana; font-size: large;&quot;&gt;Welcome to the MySQL monitor.&amp;nbsp; Commands end with ; or \g.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;&lt;span style=&quot;color: white; font-family: verdana; font-size: large;&quot;&gt;Your MySQL connection id is 14&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;&lt;span style=&quot;color: white; font-family: verdana; font-size: large;&quot;&gt;Server version: 8.0.28-0ubuntu4 (Ubuntu)&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;&lt;span style=&quot;color: white; font-family: verdana; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;&lt;span style=&quot;color: white; font-family: verdana; font-size: large;&quot;&gt;Copyright (c) 2000, 2022, Oracle and/or its affiliates.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;&lt;span style=&quot;color: white; font-family: verdana; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;&lt;span style=&quot;color: white; font-family: verdana; font-size: large;&quot;&gt;Oracle is a registered trademark of Oracle Corporation and/or its&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;&lt;span style=&quot;color: white; font-family: verdana; font-size: large;&quot;&gt;affiliates. Other names may be trademarks of their respective&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;&lt;span style=&quot;color: white; font-family: verdana; font-size: large;&quot;&gt;owners.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;&lt;span style=&quot;color: white; font-family: verdana; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;&lt;span style=&quot;color: white; font-family: verdana; font-size: large;&quot;&gt;Type &#39;help;&#39; or &#39;\h&#39; for help. Type &#39;\c&#39; to clear the current input statement.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;&lt;span style=&quot;color: white; font-family: verdana; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;&lt;span style=&quot;color: white; font-family: verdana; font-size: large;&quot;&gt;mysql&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;color: white; line-height: 15.6px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;
  70. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;color: #2b00fe; font-family: verdana; font-size: large;&quot;&gt;&lt;b&gt;Step 3 – Creating Database and Users&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;Here is few example queries to create database and users in MySQL server.&lt;/span&gt;&lt;/p&gt;&lt;pre style=&quot;background: none 0px 0px repeat scroll rgb(60, 60, 60); border-radius: 4px; border: 1px solid rgb(229, 229, 229); margin-bottom: 20px; outline: 0px; overflow: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;color: white; line-height: 15.6px;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;[root@hackthesec]#
  71. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;&lt;span style=&quot;color: white; font-family: verdana; font-size: large;&quot;&gt;Create a database named ‘hackthesec’.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;CREATE DATABASE&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt;hackthesec&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt;;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;Next, create a user named ‘&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt;hackthesec&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt;’ accessible from ‘localhost’ only.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;CREATE USER &#39;&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt;hackthesec&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt;&#39;@&#39;localhost&#39; IDENTIFIED BY &#39;Secure321&#39;;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;&lt;span style=&quot;color: white; font-family: verdana; font-size: large;&quot;&gt;Grant permissions on database to user.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;&lt;span style=&quot;color: white;&quot;&gt;GRANT ALL ON mydb.* to &#39;&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt;hackthesec&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt;&#39;@&#39;localhost&#39;;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;&lt;span style=&quot;color: white; font-family: verdana; font-size: large;&quot;&gt;Apply the permission changes at runtime.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;white-space: normal;&quot;&gt;&lt;span style=&quot;color: white; font-family: verdana; font-size: large;&quot;&gt;FLUSH PRIVILEGES;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #2b00fe; font-family: verdana; font-size: large;&quot;&gt;&lt;b&gt;Step 4 – Manage MySQL Service&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;To check the database server status.&lt;/span&gt;&lt;/p&gt;&lt;pre style=&quot;background: none 0px 0px repeat scroll rgb(60, 60, 60); border-radius: 4px; border: 1px solid rgb(229, 229, 229); margin-bottom: 20px; outline: 0px; overflow: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;color: white; line-height: 15.6px;&quot;&gt;[root@hackthesec]# &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt;sudo systemctl status mysql&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;Use below command to start MySQL server.&lt;/span&gt;&lt;/p&gt;&lt;pre style=&quot;background: none 0px 0px repeat scroll rgb(60, 60, 60); border-radius: 4px; border: 1px solid rgb(229, 229, 229); margin-bottom: 20px; outline: 0px; overflow: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;color: white; line-height: 15.6px;&quot;&gt;[root@hackthesec]# &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt;sudo systemctl start mysql&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;To stop MySQL server:&lt;/span&gt;&lt;/p&gt;&lt;pre style=&quot;background: none 0px 0px repeat scroll rgb(60, 60, 60); border-radius: 4px; border: 1px solid rgb(229, 229, 229); margin-bottom: 20px; outline: 0px; overflow: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;color: white; line-height: 15.6px;&quot;&gt;[root@hackthesec]# &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt;sudo systemctl stop mysql&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;Restart MySQL database server, type:&lt;/span&gt;&lt;/p&gt;&lt;pre style=&quot;background: none 0px 0px repeat scroll rgb(60, 60, 60); border-radius: 4px; border: 1px solid rgb(229, 229, 229); margin-bottom: 20px; outline: 0px; overflow: auto; padding: 20px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;color: white; line-height: 15.6px;&quot;&gt;[root@hackthesec]# &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: white;&quot;&gt;sudo systemctl restart mysql&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana; font-size: large;&quot;&gt;@hackthesecurity&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://www.hackthesec.co.in/feeds/4726821688032105743/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.hackthesec.co.in/2023/05/how-to-install-mysql-server-on-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/4726821688032105743'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/4726821688032105743'/><link rel='alternate' type='text/html' href='https://www.hackthesec.co.in/2023/05/how-to-install-mysql-server-on-ubuntu.html' title='How To Install MySQL Server on Ubuntu 22.04'/><author><name>Sarkari-job.com</name><uri>http://www.blogger.com/profile/01796991448891824956</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqb_IjkqiXKg6rDmYejq7XSHARNEO7FQeNRUS_wOIn21jrjNbbAU7E6G9eRLRdYqi_Rde4_MExFxTI7vEQLKUepAv77VJY1ZcxLbpmQ-UaCqNfiVGecOeUXAnJxJOQqO-mHBETDm6S0oRb/s72-w640-h366-c/mysql-hackthesec.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6353083638681129765.post-3220436322465813409</id><published>2023-03-16T22:09:00.006+05:30</published><updated>2023-03-16T22:13:21.424+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ddos Attack"/><category scheme="http://www.blogger.com/atom/ns#" term="DDOS_Protection"/><category scheme="http://www.blogger.com/atom/ns#" term="vDDOS"/><title type='text'>vDDoS Proxy Protection</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;&quot; style=&quot;background-color: white; color: #24292f; font-size: 16px;&quot;&gt;Welcome to vDDoS, a HTTP(S) DDoS Protection Reverse Proxy.&lt;/span&gt;&lt;/p&gt;&lt;p dir=&quot;auto&quot; style=&quot;background-color: white; box-sizing: border-box; margin-bottom: 16px; margin-top: 0px;&quot;&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;&quot; style=&quot;color: #24292f;&quot;&gt;Homepage:&amp;nbsp;&lt;a href=&quot;http://vddos.voduy.com/&quot;&gt;http://vddos.voduy.com&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;&quot; style=&quot;color: #24292f;&quot;&gt;Discussion/Community:&amp;nbsp;&lt;a href=&quot;https://groups.google.com/g/voduydotcom?label=vddos-proxy-protection&quot;&gt;https://groups.google.com/g/voduydotcom&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;&quot; style=&quot;color: #24292f;&quot;&gt;Github:&amp;nbsp;&lt;a href=&quot;https://github.com/duy13/vDDoS-Protection&quot;&gt;https://github.com/duy13/vDDoS-Protection&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;&quot; style=&quot;color: #24292f;&quot;&gt;SourceForge:&amp;nbsp;&lt;a href=&quot;https://sourceforge.net/projects/vddos-protection&quot;&gt;https://sourceforge.net/projects/vddos-protection&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;&quot; style=&quot;color: #24292f;&quot;&gt;Youtube Playlist:&amp;nbsp;&lt;a href=&quot;https://link.voduy.com/vddos-youtube&quot;&gt;https://link.voduy.com/vddos-youtube&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;&quot; style=&quot;color: #24292f;&quot;&gt;Thanks to Nginx, Inc:&amp;nbsp;&lt;a href=&quot;https://github.com/nginx/nginx&quot;&gt;https://github.com/nginx/nginx&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;&quot; style=&quot;color: #24292f;&quot;&gt;Thanks to Alibaba/Tengine:&amp;nbsp;&lt;a href=&quot;https://github.com/alibaba/tengine&quot;&gt;https://github.com/alibaba/tengine&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;&quot; style=&quot;color: #24292f;&quot;&gt;Thanks to Kyprizel testcookie:&amp;nbsp;&lt;a href=&quot;https://github.com/kyprizel/testcookie-nginx-module&quot;&gt;https://github.com/kyprizel/testcookie-nginx-module&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;&quot; style=&quot;color: #24292f;&quot;&gt;Thanks to NBS System naxsi:&amp;nbsp;&lt;a href=&quot;https://github.com/nbs-system/naxsi&quot;&gt;https://github.com/nbs-system/naxsi&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;vddos-layer4-cloudflare-api&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnEj1BmnqEraaoVnt0cmRy1axqm9hVbMOaKqYGv6yrW77iBjbJ1VSeLwttTnBIxGpgDrvw7nCr9kSAPMx_j09ZY-TpLDg39cSZFJEQLK63HlEUineo5JwuyHL9WT4CzwdrQIWmmMMMNE-h/s2500/vddos-layer4-cloudflare-api.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;500&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnEj1BmnqEraaoVnt0cmRy1axqm9hVbMOaKqYGv6yrW77iBjbJ1VSeLwttTnBIxGpgDrvw7nCr9kSAPMx_j09ZY-TpLDg39cSZFJEQLK63HlEUineo5JwuyHL9WT4CzwdrQIWmmMMMNE-h/s2500/vddos-layer4-cloudflare-api.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;iframe allow=&quot;accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture&quot; allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/VsGCeZcAtCw?autoplay=1&amp;amp;mute=1&quot; title=&quot;YouTube video player&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;h2 dir=&quot;auto&quot; style=&quot;background-color: white; border-bottom: 1px solid var(--color-border-muted); box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; line-height: 1.25; margin-bottom: 16px; margin-top: 24px; padding-bottom: 0.3em;&quot;&gt;&lt;a aria-hidden=&quot;true&quot; class=&quot;anchor&quot; href=&quot;https://vddos.voduy.com/#system-requirement&quot; id=&quot;user-content-system-requirement&quot; style=&quot;background-color: transparent; box-sizing: border-box; float: left; line-height: 1; margin-left: -20px; padding-right: 4px; text-decoration-line: none;&quot;&gt;&lt;svg aria-hidden=&quot;true&quot; class=&quot;octicon octicon-link&quot; height=&quot;16&quot; version=&quot;1.1&quot; viewbox=&quot;0 0 16 16&quot; width=&quot;16&quot;&gt;&lt;path d=&quot;M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z&quot; fill-rule=&quot;evenodd&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;System Requirement&lt;/h2&gt;&lt;ul dir=&quot;auto&quot; style=&quot;background-color: white; box-sizing: border-box; margin-bottom: 16px; margin-top: 0px; padding-left: 2em;&quot;&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji&quot; style=&quot;color: #24292f;&quot;&gt;&lt;b&gt;CentOS/CloudLinux/AlmaLinux/RockyLinux/RedHat:&lt;/b&gt;&lt;br /&gt;&lt;pre style=&quot;background-color: var(--color-canvas-subtle); border-radius: 6px; box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; line-height: 1.45; margin-bottom: 16px; margin-top: 0px; overflow-wrap: normal; overflow: auto; padding: 16px;&quot;&gt;&lt;code style=&quot;background: transparent; border-radius: 6px; border: 0px; box-sizing: border-box; display: inline; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; line-height: inherit; margin: 0px; overflow-wrap: normal; overflow: visible; padding: 0px; word-break: normal;&quot;&gt;yum -y install epel-release ; yum -y install wget zip unzip tar curl  &amp;amp;&amp;amp; \
  72. yum -y install nano net-tools curl wget gc gcc gcc-c++ pcre-devel zlib-devel make wget openssl-devel libxml2-devel libxslt-devel gd-devel perl-ExtUtils-Embed GeoIP-devel gperftools gperftools-devel perl-ExtUtils-Embed  &amp;amp;&amp;amp; \
  73. yum -y install screen htop iotop iptraf nano net-tools gcc automake libffi-devel zlib zlib-devel gcc gcc-c++ autoconf apr-util-devel gc gcc gcc-c++ pcre-devel zlib-devel make wget openssl openssl-devel libxml2-devel libxslt-devel gd-devel perl-ExtUtils-Embed GeoIP-devel gperftools gperftools-devel  perl-ExtUtils-Embed &amp;amp;&amp;amp; \
  74. yum -y install gnutls-utils sshpass rsync &amp;amp;&amp;amp; \
  75. yum -y install bind-utils sysstat bc tar curl wget gc gcc gcc-c++ pcre-devel zlib-devel make wget openssl-devel libxml2-devel libxslt-devel gd-devel perl-ExtUtils-Embed GeoIP-devel gperftools gperftools-devel perl-ExtUtils-Embed gcc automake autoconf apr-util-devel gc gcc gcc-c++ pcre-devel zlib-devel make wget openssl openssl-devel libxml2-devel libxslt-devel gd-devel perl-ExtUtils-Embed GeoIP-devel gperftools gperftools-devel perl-ExtUtils-Embed perl perl-devel perl-ExtUtils-Embed libxslt libxslt-devel libxml2 libxml2-devel gd gd-devel GeoIP GeoIP-devel gperftools-devel wget yum-utils make gcc openssl-devel bzip2-devel libffi-devel zlib-devel screen htop iotop iptraf nano net-tools gcc automake libffi-devel zlib zlib-devel gcc gcc-c++ autoconf apr-util-devel gc &lt;/code&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji&quot; style=&quot;color: #24292f;&quot;&gt;&lt;b&gt;Ubuntu/Debian:&lt;br /&gt;&lt;pre style=&quot;background-color: var(--color-canvas-subtle); border-radius: 6px; box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; font-weight: 400; line-height: 1.45; margin-bottom: 16px; margin-top: 0px; overflow-wrap: normal; overflow: auto; padding: 16px;&quot;&gt;&lt;code style=&quot;background: transparent; border-radius: 6px; border: 0px; box-sizing: border-box; display: inline; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; line-height: inherit; margin: 0px; overflow-wrap: normal; overflow: visible; padding: 0px; word-break: normal;&quot;&gt;apt update; apt -y install wget zip unzip tar curl ca-certificates &amp;amp;&amp;amp; \
  76. apt install -y perl libperl-dev libgd3 libgd-dev libgeoip1 libgeoip-dev geoip-bin libxml2 libxml2-dev libxslt1.1 libxslt1-dev  &amp;amp;&amp;amp; \
  77. apt-get -y install build-essential libpcre3 libpcre3-dev zlib1g zlib1g-dev libssl-dev libgd-dev libxml2 libxml2-dev uuid-dev  &amp;amp;&amp;amp; \
  78. apt -y install curl wget build-essential checkinstall   &amp;amp;&amp;amp; \
  79. apt -y install net-tools sshpass rsync sysstat bc dnsutils  &amp;amp;&amp;amp; \
  80. apt -y install libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji&quot; style=&quot;color: #24292f;&quot;&gt;&lt;b&gt;(CentOS 7 need install this following&amp;nbsp;package too, if you use it):&lt;/b&gt;&lt;br /&gt;&lt;pre style=&quot;background-color: var(--color-canvas-subtle); border-radius: 6px; box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; line-height: 1.45; margin-bottom: 16px; margin-top: 0px; overflow-wrap: normal; overflow: auto; padding: 16px;&quot;&gt;&lt;code style=&quot;background: transparent; border-radius: 6px; border: 0px; box-sizing: border-box; display: inline; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; line-height: inherit; margin: 0px; overflow-wrap: normal; overflow: visible; padding: 0px; word-break: normal;&quot;&gt;yum -y install libatomic_ops-devel &lt;/code&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box;&quot;&gt;&lt;span face=&quot;-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji&quot; style=&quot;color: #24292f;&quot;&gt;&lt;b&gt;&lt;b&gt;(Ubuntu need install this&amp;nbsp;following&amp;nbsp;package too, if you use it):&lt;/b&gt;&lt;br /&gt;&lt;pre style=&quot;background-color: var(--color-canvas-subtle); border-radius: 6px; box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; font-weight: 400; line-height: 1.45; margin-bottom: 16px; margin-top: 0px; overflow-wrap: normal; overflow: auto; padding: 16px;&quot;&gt;&lt;code style=&quot;background: transparent; border-radius: 6px; border: 0px; box-sizing: border-box; display: inline; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; line-height: inherit; margin: 0px; overflow-wrap: normal; overflow: visible; padding: 0px; word-break: normal;&quot;&gt;apt -y install libreadline-gplv2-dev&lt;/code&gt;&lt;/pre&gt;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2 dir=&quot;auto&quot; style=&quot;background-color: white; border-bottom: 1px solid var(--color-border-muted); box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; line-height: 1.25; margin-bottom: 16px; margin-top: 24px; padding-bottom: 0.3em;&quot;&gt;&lt;a aria-hidden=&quot;true&quot; class=&quot;anchor&quot; href=&quot;https://vddos.voduy.com/#install&quot; id=&quot;user-content-install&quot; style=&quot;background-color: transparent; box-sizing: border-box; float: left; line-height: 1; margin-left: -20px; padding-right: 4px; text-decoration-line: none;&quot;&gt;&lt;svg aria-hidden=&quot;true&quot; class=&quot;octicon octicon-link&quot; height=&quot;16&quot; version=&quot;1.1&quot; viewbox=&quot;0 0 16 16&quot; width=&quot;16&quot;&gt;&lt;path d=&quot;M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z&quot; fill-rule=&quot;evenodd&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;Install&lt;/h2&gt;&lt;p dir=&quot;auto&quot; style=&quot;background-color: white; box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; margin-bottom: 16px; margin-top: 0px;&quot;&gt;Install vDDoS Proxy Protection&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: 600;&quot;&gt;Latest Version&lt;/span&gt;:&lt;/p&gt;&lt;div class=&quot;snippet-clipboard-content position-relative overflow-auto&quot; style=&quot;background-color: white; box-sizing: border-box; overflow: auto; position: relative;&quot;&gt;&lt;pre style=&quot;background-color: var(--color-canvas-subtle); border-radius: 6px; box-sizing: border-box; line-height: 1.45; margin-bottom: 16px; margin-top: 0px; overflow-wrap: normal; overflow: auto; padding: 16px;&quot;&gt;&lt;code style=&quot;background: transparent; border-radius: 6px; border: 0px; box-sizing: border-box; display: inline; line-height: inherit; margin: 0px; overflow-wrap: normal; overflow: visible; padding: 0px; word-break: normal;&quot;&gt;&lt;span face=&quot;ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace&quot; style=&quot;color: #24292f;&quot;&gt;&lt;span style=&quot;font-size: 13.6px;&quot;&gt;wget &lt;a class=&quot;vglnk&quot; href=&quot;https://files.voduy.com/vDDoS-Proxy-Protection/latest.sh&quot; rel=&quot;nofollow&quot;&gt;https://files.voduy.com/vDDoS-Proxy-Protection/latest.sh&lt;/a&gt; ; chmod 700 latest.sh ; bash latest.sh
  81. &lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p dir=&quot;auto&quot; style=&quot;background-color: white; box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; margin-bottom: 16px; margin-top: 0px;&quot;&gt;OR:&lt;/p&gt;&lt;div class=&quot;snippet-clipboard-content position-relative overflow-auto&quot; style=&quot;background-color: white; box-sizing: border-box; overflow: auto; position: relative;&quot;&gt;&lt;pre style=&quot;background-color: var(--color-canvas-subtle); border-radius: 6px; box-sizing: border-box; line-height: 1.45; margin-bottom: 16px; margin-top: 0px; overflow-wrap: normal; overflow: auto; padding: 16px;&quot;&gt;&lt;code style=&quot;background: transparent; border-radius: 6px; border: 0px; box-sizing: border-box; display: inline; line-height: inherit; margin: 0px; overflow-wrap: normal; overflow: visible; padding: 0px; word-break: normal;&quot;&gt;&lt;span face=&quot;ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace&quot; style=&quot;color: #24292f;&quot;&gt;&lt;span style=&quot;font-size: 13.6px;&quot;&gt;latest_version=2.3.3
  82. wget &lt;a class=&quot;vglnk&quot; href=&quot;https://files.voduy.com/vDDoS-Proxy-Protection/vddos-$latest_version.tar.gz&quot; rel=&quot;nofollow&quot;&gt;https://files.voduy.com/vDDoS-Proxy-Protection/vddos-$latest_version.tar.gz&lt;/a&gt;
  83. tar xvf vddos-$latest_version.tar.gz
  84. chmod 700 *.sh
  85. ./install.sh
  86. &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: var(--color-canvas-subtle); border-radius: 6px; box-sizing: border-box; line-height: 1.45; margin-bottom: 16px; margin-top: 0px; overflow-wrap: normal; overflow: auto; padding: 16px;&quot;&gt;&lt;code style=&quot;background: transparent; border-radius: 6px; border: 0px; box-sizing: border-box; display: inline; line-height: inherit; margin: 0px; overflow-wrap: normal; overflow: visible; padding: 0px; word-break: normal;&quot;&gt;&lt;span face=&quot;ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace&quot; style=&quot;color: #24292f;&quot;&gt;&lt;span style=&quot;font-size: 13.6px;&quot;&gt;
  87. 1. MASTER
  88. 2. SLAVE
  89. 3. REMOVE ALL
  90.  
  91. 0. Exit
  92.  
  93. ________________________________________________________
  94. Enter your choice [1, 2, 3 or 0]:
  95.  
  96.  
  97. &lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p dir=&quot;auto&quot; style=&quot;background-color: white; box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; margin-bottom: 16px; margin-top: 0px;&quot;&gt;OR:&lt;/p&gt;&lt;div class=&quot;snippet-clipboard-content position-relative overflow-auto&quot; style=&quot;background-color: white; box-sizing: border-box; overflow: auto; position: relative;&quot;&gt;&lt;pre style=&quot;background-color: var(--color-canvas-subtle); border-radius: 6px; box-sizing: border-box; line-height: 1.45; margin-bottom: 16px; margin-top: 0px; overflow-wrap: normal; overflow: auto; padding: 16px;&quot;&gt;&lt;code style=&quot;background: transparent; border-radius: 6px; border: 0px; box-sizing: border-box; display: inline; line-height: inherit; margin: 0px; overflow-wrap: normal; overflow: visible; padding: 0px; word-break: normal;&quot;&gt;&lt;span face=&quot;ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace&quot; style=&quot;color: #24292f;&quot;&gt;&lt;span style=&quot;font-size: 13.6px;&quot;&gt;./install.sh master #(master/slave)
  98.  
  99. &lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class=&quot;vddos-logo&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv0HZuUijuRrHIMoJr-x_HQy3m4Fa0hdl8TPn0Ps6H9t9IePT1FbkYEvUdTQy0F5WWf-m1p0wy-Ma4ozGd27meTZqjzZgoxUT3Vdr_yiQ2Vbi7xS2dVnUrV8mRTj0gtIMJ9DzTW49jytgX/s2500/vddos-master-slave.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;700&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv0HZuUijuRrHIMoJr-x_HQy3m4Fa0hdl8TPn0Ps6H9t9IePT1FbkYEvUdTQy0F5WWf-m1p0wy-Ma4ozGd27meTZqjzZgoxUT3Vdr_yiQ2Vbi7xS2dVnUrV8mRTj0gtIMJ9DzTW49jytgX/s2500/vddos-master-slave.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;h2 dir=&quot;auto&quot; style=&quot;background-color: white; border-bottom: 1px solid var(--color-border-muted); box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; line-height: 1.25; margin-bottom: 16px; margin-top: 24px; padding-bottom: 0.3em;&quot;&gt;&lt;a aria-hidden=&quot;true&quot; class=&quot;anchor&quot; href=&quot;https://vddos.voduy.com/#using&quot; id=&quot;user-content-using&quot; style=&quot;background-color: transparent; box-sizing: border-box; float: left; line-height: 1; margin-left: -20px; padding-right: 4px; text-decoration-line: none;&quot;&gt;&lt;svg aria-hidden=&quot;true&quot; class=&quot;octicon octicon-link&quot; height=&quot;16&quot; version=&quot;1.1&quot; viewbox=&quot;0 0 16 16&quot; width=&quot;16&quot;&gt;&lt;path d=&quot;M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z&quot; fill-rule=&quot;evenodd&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;Using&lt;/h2&gt;&lt;p dir=&quot;auto&quot; style=&quot;background-color: white; box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; margin-bottom: 16px; margin-top: 0px;&quot;&gt;Example Edit website.conf:&lt;/p&gt;&lt;div class=&quot;snippet-clipboard-content position-relative overflow-auto&quot; style=&quot;background-color: white; box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; overflow: auto; position: relative;&quot;&gt;&lt;pre style=&quot;background-color: var(--color-canvas-subtle); border-radius: 6px; box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; line-height: 1.45; margin-bottom: 16px; margin-top: 0px; overflow-wrap: normal; overflow: auto; padding: 16px;&quot;&gt;&lt;code style=&quot;background: transparent; border-radius: 6px; border: 0px; box-sizing: border-box; display: inline; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; line-height: inherit; margin: 0px; overflow-wrap: normal; overflow: visible; padding: 0px; word-break: normal;&quot;&gt;# nano /vddos/conf.d/website.conf
  100.  
  101. # Website       Listen               Backend                  Cache Security SSL-Prikey   SSL-CRTkey
  102. default         &lt;a class=&quot;vglnk&quot; href=&quot;http://0.0.0.0/&quot; rel=&quot;nofollow&quot;&gt;http://0.0.0.0:80&lt;/a&gt;    &lt;a class=&quot;vglnk&quot; href=&quot;http://127.0.0.1:8080/&quot; rel=&quot;nofollow&quot;&gt;http://127.0.0.1:8080&lt;/a&gt;    no    200      no           no
  103. &lt;a class=&quot;vglnk&quot; href=&quot;http://your-domain.com/&quot; rel=&quot;nofollow&quot;&gt;your-domain.com&lt;/a&gt; &lt;a class=&quot;vglnk&quot; href=&quot;http://0.0.0.0/&quot; rel=&quot;nofollow&quot;&gt;http://0.0.0.0:80&lt;/a&gt;    &lt;a class=&quot;vglnk&quot; href=&quot;http://127.0.0.1:8080/&quot; rel=&quot;nofollow&quot;&gt;http://127.0.0.1:8080&lt;/a&gt;    no    200      no           no
  104. default         &lt;a class=&quot;vglnk&quot; href=&quot;https://0.0.0.0/&quot; rel=&quot;nofollow&quot;&gt;https://0.0.0.0:443&lt;/a&gt;  &lt;a class=&quot;vglnk&quot; href=&quot;https://127.0.0.1:8443/&quot; rel=&quot;nofollow&quot;&gt;https://127.0.0.1:8443&lt;/a&gt;   no    307      /vddos/ssl/your-domain.com.pri /vddos/ssl/your-domain.com.crt
  105. &lt;a class=&quot;vglnk&quot; href=&quot;http://your-domain.com/&quot; rel=&quot;nofollow&quot;&gt;your-domain.com&lt;/a&gt; &lt;a class=&quot;vglnk&quot; href=&quot;https://0.0.0.0/&quot; rel=&quot;nofollow&quot;&gt;https://0.0.0.0:443&lt;/a&gt;  &lt;a class=&quot;vglnk&quot; href=&quot;https://127.0.0.1:8443/&quot; rel=&quot;nofollow&quot;&gt;https://127.0.0.1:8443&lt;/a&gt;   no    307      /vddos/ssl/your-domain.com.pri /vddos/ssl/your-domain.com.crt
  106. &lt;a class=&quot;vglnk&quot; href=&quot;http://your-domain.com/&quot; rel=&quot;nofollow&quot;&gt;your-domain.com&lt;/a&gt; &lt;a class=&quot;vglnk&quot; href=&quot;https://0.0.0.0:4343/&quot; rel=&quot;nofollow&quot;&gt;https://0.0.0.0:4343&lt;/a&gt; &lt;a class=&quot;vglnk&quot; href=&quot;https://103.28.249.200/&quot; rel=&quot;nofollow&quot;&gt;https://103.28.249.200:443&lt;/a&gt; yes click    /vddos/ssl/your-domain.com.pri /vddos/ssl/your-domain.com.crt
  107.  
  108. &lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p dir=&quot;auto&quot; style=&quot;background-color: white; box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; margin-bottom: 16px; margin-top: 0px;&quot;&gt;Save config website.conf&lt;/p&gt;&lt;p dir=&quot;auto&quot; style=&quot;background-color: white; box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; margin-bottom: 16px; margin-top: 0px;&quot;&gt;Restart vDDoS:&lt;/p&gt;&lt;div class=&quot;snippet-clipboard-content position-relative overflow-auto&quot; style=&quot;background-color: white; box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; overflow: auto; position: relative;&quot;&gt;&lt;pre style=&quot;background-color: var(--color-canvas-subtle); border-radius: 6px; box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; line-height: 1.45; margin-bottom: 16px; margin-top: 0px; overflow-wrap: normal; overflow: auto; padding: 16px;&quot;&gt;&lt;code style=&quot;background: transparent; border-radius: 6px; border: 0px; box-sizing: border-box; display: inline; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; line-height: inherit; margin: 0px; overflow-wrap: normal; overflow: visible; padding: 0px; word-break: normal;&quot;&gt;vddos restart&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class=&quot;which-attack-tools-vddos-proxy-can-block&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3zcBVSFZtx9LoNfkHe804QXCZfcTQQOphYEolSmL-exS5KZCbXN48AMtPISQCSgaXS_YTM-Qqq5hjoKc07Qg9CyEOO8L5tn7-uQbOsUiZXCVWqQopzp7P4lrsM4yIejUJ3zcqlZTCnjJy/s2500/which-attack-tools-vddos-proxy-can-block.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3zcBVSFZtx9LoNfkHe804QXCZfcTQQOphYEolSmL-exS5KZCbXN48AMtPISQCSgaXS_YTM-Qqq5hjoKc07Qg9CyEOO8L5tn7-uQbOsUiZXCVWqQopzp7P4lrsM4yIejUJ3zcqlZTCnjJy/s2500/which-attack-tools-vddos-proxy-can-block.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;h2 dir=&quot;auto&quot; style=&quot;background-color: white; border-bottom: 1px solid var(--color-border-muted); box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; line-height: 1.25; margin-bottom: 16px; margin-top: 24px; padding-bottom: 0.3em;&quot;&gt;&lt;a aria-hidden=&quot;true&quot; class=&quot;anchor&quot; href=&quot;https://vddos.voduy.com/#explain-config&quot; id=&quot;user-content-explain-config&quot; style=&quot;background-color: transparent; box-sizing: border-box; float: left; line-height: 1; margin-left: -20px; padding-right: 4px; text-decoration-line: none;&quot;&gt;&lt;svg aria-hidden=&quot;true&quot; class=&quot;octicon octicon-link&quot; height=&quot;16&quot; version=&quot;1.1&quot; viewbox=&quot;0 0 16 16&quot; width=&quot;16&quot;&gt;&lt;path d=&quot;M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z&quot; fill-rule=&quot;evenodd&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;Explain Config:&lt;/h2&gt;&lt;div class=&quot;snippet-clipboard-content position-relative overflow-auto&quot; style=&quot;background-color: white; box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; overflow: auto; position: relative;&quot;&gt;&lt;pre style=&quot;background-color: var(--color-canvas-subtle); border-radius: 6px; box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; line-height: 1.45; margin-bottom: 16px; margin-top: 0px; overflow-wrap: normal; overflow: auto; padding: 16px;&quot;&gt;&lt;code style=&quot;background: transparent; border-radius: 6px; border: 0px; box-sizing: border-box; display: inline; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; line-height: inherit; margin: 0px; overflow-wrap: normal; overflow: visible; padding: 0px; word-break: normal;&quot;&gt;nano /vddos/conf.d/website.conf
  109. &lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 dir=&quot;auto&quot; style=&quot;background-color: white; border-bottom: 1px solid var(--color-border-muted); box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; line-height: 1.25; margin-bottom: 16px; margin-top: 24px; padding-bottom: 0.3em;&quot;&gt;&lt;a aria-hidden=&quot;true&quot; class=&quot;anchor&quot; href=&quot;https://vddos.voduy.com/#website&quot; id=&quot;user-content-website&quot; style=&quot;background-color: transparent; box-sizing: border-box; float: left; line-height: 1; margin-left: -20px; padding-right: 4px; text-decoration-line: none;&quot;&gt;&lt;svg aria-hidden=&quot;true&quot; class=&quot;octicon octicon-link&quot; height=&quot;16&quot; version=&quot;1.1&quot; viewbox=&quot;0 0 16 16&quot; width=&quot;16&quot;&gt;&lt;path d=&quot;M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z&quot; fill-rule=&quot;evenodd&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;Website:&lt;/h2&gt;&lt;p dir=&quot;auto&quot; style=&quot;background-color: white; box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; margin-bottom: 16px; margin-top: 0px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: 600;&quot;&gt;variable:&lt;/span&gt;&amp;nbsp;&lt;em style=&quot;box-sizing: border-box;&quot;&gt;default,&amp;nbsp;&lt;a class=&quot;vglnk&quot; href=&quot;http://your-domain.com/&quot; rel=&quot;nofollow&quot;&gt;your-domain.com&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;http://www.your-domain.com/&quot; rel=&quot;nofollow&quot; style=&quot;background-color: transparent; box-sizing: border-box; text-decoration-line: none;&quot;&gt;www.your-domain.com&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;&lt;p dir=&quot;auto&quot; style=&quot;background-color: white; box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; margin-bottom: 16px; margin-top: 0px;&quot;&gt;Sets domain name listen. Note: only one default on one port listen Example:&lt;/p&gt;&lt;div class=&quot;snippet-clipboard-content position-relative overflow-auto&quot; style=&quot;background-color: white; box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; overflow: auto; position: relative;&quot;&gt;&lt;pre style=&quot;background-color: var(--color-canvas-subtle); border-radius: 6px; box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; line-height: 1.45; margin-bottom: 16px; margin-top: 0px; overflow-wrap: normal; overflow: auto; padding: 16px;&quot;&gt;&lt;code style=&quot;background: transparent; border-radius: 6px; border: 0px; box-sizing: border-box; display: inline; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; line-height: inherit; margin: 0px; overflow-wrap: normal; overflow: visible; padding: 0px; word-break: normal;&quot;&gt;# Website       Listen               Backend                  Cache Security SSL-Prikey   SSL-CRTkey
  110. default         &lt;a class=&quot;vglnk&quot; href=&quot;http://0.0.0.0/&quot; rel=&quot;nofollow&quot;&gt;http://0.0.0.0:80&lt;/a&gt;    &lt;a class=&quot;vglnk&quot; href=&quot;http://127.0.0.1:8080/&quot; rel=&quot;nofollow&quot;&gt;http://127.0.0.1:8080&lt;/a&gt;    no    200      no           no
  111. default         &lt;a class=&quot;vglnk&quot; href=&quot;https://0.0.0.0/&quot; rel=&quot;nofollow&quot;&gt;https://0.0.0.0:443&lt;/a&gt;  &lt;a class=&quot;vglnk&quot; href=&quot;https://127.0.0.1:8443/&quot; rel=&quot;nofollow&quot;&gt;https://127.0.0.1:8443&lt;/a&gt;   no    200      /vddos/ssl/your-domain.com.pri /vddos/ssl/your-domain.com.crt
  112. &lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 dir=&quot;auto&quot; style=&quot;background-color: white; border-bottom: 1px solid var(--color-border-muted); box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; line-height: 1.25; margin-bottom: 16px; margin-top: 24px; padding-bottom: 0.3em;&quot;&gt;&lt;a aria-hidden=&quot;true&quot; class=&quot;anchor&quot; href=&quot;https://vddos.voduy.com/#listen&quot; id=&quot;user-content-listen&quot; style=&quot;background-color: transparent; box-sizing: border-box; float: left; line-height: 1; margin-left: -20px; padding-right: 4px; text-decoration-line: none;&quot;&gt;&lt;svg aria-hidden=&quot;true&quot; class=&quot;octicon octicon-link&quot; height=&quot;16&quot; version=&quot;1.1&quot; viewbox=&quot;0 0 16 16&quot; width=&quot;16&quot;&gt;&lt;path d=&quot;M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z&quot; fill-rule=&quot;evenodd&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;Listen:&lt;/h2&gt;&lt;p dir=&quot;auto&quot; style=&quot;background-color: white; box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; margin-bottom: 16px; margin-top: 0px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: 600;&quot;&gt;variable:&lt;/span&gt;&amp;nbsp;&lt;em style=&quot;box-sizing: border-box;&quot;&gt;&lt;a href=&quot;http://0.0.0.0/&quot; rel=&quot;nofollow&quot; style=&quot;background-color: transparent; box-sizing: border-box; text-decoration-line: none;&quot;&gt;http://0.0.0.0:80&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;https://0.0.0.0/&quot; rel=&quot;nofollow&quot; style=&quot;background-color: transparent; box-sizing: border-box; text-decoration-line: none;&quot;&gt;https://0.0.0.0:443&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;http://123.234.012.321/&quot; rel=&quot;nofollow&quot; style=&quot;background-color: transparent; box-sizing: border-box; text-decoration-line: none;&quot;&gt;http://123.234.012.321:80&lt;/a&gt;,&amp;nbsp;&lt;a class=&quot;vglnk&quot; href=&quot;https://[::]/&quot; rel=&quot;nofollow&quot;&gt;https://[::]:443&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;&lt;p dir=&quot;auto&quot; style=&quot;background-color: white; box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; margin-bottom: 16px; margin-top: 0px;&quot;&gt;Sets IP &amp;amp; Port listen.&lt;/p&gt;&lt;h2 dir=&quot;auto&quot; style=&quot;background-color: white; border-bottom: 1px solid var(--color-border-muted); box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; line-height: 1.25; margin-bottom: 16px; margin-top: 24px; padding-bottom: 0.3em;&quot;&gt;&lt;a aria-hidden=&quot;true&quot; class=&quot;anchor&quot; href=&quot;https://vddos.voduy.com/#backend&quot; id=&quot;user-content-backend&quot; style=&quot;background-color: transparent; box-sizing: border-box; float: left; line-height: 1; margin-left: -20px; padding-right: 4px; text-decoration-line: none;&quot;&gt;&lt;svg aria-hidden=&quot;true&quot; class=&quot;octicon octicon-link&quot; height=&quot;16&quot; version=&quot;1.1&quot; viewbox=&quot;0 0 16 16&quot; width=&quot;16&quot;&gt;&lt;path d=&quot;M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z&quot; fill-rule=&quot;evenodd&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;Backend:&lt;/h2&gt;&lt;p dir=&quot;auto&quot; style=&quot;background-color: white; box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; margin-bottom: 16px; margin-top: 0px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: 600;&quot;&gt;variable:&lt;/span&gt;&amp;nbsp;&lt;em style=&quot;box-sizing: border-box;&quot;&gt;&lt;a href=&quot;http://123.234.012.321/&quot; rel=&quot;nofollow&quot; style=&quot;background-color: transparent; box-sizing: border-box; text-decoration-line: none;&quot;&gt;http://123.234.012.321:80&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;https://123.234.012.321/&quot; rel=&quot;nofollow&quot; style=&quot;background-color: transparent; box-sizing: border-box; text-decoration-line: none;&quot;&gt;https://123.234.012.321:443&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;http://127.0.0.1:8080/&quot; rel=&quot;nofollow&quot; style=&quot;background-color: transparent; box-sizing: border-box; text-decoration-line: none;&quot;&gt;http://127.0.0.1:8080&lt;/a&gt;,&amp;nbsp;&lt;a class=&quot;vglnk&quot; href=&quot;https://[::1]:8443/&quot; rel=&quot;nofollow&quot;&gt;https://[::1]:8443&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;&lt;p dir=&quot;auto&quot; style=&quot;background-color: white; box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; margin-bottom: 16px; margin-top: 0px;&quot;&gt;Sets Real IP &amp;amp; Port Backend Service.&lt;/p&gt;&lt;h2 dir=&quot;auto&quot; style=&quot;background-color: white; border-bottom: 1px solid var(--color-border-muted); box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; line-height: 1.25; margin-bottom: 16px; margin-top: 24px; padding-bottom: 0.3em;&quot;&gt;&lt;a aria-hidden=&quot;true&quot; class=&quot;anchor&quot; href=&quot;https://vddos.voduy.com/#cache&quot; id=&quot;user-content-cache&quot; style=&quot;background-color: transparent; box-sizing: border-box; float: left; line-height: 1; margin-left: -20px; padding-right: 4px; text-decoration-line: none;&quot;&gt;&lt;svg aria-hidden=&quot;true&quot; class=&quot;octicon octicon-link&quot; height=&quot;16&quot; version=&quot;1.1&quot; viewbox=&quot;0 0 16 16&quot; width=&quot;16&quot;&gt;&lt;path d=&quot;M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z&quot; fill-rule=&quot;evenodd&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;Cache:&lt;/h2&gt;&lt;p dir=&quot;auto&quot; style=&quot;background-color: white; box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; margin-bottom: 16px; margin-top: 0px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: 600;&quot;&gt;variable:&lt;/span&gt;&amp;nbsp;&lt;em style=&quot;box-sizing: border-box;&quot;&gt;no, yes&lt;/em&gt;&lt;/p&gt;&lt;p dir=&quot;auto&quot; style=&quot;background-color: white; box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; margin-bottom: 16px; margin-top: 0px;&quot;&gt;Sets proxy cache website on vDDoS.&lt;/p&gt;&lt;h2 dir=&quot;auto&quot; style=&quot;background-color: white; border-bottom: 1px solid var(--color-border-muted); box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; line-height: 1.25; margin-bottom: 16px; margin-top: 24px; padding-bottom: 0.3em;&quot;&gt;&lt;a aria-hidden=&quot;true&quot; class=&quot;anchor&quot; href=&quot;https://vddos.voduy.com/#security&quot; id=&quot;user-content-security&quot; style=&quot;background-color: transparent; box-sizing: border-box; float: left; line-height: 1; margin-left: -20px; padding-right: 4px; text-decoration-line: none;&quot;&gt;&lt;svg aria-hidden=&quot;true&quot; class=&quot;octicon octicon-link&quot; height=&quot;16&quot; version=&quot;1.1&quot; viewbox=&quot;0 0 16 16&quot; width=&quot;16&quot;&gt;&lt;path d=&quot;M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z&quot; fill-rule=&quot;evenodd&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;Security:&lt;/h2&gt;&lt;p dir=&quot;auto&quot; style=&quot;background-color: white; box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; margin-bottom: 16px; margin-top: 0px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: 600;&quot;&gt;variable:&lt;/span&gt;&amp;nbsp;&lt;em style=&quot;box-sizing: border-box;&quot;&gt;no, 307, 200, click, 5s, high, captcha, hcaptcha&lt;/em&gt;&lt;/p&gt;&lt;p dir=&quot;auto&quot; style=&quot;background-color: white; box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; margin-bottom: 16px; margin-top: 0px;&quot;&gt;Sets a valid for Security Level Protection. Note: no &amp;lt; 307 &amp;lt; 200 &amp;lt; click &amp;lt; 5s &amp;lt; high &amp;lt; captcha &amp;lt; hcaptcha&lt;/p&gt;&lt;h2 dir=&quot;auto&quot; style=&quot;background-color: white; border-bottom: 1px solid var(--color-border-muted); box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; line-height: 1.25; margin-bottom: 16px; margin-top: 24px; padding-bottom: 0.3em;&quot;&gt;&lt;a aria-hidden=&quot;true&quot; class=&quot;anchor&quot; href=&quot;https://vddos.voduy.com/#ssl-prikey&quot; id=&quot;user-content-ssl-prikey&quot; style=&quot;background-color: transparent; box-sizing: border-box; float: left; line-height: 1; margin-left: -20px; padding-right: 4px; text-decoration-line: none;&quot;&gt;&lt;svg aria-hidden=&quot;true&quot; class=&quot;octicon octicon-link&quot; height=&quot;16&quot; version=&quot;1.1&quot; viewbox=&quot;0 0 16 16&quot; width=&quot;16&quot;&gt;&lt;path d=&quot;M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z&quot; fill-rule=&quot;evenodd&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;&amp;nbsp; SSL-Prikey:&lt;/h2&gt;&lt;p dir=&quot;auto&quot; style=&quot;background-color: white; box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; margin-bottom: 16px; margin-top: 0px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: 600;&quot;&gt;variable:&lt;/span&gt;&amp;nbsp;&lt;em style=&quot;box-sizing: border-box;&quot;&gt;/location/ssl/key/of/your/private/key/privkey.pem&lt;/em&gt;&lt;/p&gt;&lt;p dir=&quot;auto&quot; style=&quot;background-color: white; box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; margin-bottom: 16px; margin-top: 0px;&quot;&gt;Sets SSL Private key website for vDDoS. Note: Option need for HTTPS Listen.&lt;/p&gt;&lt;h2 dir=&quot;auto&quot; style=&quot;background-color: white; border-bottom: 1px solid var(--color-border-muted); box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; line-height: 1.25; margin-bottom: 16px; margin-top: 24px; padding-bottom: 0.3em;&quot;&gt;&lt;a aria-hidden=&quot;true&quot; class=&quot;anchor&quot; href=&quot;https://vddos.voduy.com/#ssl-crtkey&quot; id=&quot;user-content-ssl-crtkey&quot; style=&quot;background-color: transparent; box-sizing: border-box; float: left; line-height: 1; margin-left: -20px; padding-right: 4px; text-decoration-line: none;&quot;&gt;&lt;svg aria-hidden=&quot;true&quot; class=&quot;octicon octicon-link&quot; height=&quot;16&quot; version=&quot;1.1&quot; viewbox=&quot;0 0 16 16&quot; width=&quot;16&quot;&gt;&lt;path d=&quot;M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z&quot; fill-rule=&quot;evenodd&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;&amp;nbsp; &amp;nbsp;SSL-CRTkey:&lt;/h2&gt;&lt;p dir=&quot;auto&quot; style=&quot;background-color: white; box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; margin-bottom: 16px; margin-top: 0px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: 600;&quot;&gt;variable:&lt;/span&gt;&amp;nbsp;&lt;em style=&quot;box-sizing: border-box;&quot;&gt;/location/ssl/key/of/your/public/key/cert.pem&lt;/em&gt;&lt;/p&gt;&lt;p dir=&quot;auto&quot; style=&quot;background-color: white; box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; margin-bottom: 16px; margin-top: 0px;&quot;&gt;Sets SSL Public key website for vDDoS. Note: Option need for HTTPS Listen.&lt;/p&gt;&lt;p dir=&quot;auto&quot; style=&quot;background-color: white; box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; margin-bottom: 16px; margin-top: 0px;&quot;&gt;3rd Plugin:&lt;/p&gt;&lt;p dir=&quot;auto&quot; style=&quot;background-color: white; box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; margin-bottom: 16px; margin-top: 0px;&quot;&gt;vddos-sensor-plugin:&amp;nbsp;&lt;a href=&quot;https://github.com/ertugrulturan/vddos-sensor-plugin&quot; style=&quot;background-color: transparent; box-sizing: border-box; text-decoration-line: none;&quot;&gt;https://github.com/ertugrulturan/vddos-sensor-plugin&lt;/a&gt;&lt;/p&gt;&lt;p dir=&quot;auto&quot; style=&quot;background-color: white; box-sizing: border-box; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; margin-bottom: 16px; margin-top: 0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;donate-member-docs&quot; style=&quot;clear: both;&quot;&gt;Refer -&amp;nbsp;https://vddos.voduy.com/&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://www.hackthesec.co.in/feeds/3220436322465813409/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.hackthesec.co.in/2023/03/vddos-proxy-protection.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/3220436322465813409'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/3220436322465813409'/><link rel='alternate' type='text/html' href='https://www.hackthesec.co.in/2023/03/vddos-proxy-protection.html' title='vDDoS Proxy Protection'/><author><name>Raj</name><uri>http://www.blogger.com/profile/02793413996647910802</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnEj1BmnqEraaoVnt0cmRy1axqm9hVbMOaKqYGv6yrW77iBjbJ1VSeLwttTnBIxGpgDrvw7nCr9kSAPMx_j09ZY-TpLDg39cSZFJEQLK63HlEUineo5JwuyHL9WT4CzwdrQIWmmMMMNE-h/s72-c/vddos-layer4-cloudflare-api.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6353083638681129765.post-3117920173755669536</id><published>2023-02-18T19:54:00.005+05:30</published><updated>2023-02-18T19:54:54.588+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos8"/><category scheme="http://www.blogger.com/atom/ns#" term="Gmail_Relay_with_postfix"/><category scheme="http://www.blogger.com/atom/ns#" term="postfix"/><category scheme="http://www.blogger.com/atom/ns#" term="relay"/><category scheme="http://www.blogger.com/atom/ns#" term="SMTP"/><title type='text'>Configure Postfix SMTP Relay (Smart Host) on CentOS 8</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;u&gt;&lt;b&gt;Configure Postfix SMTP Relay (Smart Host) on CentOS 8&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;u&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #666666; font-family: Rubik, sans-serif; font-size: 16px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Postfix&lt;/span&gt;&amp;nbsp;is a Mail Transport Agent (MTA), which can be easily configured as a private relay host, passing mail to other mail servers. Unlike Sendmail, Postfix is considered a very secure MTA, offering a high level of flexibility and ease of administration.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;In this article, I am configuring Postfix on CentOS 8 as SMTP smart host (relay host) using SASL authentication to send out mail.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;&lt;span id=&quot;more-5177&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bolder;&quot;&gt;1. Install Postfix&lt;/span&gt;&lt;/p&gt;&lt;blockquote style=&quot;border: none; margin: 0 0 0 40px; padding: 0px;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgExCIgNV6dSQHUBuJSk7cnAf8X8jYG1wuC6oSMjlXn1enx_vc-wDCcb_coF_D3hCLkPHYGoXdQXiGHgFztfmQ7QuWBhMi26j_bg6vXcEFldqhLIv6e_TuiCOQi-eTeZq5VDeJsZ74-GVyJ_A18TzThvzbTHtBzIqLHcyomSTExNZtzcOzq7FxywZS3SQ/s1200/hackthesec.co.in_postfix.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;840&quot; data-original-width=&quot;1200&quot; height=&quot;224&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgExCIgNV6dSQHUBuJSk7cnAf8X8jYG1wuC6oSMjlXn1enx_vc-wDCcb_coF_D3hCLkPHYGoXdQXiGHgFztfmQ7QuWBhMi26j_bg6vXcEFldqhLIv6e_TuiCOQi-eTeZq5VDeJsZ74-GVyJ_A18TzThvzbTHtBzIqLHcyomSTExNZtzcOzq7FxywZS3SQ/s320/hackthesec.co.in_postfix.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/blockquote&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;background-color: white; color: #666666; font-family: Rubik, sans-serif; font-size: 16px;&quot;&gt;Postfix should be preinstalled on CentOS 8 by default. If for some reason you don’t have the service installed, use the below command to install the relevant package:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;background-color: white; color: #666666; font-family: Rubik, sans-serif; font-size: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot; language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; color: #f8f8f2; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 15.36px; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;code class=&quot; language-markup&quot; style=&quot;box-sizing: border-box; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 14.7456px; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;[&lt;a class=&quot;token email-link&quot; href=&quot;root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; text-decoration-line: none;&quot;&gt;root@hackthesec&lt;/a&gt; ~]# dnf install postfix&lt;/code&gt;&lt;/pre&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #666666; font-family: Rubik, sans-serif; font-size: 16px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;2. Install SASL plugin&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #666666; font-family: Rubik, sans-serif; font-size: 16px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;Package&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;cyrus-sasl-plain&lt;/span&gt;&amp;nbsp;contains the Cyrus SASL plugins which support PLAIN and LOGIN authentication.&lt;/p&gt;&lt;pre class=&quot; language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; color: #f8f8f2; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 15.36px; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;code class=&quot; language-markup&quot; style=&quot;box-sizing: border-box; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 14.7456px; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;[&lt;a class=&quot;token email-link&quot; href=&quot;root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; text-decoration-line: none;&quot;&gt;root@hackthesec&lt;/a&gt; ~]# dnf install cyrus-sasl-plain&lt;/code&gt;&lt;/pre&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #666666; font-family: Rubik, sans-serif; font-size: 16px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;3. Edit the configuration file&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #666666; font-family: Rubik, sans-serif; font-size: 16px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;I am configuring the service to act as SMTP smart host, sending the mail to hackthesec mail server, which is my ISP mail server, using SASL authentication (login and password).&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #666666; font-family: Rubik, sans-serif; font-size: 16px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;Edit&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;/etc/postfix/main.cf&lt;/span&gt;&amp;nbsp;configuration file and update the below relevant lines:&lt;/p&gt;&lt;pre class=&quot; language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; color: #f8f8f2; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 15.36px; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;code class=&quot; language-markup&quot; style=&quot;box-sizing: border-box; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 14.7456px; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;...
  113. meta_directory = /etc/postfix
  114. myhostname = chronos
  115. mydomain = hackthesec.co.in
  116. local_transport = error: this is a null client
  117. myorigin = $myhostname.$mydomain
  118. # list of trusted network addresses, that can relay through this MTA
  119. mynetworks = 127.0.0.0/8 [::1]/128
  120. relayhost = [hackthesec.co.in]
  121. disable_dns_lookups = yes
  122.  
  123. # SASL authentication
  124. smtp_sasl_auth_enable = yes
  125. smtp_sasl_password_maps = static:&lt;/code&gt;admin@hackthesec.co.in:mypassword&lt;/pre&gt;&lt;pre class=&quot; language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; color: #f8f8f2; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 15.36px; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;code class=&quot; language-markup&quot; style=&quot;box-sizing: border-box; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 14.7456px; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;smtp_sasl_security_options = noanonymous
  126. smtp_tls_security_level = encrypt
  127. ...&lt;/code&gt;&lt;/pre&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #666666; font-family: Rubik, sans-serif; font-size: 16px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;4. Test the configuration&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #666666; font-family: Rubik, sans-serif; font-size: 16px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;Test the configuration for any obvious errors. If the configuration is correct, the below command should not give any output:&lt;/p&gt;&lt;pre class=&quot; language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; color: #f8f8f2; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 15.36px; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;code class=&quot; language-markup&quot; style=&quot;box-sizing: border-box; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 14.7456px; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;[&lt;a class=&quot;token email-link&quot; href=&quot;root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; text-decoration-line: none;&quot;&gt;root@hackthesec&lt;/a&gt; ~]# postfix check&lt;/code&gt;&lt;/pre&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #666666; font-family: Rubik, sans-serif; font-size: 16px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;5. Start and enable Postfix service&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #666666; font-family: Rubik, sans-serif; font-size: 16px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;Launch and enable Postfix daemon:&lt;/p&gt;&lt;pre class=&quot; language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; color: #f8f8f2; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 15.36px; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;code class=&quot; language-markup&quot; style=&quot;box-sizing: border-box; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 14.7456px; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;[&lt;a class=&quot;token email-link&quot; href=&quot;root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; text-decoration-line: none;&quot;&gt;root@hackthesec&lt;/a&gt; ~]# systemctl start postfix
  128. [&lt;a class=&quot;token email-link&quot; href=&quot;root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; text-decoration-line: none;&quot;&gt;root@hackthesec&lt;/a&gt; ~]# systemctl enable postfix&lt;/code&gt;&lt;/pre&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #666666; font-family: Rubik, sans-serif; font-size: 16px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;6. Test the e-mail delivery&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #666666; font-family: Rubik, sans-serif; font-size: 16px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;Verify the configuration by sending the test e-mail from the command line.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;Prepare test e-mail body:&lt;/p&gt;&lt;pre class=&quot; language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; color: #f8f8f2; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 15.36px; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;code class=&quot; language-markup&quot; style=&quot;box-sizing: border-box; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 14.7456px; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;[&lt;a class=&quot;token email-link&quot; href=&quot;root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; text-decoration-line: none;&quot;&gt;root@hackthesec&lt;/a&gt; ~]# echo &quot;Subject: Mail Delivery Test&quot; &amp;gt; /tmp/mail.txt
  129. [&lt;a class=&quot;token email-link&quot; href=&quot;root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; text-decoration-line: none;&quot;&gt;root@hackthesec&lt;/a&gt; ~]# echo &quot;This is the example e-mail body&quot; &amp;gt;&amp;gt; /tmp/mail.txt&lt;/code&gt;&lt;/pre&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #666666; font-family: Rubik, sans-serif; font-size: 16px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;Send the test e-mail using sendmail script with increased verbosity:&lt;/p&gt;&lt;pre class=&quot; language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; color: #f8f8f2; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 15.36px; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;code class=&quot; language-markup&quot; style=&quot;box-sizing: border-box; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 14.7456px; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;[&lt;a class=&quot;token email-link&quot; href=&quot;root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; text-decoration-line: none;&quot;&gt;root@hackthesec&lt;/a&gt; ~]# sendmail -v admin@hackthesec.co.in &amp;lt; /tmp/mail.txt&lt;/code&gt;&lt;/pre&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #666666; font-family: Rubik, sans-serif; font-size: 16px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;Monitor the system journal to check if the e-mail was successfully relayed to the mail server:&lt;/p&gt;&lt;pre class=&quot; language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; color: #f8f8f2; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 15.36px; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;code class=&quot; language-markup&quot; style=&quot;box-sizing: border-box; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 14.7456px; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;[&lt;a class=&quot;token email-link&quot; href=&quot;root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; text-decoration-line: none;&quot;&gt;root@hackthesec&lt;/a&gt; ~]# journalctl -u postfix&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #666666; font-family: Rubik, sans-serif; font-size: 16px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;Last but not least – check the recipient’s Inbox (or SPAM box), the test e-mail should be delivered successfully.&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #666666; font-family: Rubik, sans-serif; font-size: 16px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;If for some reason the e-mail has not arrived yet, you can display mail queue on your relay host:&lt;/p&gt;&lt;pre class=&quot; language-markup&quot; style=&quot;background: rgb(39, 40, 34); border-radius: 0.3em; box-sizing: border-box; color: #f8f8f2; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 15.36px; hyphens: none; line-height: 1.2; margin-bottom: 20px; margin-top: 0px; max-width: 100%; overflow: auto; padding: 10px; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal;&quot;&gt;&lt;code class=&quot; language-markup&quot; style=&quot;box-sizing: border-box; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 14.7456px; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;[&lt;a class=&quot;token email-link&quot; href=&quot;root@hackthesec&quot; style=&quot;background-color: transparent; box-sizing: border-box; text-decoration-line: none;&quot;&gt;root@hackthesec&lt;/a&gt; ~]# mailq&lt;/code&gt;&lt;/pre&gt;&lt;div&gt;&lt;code class=&quot; language-markup&quot; style=&quot;box-sizing: border-box; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 14.7456px; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;&lt;br /&gt;&lt;/code&gt;&lt;/div&gt;&lt;div&gt;&lt;code class=&quot; language-markup&quot; style=&quot;box-sizing: border-box; direction: ltr; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 14.7456px; hyphens: none; line-height: 1.2; tab-size: 4; text-shadow: rgba(0, 0, 0, 0.3) 0px 1px; word-break: normal; word-spacing: normal;&quot;&gt;&lt;br /&gt;&lt;/code&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://www.hackthesec.co.in/feeds/3117920173755669536/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.hackthesec.co.in/2023/02/configure-postfix-smtp-relay-smart-host.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/3117920173755669536'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/3117920173755669536'/><link rel='alternate' type='text/html' href='https://www.hackthesec.co.in/2023/02/configure-postfix-smtp-relay-smart-host.html' title='Configure Postfix SMTP Relay (Smart Host) on CentOS 8'/><author><name>Raj</name><uri>http://www.blogger.com/profile/02793413996647910802</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgExCIgNV6dSQHUBuJSk7cnAf8X8jYG1wuC6oSMjlXn1enx_vc-wDCcb_coF_D3hCLkPHYGoXdQXiGHgFztfmQ7QuWBhMi26j_bg6vXcEFldqhLIv6e_TuiCOQi-eTeZq5VDeJsZ74-GVyJ_A18TzThvzbTHtBzIqLHcyomSTExNZtzcOzq7FxywZS3SQ/s72-c/hackthesec.co.in_postfix.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6353083638681129765.post-6717250887422543276</id><published>2023-02-16T17:45:00.005+05:30</published><updated>2023-02-16T17:45:56.579+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="fail2ban ssh"/><category scheme="http://www.blogger.com/atom/ns#" term="Openssh"/><category scheme="http://www.blogger.com/atom/ns#" term="putty"/><category scheme="http://www.blogger.com/atom/ns#" term="puttygen"/><category scheme="http://www.blogger.com/atom/ns#" term="SSH"/><title type='text'>COPY PUTTY (SSH) SESSIONS TO NEW OR OTHER COMPUTER</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: large;&quot;&gt;COPY PUTTY (SSH) SESSIONS TO NEW/OTHER COMPUTER&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Lato, sans-serif&quot; style=&quot;color: #2b2b2b; font-size: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Lato, sans-serif&quot; style=&quot;color: #2b2b2b; font-size: 16px;&quot;&gt;I’m a huge fan of putty – available for download at:&lt;/span&gt;&lt;span face=&quot;Lato, sans-serif&quot; style=&quot;color: #2b2b2b; font-size: 16px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html&quot; style=&quot;border: 0px; color: #24890d; font-family: inherit; font-size: 16px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Download PuTTY: latest release (0.78) (greenend.org.uk)&lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiw6DmAPtJ_KtkLaWWcNiyFLTjlTgHEIc21VnBrMUjL4BZtlyMXXsjeMU7lBX91pK0N-blwlF02TCDRhaXA2kdojQFqOetYjidlc-nMYXzFoU0oEdkVFLeucqFLMuaSfVlD0vEDBxPMAyvMiUsAvzqiBgxZB5pLGhr-TZEhRWzMV5rTqYtpkVz92M/s1200/PuTTY_Icon_upstream.svg.png&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1200&quot; data-original-width=&quot;1200&quot; height=&quot;212&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiw6DmAPtJ_KtkLaWWcNiyFLTjlTgHEIc21VnBrMUjL4BZtlyMXXsjeMU7lBX91pK0N-blwlF02TCDRhaXA2kdojQFqOetYjidlc-nMYXzFoU0oEdkVFLeucqFLMuaSfVlD0vEDBxPMAyvMiUsAvzqiBgxZB5pLGhr-TZEhRWzMV5rTqYtpkVz92M/w212-h212/PuTTY_Icon_upstream.svg.png&quot; width=&quot;212&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin: 0px 0px 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Over time, I tend to accumulate a large number of saved “sessions” that I find it useful to either move to a new computer, or save/backup. He&lt;/p&gt;&lt;p style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin: 0px 0px 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;code style=&quot;border: 0px; font-family: monospace, serif; font-size: 15px; font-style: inherit; font-weight: inherit; hyphens: none; line-height: 1.6; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;regedit /ea c:\Users\mark\dropbox\_mark\puttycopy.reg HKEY_CURRENT_USER\Software\SimonTatham\PuTTY&lt;/code&gt;&lt;/p&gt;&lt;p style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin: 0px 0px 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Copied that puttycopy.reg to the new drive/computer.&lt;/p&gt;&lt;p style=&quot;border: 0px; color: #2b2b2b; font-family: Lato, sans-serif; font-size: 16px; margin: 0px 0px 24px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;To add the saved sessions, just double clicked on that .reg file on the new computer.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://www.hackthesec.co.in/feeds/6717250887422543276/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.hackthesec.co.in/2023/02/copy-putty-ssh-sessions-to-new-or-othercomputer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/6717250887422543276'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/6717250887422543276'/><link rel='alternate' type='text/html' href='https://www.hackthesec.co.in/2023/02/copy-putty-ssh-sessions-to-new-or-othercomputer.html' title='COPY PUTTY (SSH) SESSIONS TO NEW OR OTHER COMPUTER'/><author><name>Raj</name><uri>http://www.blogger.com/profile/02793413996647910802</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiw6DmAPtJ_KtkLaWWcNiyFLTjlTgHEIc21VnBrMUjL4BZtlyMXXsjeMU7lBX91pK0N-blwlF02TCDRhaXA2kdojQFqOetYjidlc-nMYXzFoU0oEdkVFLeucqFLMuaSfVlD0vEDBxPMAyvMiUsAvzqiBgxZB5pLGhr-TZEhRWzMV5rTqYtpkVz92M/s72-w212-h212-c/PuTTY_Icon_upstream.svg.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6353083638681129765.post-9196007454249530242</id><published>2020-06-30T14:52:00.000+05:30</published><updated>2020-06-30T14:52:16.860+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos7"/><category scheme="http://www.blogger.com/atom/ns#" term="cPanel"/><category scheme="http://www.blogger.com/atom/ns#" term="exec_function"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux Tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP_FRM"/><title type='text'>How to Enable exec() in PHP-FPM?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
  130. &lt;span style=&quot;color: #0b5394; font-family: verdana, geneva, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;&lt;u&gt;How to Enable exec() in PHP-FPM?&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
  131. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  132. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Sometimes the exec() function is not working after turning on the PHP-FPM and in php configuration file we could not find any disable functions. If we turned off the PHP-FPM the exec function is working again. If you are facing such issues, please follow the below steps.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  133. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  134. &lt;br /&gt;
  135. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  136. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;First, you need to verify the PHP-FPM is enabled on the domain that facing the issue. Please follow the steps.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  137. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  138. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;1) Login to WHM.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  139. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  140. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;2) Navigate to MultiPHP Manager to check whether the domain is using PHP-FPM or not.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  141. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  142. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;3) From that page, you can verify that the domain is using PHP-FPM.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  143. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  144. &lt;br /&gt;
  145. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
  146. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfWqCwz5B8T5Cv_s0Os8aS6S8Hfze3b2pDQxZ-KSWoUHdr8-K2ZUCmebBq7yz1g2ZxS5oFP-IkhveBvoivs6hbvFA5E4t04HJTcecYbb3x3BFul9y-diEmz6p0_P5RFfg6_TSfM4v6bwep/s1600/Function_Enable_CPANEL_hackthesec.co.in.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;612&quot; data-original-width=&quot;1068&quot; height=&quot;227&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfWqCwz5B8T5Cv_s0Os8aS6S8Hfze3b2pDQxZ-KSWoUHdr8-K2ZUCmebBq7yz1g2ZxS5oFP-IkhveBvoivs6hbvFA5E4t04HJTcecYbb3x3BFul9y-diEmz6p0_P5RFfg6_TSfM4v6bwep/s400/Function_Enable_CPANEL_hackthesec.co.in.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
  147. &lt;br /&gt;
  148. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  149. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Now you have verified that PHP-FPM is on the server. So you need to follow the steps to enable exec() in PHP-FPM.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  150. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  151. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;1) Login to server via SSH.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  152. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  153. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;2) Check the PHP version of the server using the below command.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  154. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  155. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;#php -v&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  156. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;3) Then open the PHP-FPM configuration file.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  157. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;vi /opt/cpanel/ea-php70/root/etc/php-fpm.d/blah.domain.tld.conf&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  158. &lt;div&gt;
  159. &lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  160. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;4) Then you will find the exec() function in the disabled function list.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  161. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;php_admin_value[disable_functions] = passthru,shell_exec,system&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  162. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;5) Remove that from the above line.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  163. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  164. &lt;br /&gt;
  165. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;6) Then restart PHP-FPM using the below command.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  166. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;/scripts/restartsrv_apache_php_fpm&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  167. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Now exec() should works.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  168. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  169. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;u&gt;&lt;b&gt;* You can also do the same by following below steps.&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  170. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  171. &lt;br /&gt;
  172. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;1) Create the /var/cpanel/ApachePHPFPM directory using the below command:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  173. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  174. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;mkdir /var/cpanel/ApachePHPFPM&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  175. &lt;div&gt;
  176. &lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  177. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;2) Create the /var/cpanel/ApachePHPFPM/system_pool_defaults.yaml file&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  178. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;touch /var/cpanel/ApachePHPFPM/system_pool_defaults.yaml&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  179. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;3) Open the file /var/cpanel/ApachePHPFPM/system_pool_defaults.yaml using your text editor (e.g. vi, nano) :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  180. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;vi /var/cpanel/ApachePHPFPM/system_pool_defaults.yaml&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  181. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;add the function that you want to disable.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  182. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;php_admin_value_disable_functions : passthru,system&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  183. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;In this example, &quot;passthru,system&quot; are left as disabled functions. No other lines exist before or after this entry in this file.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  184. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  185. &lt;br /&gt;
  186. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;4) Regenerate the PHP-FPM configuration files via:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  187. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;/scripts/php_fpm_config –rebuild&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  188. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif; font-size: 15px;&quot;&gt;Now exec() should works.&lt;/span&gt;&lt;br /&gt;
  189. &lt;br /&gt;
  190. &lt;br /&gt;
  191. &lt;b&gt;&lt;u&gt;Thanks&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
  192. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  193. &lt;br /&gt;&lt;/div&gt;
  194. </content><link rel='replies' type='application/atom+xml' href='https://www.hackthesec.co.in/feeds/9196007454249530242/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.hackthesec.co.in/2020/06/how-to-enable-exec-in-php-fpm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/9196007454249530242'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/9196007454249530242'/><link rel='alternate' type='text/html' href='https://www.hackthesec.co.in/2020/06/how-to-enable-exec-in-php-fpm.html' title='How to Enable exec() in PHP-FPM?'/><author><name>Raj</name><uri>http://www.blogger.com/profile/02793413996647910802</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfWqCwz5B8T5Cv_s0Os8aS6S8Hfze3b2pDQxZ-KSWoUHdr8-K2ZUCmebBq7yz1g2ZxS5oFP-IkhveBvoivs6hbvFA5E4t04HJTcecYbb3x3BFul9y-diEmz6p0_P5RFfg6_TSfM4v6bwep/s72-c/Function_Enable_CPANEL_hackthesec.co.in.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6353083638681129765.post-3067554006612616082</id><published>2019-01-02T17:33:00.000+05:30</published><updated>2019-01-02T17:41:54.596+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos7"/><category scheme="http://www.blogger.com/atom/ns#" term="KVM"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux Tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="oVirt"/><category scheme="http://www.blogger.com/atom/ns#" term="virtualization"/><title type='text'>How to Install oVirt on CentOS 7</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
  195. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;oVirt is an open-source distributed virtualization solution, designed to manage your entire enterprise infrastructure. oVirt uses the trusted KVM hypervisor and is built upon several other community projects, including libvirt, Gluster, PatternFly, and Ansible. It was founded by Red Hat as a community project on which Red Hat Enterprise Virtualization is based. It allows centralized management of virtual machines, compute, storage and networking resources, from an easy-to-use web-based front-end with platform independent access. KVM on x86-64 and PPC architecture are the only hypervisors supported, but there is an ongoing effort to support ARM architecture in the future releases. .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  196. &lt;br /&gt;
  197. &lt;div style=&quot;text-align: left;&quot;&gt;
  198. &lt;/div&gt;
  199. &lt;div style=&quot;text-align: left;&quot;&gt;
  200. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;For more&amp;nbsp; about &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;oVirt - https://en.wikipedia.org/wiki/OVirt&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  201. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
  202. &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUmaYcnufdZ74HLER1yvih8QP3cAzLo327L5b1AR0gS0nlgaiJsH3s7rzY7KPd0o0yuKzcEArIMRVHweF0TtOxIb01TYZMmmrEMNz3XzWePl5TTouAvELaaijP_IVFJlP5Kx5h0gb2fos_/s1600/OVirt-logo-highres.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;200&quot; data-original-width=&quot;450&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUmaYcnufdZ74HLER1yvih8QP3cAzLo327L5b1AR0gS0nlgaiJsH3s7rzY7KPd0o0yuKzcEArIMRVHweF0TtOxIb01TYZMmmrEMNz3XzWePl5TTouAvELaaijP_IVFJlP5Kx5h0gb2fos_/s1600/OVirt-logo-highres.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
  203. &lt;div style=&quot;text-align: left;&quot;&gt;
  204. &lt;br /&gt;&lt;/div&gt;
  205. &lt;div style=&quot;text-align: left;&quot;&gt;
  206. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;oVirt Engine Packages Installation Process&lt;/b&gt;&lt;br /&gt;===========================&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  207. &lt;div style=&quot;text-align: left;&quot;&gt;
  208. &lt;/div&gt;
  209. &lt;div style=&quot;text-align: left;&quot;&gt;
  210. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;First, add the oVirt repository on your Centos 7 using below command.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  211. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release42.rpm&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  212. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
  213. &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvY6CRUPsDN1G1CjYjs1AGTNfQQOhv4781aaZascTh4TyZMibZIvHxtiNg5IXxU3m-C7vryrHI1A89SxcoSKdgWYkcMiNfrVTIGaK0iHP23ZCt3fqlw0MQq4tCzD2otHUa7HIJTP2pUGYj/s1600/oVirt_repo_hackthesec.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;495&quot; data-original-width=&quot;797&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvY6CRUPsDN1G1CjYjs1AGTNfQQOhv4781aaZascTh4TyZMibZIvHxtiNg5IXxU3m-C7vryrHI1A89SxcoSKdgWYkcMiNfrVTIGaK0iHP23ZCt3fqlw0MQq4tCzD2otHUa7HIJTP2pUGYj/s1600/oVirt_repo_hackthesec.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
  214. &lt;div style=&quot;text-align: left;&quot;&gt;
  215. &lt;br /&gt;&lt;/div&gt;
  216. &lt;div style=&quot;text-align: left;&quot;&gt;
  217. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Now update your centos 7 packages using below command.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  218. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;yum update -y&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  219. &lt;div style=&quot;text-align: left;&quot;&gt;
  220. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Now, Run the following command to install the ovirt-engine package and dependencies.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  221. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;yum install ovirt-engine -y&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  222. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
  223. &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikRgxvS2fMhi7JVoX3P-NAUnxY5OOgoO2G3gmk23HeZGPUH82y6j_hyphenhyphenHTYoKV5BymScffam9gS09PDY9jbchpwgBAHDug7K7yUTYQcwPp7NVEngG0Bp8LN_6UNJhAwcDzj8f9UoA9-bh2l/s1600/oVirt_install_hackthesec.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;502&quot; data-original-width=&quot;801&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikRgxvS2fMhi7JVoX3P-NAUnxY5OOgoO2G3gmk23HeZGPUH82y6j_hyphenhyphenHTYoKV5BymScffam9gS09PDY9jbchpwgBAHDug7K7yUTYQcwPp7NVEngG0Bp8LN_6UNJhAwcDzj8f9UoA9-bh2l/s1600/oVirt_install_hackthesec.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
  224. &lt;div style=&quot;text-align: left;&quot;&gt;
  225. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;u&gt;&lt;b&gt;Configuring oVirt&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  226. &lt;div style=&quot;text-align: left;&quot;&gt;
  227. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;After complete installation run the &lt;span style=&quot;color: red;&quot;&gt;engine-setup&lt;/span&gt; command for configuration the oVirt Engine. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  228. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;engine-setup&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  229. &lt;div style=&quot;text-align: left;&quot;&gt;
  230. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&amp;nbsp;Pres Enter to configure the engine:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  231. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;[root@hackthesec ~]# engine-setup
  232. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Stage: Initializing
  233. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Stage: Environment setup
  234.          Configuration files: [&#39;/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf&#39;, &#39;/etc/ovirt-engine-setup.conf.d/10-packaging.conf&#39;]
  235.          Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20190102113015-mptgj3.log
  236.          Version: otopi-1.7.8 (otopi-1.7.8-1.el7)
  237. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Stage: Environment packages setup
  238. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Stage: Programs detection
  239. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Stage: Environment setup
  240. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Stage: Environment customization
  241.  
  242.          --== PRODUCT OPTIONS ==--
  243.  
  244.          Configure Engine on this host (Yes, No) [Yes]: yes
  245.          Configure ovirt-provider-ovn (Yes, No) [Yes]: yes
  246.          Configure Image I/O Proxy on this host (Yes, No) [Yes]: yes
  247.          Configure WebSocket Proxy on this host (Yes, No) [Yes]: yes
  248.  
  249.          * Please note * : Data Warehouse is required for the engine.
  250.          If you choose to not configure it on this host, you have to configure
  251.          it on a remote host, and then configure the engine on this host so
  252.          that it can access the database of the remote Data Warehouse host.
  253.          Configure Data Warehouse on this host (Yes, No) [Yes]: yes
  254.          Configure VM Console Proxy on this host (Yes, No) [Yes]: yes
  255.  
  256.          --== PACKAGES ==--
  257.  
  258. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Checking for product updates...
  259. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] No product updates found
  260.  
  261.          --== NETWORK CONFIGURATION ==--
  262.  
  263.          Host fully qualified DNS name of this server [hackthesec]:
  264. [WARNING] Host name hackthesec has no domain suffix
  265. [WARNING] Failed to resolve hackthesec using DNS, it can be resolved only locally
  266. [WARNING] Host name hackthesec has no domain suffix
  267. [WARNING] Host name hackthesec has no domain suffix
  268. [WARNING] Host name hackthesec has no domain suffix
  269.  
  270.          --== DATABASE CONFIGURATION ==--
  271.  
  272.          Where is the DWH database located? (Local, Remote) [Local]:
  273.          Setup can configure the local postgresql server automatically for the DWH to run. This may conflict with existing applications.
  274.          Would you like Setup to automatically configure postgresql and create DWH database, or prefer to perform that manually? (Automatic, Manual) [Automatic]:
  275.          Where is the Engine database located? (Local, Remote) [Local]:
  276.          Setup can configure the local postgresql server automatically for the engine to run. This may conflict with existing applications.
  277.          Would you like Setup to automatically configure postgresql and create Engine database, or prefer to perform that manually? (Automatic, Manual) [Automatic]:
  278.  
  279.          --== OVIRT ENGINE CONFIGURATION ==--
  280.  
  281.          Engine admin password:
  282.          Confirm engine admin password:
  283. [WARNING] Password is weak: it is too short
  284.          Use weak password? (Yes, No) [No]: yes
  285.          Application mode (Virt, Gluster, Both) [Both]: Both
  286.          Use default credentials (admin@internal) for ovirt-provider-ovn (Yes, No) [Yes]: yes
  287.  
  288.          --== STORAGE CONFIGURATION ==--
  289.  
  290.          Default SAN wipe after delete (Yes, No) [No]: No
  291.  
  292.          --== PKI CONFIGURATION ==--
  293.  
  294.          Organization name for certificate [Test]:
  295.  
  296.          --== APACHE CONFIGURATION ==--
  297.  
  298.          Setup can configure the default page of the web server to present the application home page. This may conflict with existing applications.
  299.          Do you wish to set the application as the default page of the web server? (Yes, No) [Yes]: yes
  300.          Setup can configure apache to use SSL using a certificate issued from the internal CA.
  301.          Do you wish Setup to configure that, or prefer to perform that manually? (Automatic, Manual) [Automatic]:
  302.  
  303.          --== SYSTEM CONFIGURATION ==--
  304.  
  305.  
  306.          --== MISC CONFIGURATION ==--
  307.  
  308.          Please choose Data Warehouse sampling scale:
  309.          (1) Basic
  310.          (2) Full
  311.          (1, 2)[1]: 1
  312.  
  313.          --== END OF CONFIGURATION ==--
  314.  
  315. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Stage: Setup validation
  316. [WARNING] Warning: Not enough memory is available on the host. Minimum requirement is 4096MB, and 16384MB is recommended.
  317.          Do you want Setup to continue, with amount of memory less than recommended? (Yes, No) [No]: yes
  318.  
  319.          --== CONFIGURATION PREVIEW ==--
  320.  
  321.          Application mode                        : both
  322.          Default SAN wipe after delete           : False
  323.          Update Firewall                         : False
  324.          Host FQDN                               : hackthesec
  325.          Configure local Engine database         : True
  326.          Set application as default page         : True
  327.          Configure Apache SSL                    : True
  328.          Engine database secured connection      : False
  329.          Engine database user name               : engine
  330.          Engine database name                    : engine
  331.          Engine database host                    : localhost
  332.          Engine database port                    : 5432
  333.          Engine database host name validation    : False
  334.          Engine installation                     : True
  335.          PKI organization                        : Test
  336.          Set up ovirt-provider-ovn               : True
  337.          Configure WebSocket Proxy               : True
  338.          DWH installation                        : True
  339.          DWH database host                       : localhost
  340.          DWH database port                       : 5432
  341.          Configure local DWH database            : True
  342.          Configure Image I/O Proxy               : True
  343.          Configure VMConsole Proxy               : True
  344.  
  345.          Please confirm installation settings (OK, Cancel) [OK]: OK
  346. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Stage: Transaction setup
  347. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Stopping engine service
  348. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Stopping ovirt-fence-kdump-listener service
  349. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Stopping dwh service
  350. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Stopping Image I/O Proxy service
  351. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Stopping vmconsole-proxy service
  352. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Stopping websocket-proxy service
  353. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Stage: Misc configuration
  354. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Stage: Package installation
  355. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Stage: Misc configuration
  356. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Upgrading CA
  357. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Initializing PostgreSQL
  358. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Creating PostgreSQL &#39;engine&#39; database
  359. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Configuring PostgreSQL
  360. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Creating PostgreSQL &#39;ovirt_engine_history&#39; database
  361. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Configuring PostgreSQL
  362. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Creating CA
  363. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Creating/refreshing DWH database schema
  364. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Configuring Image I/O Proxy
  365. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Setting up ovirt-vmconsole proxy helper PKI artifacts
  366. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Setting up ovirt-vmconsole SSH PKI artifacts
  367. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Configuring WebSocket Proxy
  368. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Creating/refreshing Engine database schema
  369. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Creating/refreshing Engine &#39;internal&#39; domain database schema
  370. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Creating default mac pool range
  371. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Adding default OVN provider to database
  372. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Adding OVN provider secret to database
  373. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Setting a password for internal user admin
  374. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Generating post install configuration file &#39;/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf&#39;
  375. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Stage: Transaction commit
  376. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Stage: Closing up
  377. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Starting engine service
  378. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Starting dwh service
  379. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Restarting ovirt-vmconsole proxy service
  380.  
  381.          --== SUMMARY ==--
  382.  
  383. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Restarting httpd
  384.          In order to configure firewalld, copy the files from
  385.              /etc/ovirt-engine/firewalld to /etc/firewalld/services
  386.              and execute the following commands:
  387.              firewall-cmd --permanent --add-service ovirt-postgres
  388.              firewall-cmd --permanent --add-service ovirt-https
  389.              firewall-cmd --permanent --add-service ovn-central-firewall-service
  390.              firewall-cmd --permanent --add-service ovirt-fence-kdump-listener
  391.              firewall-cmd --permanent --add-service ovirt-imageio-proxy
  392.              firewall-cmd --permanent --add-service ovirt-websocket-proxy
  393.              firewall-cmd --permanent --add-service ovirt-http
  394.              firewall-cmd --permanent --add-service ovirt-vmconsole-proxy
  395.              firewall-cmd --permanent --add-service ovirt-provider-ovn
  396.              firewall-cmd --reload
  397.          The following network ports should be opened:
  398.              tcp:2222
  399.              tcp:35357
  400.              tcp:443
  401.              tcp:5432
  402.              tcp:54323
  403.              tcp:6100
  404.              tcp:6641
  405.              tcp:6642
  406.              tcp:80
  407.              tcp:9696
  408.              udp:7410
  409.          An example of the required configuration for iptables can be found at:
  410.              /etc/ovirt-engine/iptables.example
  411.          Please use the user &#39;admin@internal&#39; and password specified in order to login
  412.          Web access is enabled at:
  413.              http://hackthesec:80/ovirt-engine
  414.              https://hackthesec:443/ovirt-engine
  415.          Internal CA 18:E6:C2:E8:91:62:B1:66:96:6A:89:0F:2E:E7:BF:01:10:C8:D61
  416.          SSH fingerprint: SHA256:sMTFaRt94ic/+LT3ASGtj4Fla3qK7zSNSEXbvgkzObI
  417. [WARNING] Warning: Not enough memory is available on the host. Minimum requirement is 4096MB, and 16384MB is recommended.
  418.  
  419.          --== END OF SUMMARY ==--
  420.  
  421. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Stage: Clean up
  422.          Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20190102113015-mptgj3.log
  423. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Generating answer file &#39;/var/lib/ovirt-engine/setup/answers/20190102113350-setup.conf&#39;
  424. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Stage: Pre-termination
  425. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Stage: Termination
  426. [ &lt;span style=&quot;color: lime;&quot;&gt;INFO  &lt;/span&gt;] Execution of setup completed successfully
  427. [root@hackthesec ~]#
  428. &lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  429. &lt;div style=&quot;text-align: left;&quot;&gt;
  430. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;u&gt;&lt;b&gt;Configure firewall &lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  431. &lt;div style=&quot;text-align: left;&quot;&gt;
  432. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;For access the oVirt web based management interface you have to open HTTP and HTTPS ports using below commands.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  433. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;[root@hackthesec ~]# firewall-cmd --add-service=http --permanent&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  434. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;[root@hackthesec ~]# firewall-cmd --add-service=https --permanent&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  435. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;[root@hackthesec ~]# firewall-cmd --reload &lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  436. &lt;div style=&quot;text-align: left;&quot;&gt;
  437. &lt;br /&gt;&lt;/div&gt;
  438. &lt;div style=&quot;text-align: left;&quot;&gt;
  439. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;u&gt;&lt;b&gt;Now You Can Access oVirt Management Interface&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;using your Ip address - https://192.168.1.1&lt;br /&gt;or&lt;br /&gt;https://ovirt.hackthesec.co.in&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  440. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
  441. &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb4fnxpyOJ3YWtRQjx4pUhTFCiv_eWrgaS7QYkOlEGl8m6CnI1L5bwPeBzpq2lYwSDLj-nm94V-xNVvio36lkMUAOZMZkX8VqBu_O8GtOYRPVzNQksjDOtd4_hog0ZDJXMGmlQVhDESglL/s1600/adminportal_dashboard.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;762&quot; data-original-width=&quot;1600&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb4fnxpyOJ3YWtRQjx4pUhTFCiv_eWrgaS7QYkOlEGl8m6CnI1L5bwPeBzpq2lYwSDLj-nm94V-xNVvio36lkMUAOZMZkX8VqBu_O8GtOYRPVzNQksjDOtd4_hog0ZDJXMGmlQVhDESglL/s1600/adminportal_dashboard.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
  442. &lt;div style=&quot;text-align: left;&quot;&gt;
  443. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Thanks,&lt;br /&gt;Hack The Sec&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  444. &lt;/div&gt;
  445. </content><link rel='replies' type='application/atom+xml' href='https://www.hackthesec.co.in/feeds/3067554006612616082/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.hackthesec.co.in/2019/01/how-to-install-ovirt-on-centos-7.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/3067554006612616082'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/3067554006612616082'/><link rel='alternate' type='text/html' href='https://www.hackthesec.co.in/2019/01/how-to-install-ovirt-on-centos-7.html' title='How to Install oVirt on CentOS 7'/><author><name>Raj</name><uri>http://www.blogger.com/profile/02793413996647910802</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUmaYcnufdZ74HLER1yvih8QP3cAzLo327L5b1AR0gS0nlgaiJsH3s7rzY7KPd0o0yuKzcEArIMRVHweF0TtOxIb01TYZMmmrEMNz3XzWePl5TTouAvELaaijP_IVFJlP5Kx5h0gb2fos_/s72-c/OVirt-logo-highres.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6353083638681129765.post-5415330612973808506</id><published>2018-05-24T11:44:00.000+05:30</published><updated>2018-05-24T11:47:36.834+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux Tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="Log.io"/><category scheme="http://www.blogger.com/atom/ns#" term="Monitoring"/><category scheme="http://www.blogger.com/atom/ns#" term="Monitoring_Server"/><category scheme="http://www.blogger.com/atom/ns#" term="Node.Js"/><category scheme="http://www.blogger.com/atom/ns#" term="Nodejs_programming"/><title type='text'>How to Monitor Server Logs in Real-Time with &quot;Log.io&quot;</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
  446. &lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; font-size: 15px; font-style: normal; font-weight: 400; letter-spacing: normal; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
  447. &lt;div style=&quot;background-color: white; orphans: 2; text-align: center; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; widows: 2;&quot;&gt;
  448. &lt;span style=&quot;background-color: transparent; text-align: left;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;Monitor Server Logs in Real-Time with &quot;Log.io&quot;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  449. &lt;div style=&quot;background-color: white; orphans: 2; text-align: center; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; widows: 2;&quot;&gt;
  450. &lt;span style=&quot;background-color: transparent; text-align: left;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  451. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Log.io is a small application build on Node.js and Socket.io for monitoring real time Linux&amp;nbsp;server logs through web interface.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  452. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  453. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;u&gt;On RHEL/CentOS 7&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  454. &lt;br /&gt;
  455. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Install Epel repositories&amp;nbsp;using the following command.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  456. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;yum install http://fedora.mirrors.telekom.ro/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  457. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;u&gt;On RHEL/CentOS 6&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  458. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;--------------------- On RHEL/CentOS 6.x - 32 Bit ---------------------
  459. yum install http://fedora.mirrors.telekom.ro/pub/epel/6/i386/epel-release-6-8.noarch.rpm&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  460. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;--------------------- On RHEL/CentOS 6.x - 64 Bit ---------------------
  461. yum install http://fedora.mirrors.telekom.ro/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  462. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;After added the Epel repositories&amp;nbsp;you can do a system upgrade by using following command line.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  463. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;yum update&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  464. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;&lt;u&gt;Now Install Node.js and NPM&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  465. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  466. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;a href=&quot;https://www.hackthesec.co.in/search/label/Node.Js&quot;&gt;Node.js&lt;/a&gt; is an open-source, cross-platform JavaScript run-time environment that executes &lt;a href=&quot;https://www.hackthesec.co.in/search/label/Java&quot;&gt;JavaScript &lt;/a&gt;code server-side. Historically, JavaScript was used primarily for client-side scripting, in which scripts written in JavaScript are embedded in a webpage&#39;s HTML and run client-side by a JavaScript engine in the user&#39;s web browser. Node.js lets developers use JavaScript for server-side scripting—running scripts server-side to produce dynamic web page content before the page is sent to the user&#39;s web browser. Consequently, Node.js represents a &quot;&lt;a href=&quot;https://www.hackthesec.co.in/search/label/Java&quot;&gt;JavaScript &lt;/a&gt;everywhere&quot; paradigm, unifying web application development around a single programming language, rather than different languages for server side and client side scripts.now install the nodejs using following command line.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  467. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;curl --silent --location https://rpm.nodesource.com/setup_5.x | bash -
  468. yum install -y nodejs&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  469. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;&lt;u&gt;Install and Configure Log.io Application&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  470. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Log.io application must be installed through NPM by specifying a valid local system user ( example - root) i recommend&amp;nbsp;install this application through root user. now install the application using following command.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  471. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;npm install -g log.io --user &quot;root&quot;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  472. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;after the completed installation&amp;nbsp;the application will create a folder which is hidden the folder name is &quot;Log.io&quot; in centos 7 the folder path is below&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  473. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;cd /root/.log.io
  474. ls&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  475. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;after that you will see three file&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  476. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;harvester.conf, log_server.conf, web_server.conf &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  477. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
  478. &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuP1qRoNyiMnsgPnB-Ow6c5I1pgSS7YbymMqLT9Wj7uLnpBPeeEM8TDIfY81JpkCPL2ZaAu-rTcQ576SeX0QmR4eD8Qht30I1bvvCa7ujwrTOm3Kol2z99Ez0ubbbawS7nslknCIE5WL6Y/s1600/Log-io-hackthesec.co.in.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;227&quot; data-original-width=&quot;620&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuP1qRoNyiMnsgPnB-Ow6c5I1pgSS7YbymMqLT9Wj7uLnpBPeeEM8TDIfY81JpkCPL2ZaAu-rTcQ576SeX0QmR4eD8Qht30I1bvvCa7ujwrTOm3Kol2z99Ez0ubbbawS7nslknCIE5WL6Y/s1600/Log-io-hackthesec.co.in.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
  479. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  480. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Now it&#39;s time to configure Log.io to monitor local log files in real time.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  481. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  482. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;- The harvester file is for watches the changes in specified local log files declared in its configuration and send new log to the server.&amp;nbsp;-&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;color: #333333; font-family: verdana, geneva, sans-serif; font-size: 15px;&quot;&gt;harvester.conf&lt;/b&gt;&lt;br /&gt;
  483. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  484. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;First open the &lt;/span&gt;&lt;b style=&quot;font-size: 15px;&quot;&gt;harvester.conf&lt;/b&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt; file, by default you will see have some setting the monitor Apache&amp;nbsp;log&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  485. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;nano harvester.conf&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  486. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;my harvester.conf file below&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  487. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;exports.config = {
  488.    nodeName: &quot;application_server&quot;,
  489.    logStreams: {
  490.      apache: [
  491.        &quot;/var/log/httpd/access_log&quot;,
  492.        &quot;/var/log/httpd/error_log&quot;
  493.      ],
  494.      SecureLog: [
  495.        &quot;/var/log/secure&quot;
  496.        ],
  497.      MySqlLog: [
  498.        &quot;/var/log/mysqld.log&quot;
  499.        ]
  500.    },
  501.    server: {
  502.      host: &#39;0.0.0.0&#39;,
  503.      port: 28777
  504.    }
  505.  }&lt;/span&gt;&lt;/span&gt;
  506. &lt;/pre&gt;
  507. &lt;div&gt;
  508. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Note -&amp;nbsp;if you don&#39;t want to send the harvester output to a remote Log.io server then open harvester.conf&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; font-size: 15px;&quot;&gt;file and replace 0.0.0.0 address with lookback address(127.0.0.1)&lt;/span&gt;&lt;/div&gt;
  509. &lt;div&gt;
  510. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  511. &lt;div&gt;
  512. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;log_server.conf - This configuration is for tell the server on which ip address it should listen.By default it listens on all ip interfaces you can modify the ip address by using the following command&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  513. &lt;div&gt;
  514. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  515. &lt;div&gt;
  516. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; font-size: 15px;&quot;&gt;my log_server.conf&amp;nbsp;file below&lt;/span&gt;&lt;/div&gt;
  517. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;nano log_server.conf&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  518. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;exports.config = {
  519.  host: &#39;0.0.0.0&#39;,
  520.  port: 28777
  521. }&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  522. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;web_server.conf&lt;/b&gt; - This configuration file is for web interface. by default the web portal is accessible on port 28778(all interface). Also using this file you can increase the security by using HTTP authentication,securing the web interface with SSL, disallow logs from specific ip address and restricting the web interface access to the specific ip.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  523. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  524. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; font-size: 15px;&quot;&gt;my&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;web_server.conf&amp;nbsp;file below&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  525. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;nano web_server.conf&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  526. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt; exports.config = {
  527.  host: &#39;0.0.0.0&#39;,
  528.  port: 28778,
  529.  
  530.  /*
  531.  // Enable HTTP Basic Authentication
  532.  auth: {
  533.    user: &quot;hackthesec&quot;,
  534.    pass: &quot;1234346&quot;
  535.  },
  536.  */
  537.  
  538.  /*
  539.  // Enable HTTPS/SSL
  540.  ssl: {
  541.    key: &#39;/path/to/privatekey.pem&#39;,
  542.    cert: &#39;/path/to/certificate.pem&#39;
  543.  },
  544.  */
  545.  
  546.  /*
  547.  // Restrict access to websocket (socket.io)
  548.  // Uses socket.io &#39;origins&#39; syntax
  549.  restrictSocket: &#39;*:*&#39;,
  550.  */
  551.  
  552.  /*
  553.  // Restrict access to http server (express)
  554.  restrictHTTP: [
  555.    &quot;192.168.29.39&quot;,
  556.    &quot;10.0.*&quot;
  557.  ]
  558.  */
  559.  
  560. }&lt;/span&gt;&lt;/span&gt;
  561. &lt;/pre&gt;
  562. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
  563. &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEja29JCqUHeUn2NHEHOZPAz59BnbBqvH3fk7jLffTc6NfIrsZ2eXbW6k6odmEELRQnzsSYyYHmTCJgLLGpaJvJaVseDE2kx86B840v4Hpx8zI_xT6YAkttZmW3ntQSp1X3-Qn_juaETMJmb/s1600/web_server_hackthesec.co.in.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;638&quot; data-original-width=&quot;772&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEja29JCqUHeUn2NHEHOZPAz59BnbBqvH3fk7jLffTc6NfIrsZ2eXbW6k6odmEELRQnzsSYyYHmTCJgLLGpaJvJaVseDE2kx86B840v4Hpx8zI_xT6YAkttZmW3ntQSp1X3-Qn_juaETMJmb/s1600/web_server_hackthesec.co.in.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
  564. &lt;div&gt;
  565. &lt;br /&gt;&lt;/div&gt;
  566. &lt;div&gt;
  567. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Allow web interface and socket.io in the firewall for receiving the logs from the harvester.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  568. &lt;div&gt;
  569. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;firewall-cmd --add-port=28778/tcp --permanent
  570. firewall-cmd --add-port=28777/tcp --permanent
  571. firewall-cmd --reload&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  572. &lt;/div&gt;
  573. &lt;div&gt;
  574. &lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  575. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Start Log.io Application using following command&amp;nbsp;line&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  576. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;------ First start server in background ----
  577. log.io-server &amp;amp;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  578. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;--- Start log harvester in background -----
  579. log.io-harvester &amp;amp; &lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  580. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
  581. &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRldk28y5_z1TiM28OKiNFnAcKxevfA2ntXReBPpbCg6bg4NIXAgA2qujEtdylCIxukUPN72GkGaxgalxkIKU-2UFF9D3p6UKpnmhcQ4D2OrvioPhymeb_WW3ykaQtfrSA-uQyXmzAGIWW/s1600/Start-Log-io_hackthesec.co.in.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;241&quot; data-original-width=&quot;447&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRldk28y5_z1TiM28OKiNFnAcKxevfA2ntXReBPpbCg6bg4NIXAgA2qujEtdylCIxukUPN72GkGaxgalxkIKU-2UFF9D3p6UKpnmhcQ4D2OrvioPhymeb_WW3ykaQtfrSA-uQyXmzAGIWW/s1600/Start-Log-io_hackthesec.co.in.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
  582. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  583. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;After the server has been started open your browser and hit enter with your ip and the&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; font-size: 15px;&quot;&gt;declared&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&amp;nbsp;port&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  584. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;example - http://192.168.2.253:28778&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  585. &lt;br /&gt;
  586. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
  587. &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBdovh_DU52bpmFN5i3ZAgRhx0sHrL3a1TimO9sLlJnCodSv0oAXXg4lhB_kStNf-kJCGmpbgMXHf-Q7KaG8P-ljSgpUteKiK-t6RoFeJa614ZivaHhUJFU8uPxy12Hx2NMCJ3YTwpoBHk/s1600/screen_detail.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;435&quot; data-original-width=&quot;960&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBdovh_DU52bpmFN5i3ZAgRhx0sHrL3a1TimO9sLlJnCodSv0oAXXg4lhB_kStNf-kJCGmpbgMXHf-Q7KaG8P-ljSgpUteKiK-t6RoFeJa614ZivaHhUJFU8uPxy12Hx2NMCJ3YTwpoBHk/s1600/screen_detail.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
  588. &lt;br /&gt;
  589. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;To stop Log.io application run the following command.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  590. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;pkill node&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  591. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Log.io = https://github.com/NarrativeScience/Log.io&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  592. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;http://logio.org/&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  593. </content><link rel='replies' type='application/atom+xml' href='https://www.hackthesec.co.in/feeds/5415330612973808506/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.hackthesec.co.in/2018/05/monitor-server-logs-in-real-time.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/5415330612973808506'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/5415330612973808506'/><link rel='alternate' type='text/html' href='https://www.hackthesec.co.in/2018/05/monitor-server-logs-in-real-time.html' title='How to Monitor Server Logs in Real-Time with &quot;Log.io&quot;'/><author><name>Raj</name><uri>http://www.blogger.com/profile/02793413996647910802</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuP1qRoNyiMnsgPnB-Ow6c5I1pgSS7YbymMqLT9Wj7uLnpBPeeEM8TDIfY81JpkCPL2ZaAu-rTcQ576SeX0QmR4eD8Qht30I1bvvCa7ujwrTOm3Kol2z99Ez0ubbbawS7nslknCIE5WL6Y/s72-c/Log-io-hackthesec.co.in.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6353083638681129765.post-4394886349199862162</id><published>2018-04-03T20:13:00.000+05:30</published><updated>2018-04-03T20:13:22.291+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Hacking"/><category scheme="http://www.blogger.com/atom/ns#" term="kali"/><category scheme="http://www.blogger.com/atom/ns#" term="kali_linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux Tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="Penetration_Testing"/><category scheme="http://www.blogger.com/atom/ns#" term="WSL"/><title type='text'>How to install Kali Linux on the Windows</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
  594. &lt;div style=&quot;text-align: center;&quot;&gt;
  595. &lt;span style=&quot;color: #3d85c6; font-family: verdana, geneva, sans-serif; font-size: large;&quot;&gt;Kali-Linux On Windows&lt;/span&gt;&lt;/div&gt;
  596. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif; font-size: 15px;&quot;&gt;No, really…this isn&#39;t clickbait. For the past few weeks, we’ve been working with the Microsoft WSL team to get Kali Linux introduced into the Microsoft App Store as an official WSL distribution and today we’re happy to &lt;/span&gt;&lt;a href=&quot;https://blogs.msdn.microsoft.com/commandline/2018/03/05/kali-linux-for-wsl/&quot; style=&quot;font-family: verdana, geneva, sans-serif; font-size: 15px;&quot;&gt;announce &lt;/a&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif; font-size: 15px;&quot;&gt;the availability of the &quot;Kali Linux&quot; Windows application. For Windows 10 users, this means you can simply enable WSL, &lt;/span&gt;&lt;a href=&quot;https://www.microsoft.com/en-us/store/p/kali-linux/9pkr34tncv07&quot; style=&quot;font-family: verdana, geneva, sans-serif; font-size: 15px;&quot;&gt;search for Kali&lt;/a&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif; font-size: 15px;&quot;&gt; in the Windows store, and install it with a single click. This is especially exciting news for penetration testers and security professionals who have limited toolsets due to enterprise compliance standards.&lt;/span&gt;&lt;br /&gt;
  597. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
  598. &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9xYpiTa8ZfnbBhjjAIX2qo6e8J8vN6eyKuLPIJahICG9MD3BTioT5QLiO0lmreER2-0sfWQOXQP1r8q4D61DUBU4FGK0FUOky-6d6Qdc2qv9TzcVfb6-32Qb54egR3IK-VQtRW41GVdI/s1600/kali-windows-app-2018-hackthesec.co.in.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;284&quot; data-original-width=&quot;798&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9xYpiTa8ZfnbBhjjAIX2qo6e8J8vN6eyKuLPIJahICG9MD3BTioT5QLiO0lmreER2-0sfWQOXQP1r8q4D61DUBU4FGK0FUOky-6d6Qdc2qv9TzcVfb6-32Qb54egR3IK-VQtRW41GVdI/s1600/kali-windows-app-2018-hackthesec.co.in.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
  599. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  600. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;While running Kali on Windows has a few drawbacks to running it natively (such as the lack of raw socket support), it does bring in some very interesting possibilities, such as extending your security toolkit to include a whole bunch of command line tools that are present in Kali. We will update our blog with more news and updates regarding the development of this app as it’s released.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  601. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  602. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;We’d like to take this opportunity to thank the WSL team at Microsoft, and specifically @tara_msft and @benhillis for all the assistance and guidance with which this feat would not be possible. We hope you enjoy WSL’d Kali on Windows 10!&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  603. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  604. &lt;br /&gt;
  605. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;And now, a quick guide on getting Kali installed from the Microsoft App Store:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  606. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  607. &lt;span style=&quot;color: #3d85c6; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;u&gt;&lt;b&gt;Getting Kali Linux Installed on WSL&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  608. &lt;span style=&quot;color: blue; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;u&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;
  609. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Here’s a quick description of the setup and installation process. For an easier copy / paste operation, these are the basic steps taken:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  610. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  611. &lt;br /&gt;
  612. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;1. Update your Windows 10 machine. Open an administrative PowerShell window and install the Windows Subsystem with this one-liner. A reboot will be required once finished.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  613. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  614. &lt;div&gt;
  615. &lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  616. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;2. Once rebooted, open the Windows App store and search for the &quot;Kali Linux&quot; application, or alternatively click here to go there directly. Install the app and enjoy Kali!&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  617. &lt;span style=&quot;color: #3d85c6; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;&lt;u&gt;Updating Kali Linux on WSL&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  618. &lt;span style=&quot;color: #3d85c6; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;
  619. &lt;br /&gt;
  620. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Updating Kali Linux on WSL is no different from any other instance of Kali:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  621. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;apt-get update
  622. apt-get dist-upgrade&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  623. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Here’s a quick video of the process:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  624. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  625. &lt;div class=&quot;w-video ratio_16x9&quot; style=&quot;background-color: #111111; box-sizing: border-box; color: #666666; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;
  626. &lt;div class=&quot;w-video-h&quot; style=&quot;box-sizing: border-box; height: 0px; overflow: hidden; padding-bottom: 448.875px; position: relative;&quot;&gt;
  627. &lt;iframe allowfullscreen=&quot;&quot; mozallowfullscreen=&quot;&quot; src=&quot;https://player.vimeo.com/video/258822932?portrait=0&amp;amp;color=00adef&quot; style=&quot;border-style: none; border-width: initial; box-sizing: border-box; height: 448.875px; left: 0px; max-width: 100%; position: absolute; top: 0px; width: 798px;&quot; webkitallowfullscreen=&quot;&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
  628. &lt;/div&gt;
  629. &lt;div class=&quot;vc_empty_space&quot; style=&quot;background-color: white; box-sizing: border-box; color: #666666; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 14px; height: 32px;&quot;&gt;
  630. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
  631. &lt;div class=&quot;vc_empty_space&quot; style=&quot;background-color: white; box-sizing: border-box; height: 32px;&quot;&gt;
  632. &lt;span style=&quot;color: #0b5394; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;&lt;u&gt;Installing Penetration Testing tools on Kali&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #666666; font-family: Open Sans, sans-serif;&quot;&gt;&lt;span class=&quot;vc_empty_space_inner&quot; style=&quot;box-sizing: border-box; font-size: 14px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  633. &lt;div class=&quot;vc_empty_space&quot; style=&quot;background-color: white; box-sizing: border-box; height: 32px;&quot;&gt;
  634. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Installing tools from the Kali Linux repository is usually done via apt commands. For example, to install the Metasploit Framework, you can simply:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  635. &lt;div class=&quot;vc_empty_space&quot; style=&quot;background-color: white; box-sizing: border-box; height: 32px;&quot;&gt;
  636. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;apt-get update
  637. apt-get install metasploit-framework&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  638. &lt;/div&gt;
  639. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  640. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  641. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;Note:&lt;/b&gt; Some Kali tools are identified by antivirus software as malware. One way to deal with this situation is to allow antivirus exceptions on the directory in which the Kali chroot resides in. The following video walks you through this process:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  642. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  643. &lt;div class=&quot;w-video ratio_16x9&quot; style=&quot;background-color: #111111; box-sizing: border-box; color: #666666; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;
  644. &lt;div class=&quot;w-video-h&quot; style=&quot;box-sizing: border-box; height: 0px; overflow: hidden; padding-bottom: 448.875px; position: relative;&quot;&gt;
  645. &lt;iframe allowfullscreen=&quot;&quot; mozallowfullscreen=&quot;&quot; src=&quot;https://player.vimeo.com/video/258892544?portrait=0&amp;amp;color=00adef&quot; style=&quot;border-style: none; border-width: initial; box-sizing: border-box; height: 448.875px; left: 0px; max-width: 100%; position: absolute; top: 0px; width: 798px;&quot; webkitallowfullscreen=&quot;&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
  646. &lt;/div&gt;
  647. &lt;div class=&quot;vc_empty_space&quot; style=&quot;background-color: white; box-sizing: border-box; color: #666666; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 14px; height: 32px;&quot;&gt;
  648. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
  649. &lt;div class=&quot;vc_empty_space&quot; style=&quot;background-color: white; box-sizing: border-box; height: 32px;&quot;&gt;
  650. &lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Recovering from a failed Kali WSL instance&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Open Sans, sans-serif;&quot;&gt;&lt;span class=&quot;vc_empty_space_inner&quot; style=&quot;box-sizing: border-box; font-size: 14px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
  651. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Sometimes, you can inadvertently kill your Kali WSL instance, due to an overzealous command, an unintentional action, or even due to Kali or WSL bugs. If this happens, here is a quick recovery guide to get back on top of things. Note: this process will wipe your Kali WSL chroot, and re-extract a new copy. Any changes made to the filesystem will be gone, and reset to default.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  652. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  653. &lt;div class=&quot;w-video ratio_16x9&quot; style=&quot;background-color: #111111; box-sizing: border-box; color: #666666; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;
  654. &lt;div class=&quot;w-video-h&quot; style=&quot;box-sizing: border-box; height: 0px; overflow: hidden; padding-bottom: 448.875px; position: relative;&quot;&gt;
  655. &lt;iframe allowfullscreen=&quot;&quot; mozallowfullscreen=&quot;&quot; src=&quot;https://player.vimeo.com/video/258835347?portrait=0&amp;amp;color=00adef&quot; style=&quot;border-style: none; border-width: initial; box-sizing: border-box; height: 448.875px; left: 0px; max-width: 100%; position: absolute; top: 0px; width: 798px;&quot; webkitallowfullscreen=&quot;&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
  656. &lt;/div&gt;
  657. &lt;div class=&quot;vc_empty_space&quot; style=&quot;background-color: white; box-sizing: border-box; color: #666666; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 14px; height: 32px;&quot;&gt;
  658. &lt;span class=&quot;vc_empty_space_inner&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
  659. &lt;span style=&quot;color: #3d85c6; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;&lt;u&gt;Food for thought&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  660. &lt;span style=&quot;color: #3d85c6; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;
  661. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;The availability of the Kali Linux platform and toolset on Windows 10 brings with it many exciting possibilities which we havent even begun to grasp – here’s one example that got us scratching our heads. While not officially supported by WSL yet, we’ve tested running a desktop manager such as XFCE on WSL’d Kali…and it seems to work quite well:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  662. &lt;br /&gt;
  663. &lt;div class=&quot;w-video ratio_16x9&quot; style=&quot;background-color: #111111; box-sizing: border-box; color: #666666; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;
  664. &lt;div class=&quot;w-video-h&quot; style=&quot;box-sizing: border-box; height: 0px; overflow: hidden; padding-bottom: 448.875px; position: relative;&quot;&gt;
  665. &lt;iframe allowfullscreen=&quot;&quot; mozallowfullscreen=&quot;&quot; src=&quot;https://player.vimeo.com/video/255052199?portrait=0&amp;amp;color=00adef&quot; style=&quot;border-style: none; border-width: initial; box-sizing: border-box; height: 448.875px; left: 0px; max-width: 100%; position: absolute; top: 0px; width: 798px;&quot; webkitallowfullscreen=&quot;&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
  666. &lt;/div&gt;
  667. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  668. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  669. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif; font-size: 15px;&quot;&gt;Main Source -&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;a href=&quot;https://www.kali.org/news/kali-linux-in-the-windows-app-store/&quot;&gt;https://www.kali.org/news/kali-linux-in-the-windows-app-store/&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  670. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  671. </content><link rel='replies' type='application/atom+xml' href='https://www.hackthesec.co.in/feeds/4394886349199862162/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.hackthesec.co.in/2018/04/how-to-install-kali-linux-on-windows.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/4394886349199862162'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/4394886349199862162'/><link rel='alternate' type='text/html' href='https://www.hackthesec.co.in/2018/04/how-to-install-kali-linux-on-windows.html' title='How to install Kali Linux on the Windows'/><author><name>Sarkari-JOB</name><uri>http://www.blogger.com/profile/07703466142666802829</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9xYpiTa8ZfnbBhjjAIX2qo6e8J8vN6eyKuLPIJahICG9MD3BTioT5QLiO0lmreER2-0sfWQOXQP1r8q4D61DUBU4FGK0FUOky-6d6Qdc2qv9TzcVfb6-32Qb54egR3IK-VQtRW41GVdI/s72-c/kali-windows-app-2018-hackthesec.co.in.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6353083638681129765.post-952271903429312092</id><published>2018-04-03T19:45:00.000+05:30</published><updated>2018-04-03T19:45:11.622+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Centos"/><category scheme="http://www.blogger.com/atom/ns#" term="centos7"/><category scheme="http://www.blogger.com/atom/ns#" term="kali_linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux Tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux_Find_Command"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux_grep_command"/><category scheme="http://www.blogger.com/atom/ns#" term="searching"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="Unix"/><title type='text'>How to find files containing specific text in Linux</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
  672. &lt;div style=&quot;text-align: center;&quot;&gt;
  673. &lt;span style=&quot;color: #0b5394; font-family: verdana, geneva, sans-serif; font-size: large;&quot;&gt;&lt;u&gt;Find files containing specific text in Linux&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
  674. &lt;span style=&quot;color: #0b5394; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;
  675. &lt;span style=&quot;color: #0b5394; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;u&gt;Find files containing specific text using grep command&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  676. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;grep is a command-line utility for searching plain-text data sets for lines that match a regular expression. Its name comes from the ed command g/re/p (globally search a regular expression and print), which has the same effect: doing a global search with the regular expression and printing all matching lines. Grep was originally developed for the Unix operating system, but later available for all Unix-like systems.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  677. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
  678. &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmSfa5gfpg7IHq5mo4T7SHu_Cl3baveLg-xsoRu3kxODgKyT2LN2J7nwZThgySbn7tR5rogvXIbYnjg4nDea8sLQazM9oEpGHniruu0_fTDG58SasIVf0NZWEmjyQ9w9UtlcmquEhNQRA/s1600/find-command-in-linux-hackthesec.co.in.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;256&quot; data-original-width=&quot;512&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmSfa5gfpg7IHq5mo4T7SHu_Cl3baveLg-xsoRu3kxODgKyT2LN2J7nwZThgySbn7tR5rogvXIbYnjg4nDea8sLQazM9oEpGHniruu0_fTDG58SasIVf0NZWEmjyQ9w9UtlcmquEhNQRA/s1600/find-command-in-linux-hackthesec.co.in.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
  679. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  680. &lt;span style=&quot;color: #0b5394; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;u&gt;&lt;b&gt;grep command syntax&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  681. &lt;br /&gt;
  682. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;grep &quot;text string to search” directory-path&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  683. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;grep [option] &quot;text string to search” directory-path&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  684. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;grep -r &quot;text string to search” directory-path&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  685. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;grep -r -H &quot;text string to search” directory-path&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  686. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;egrep -R &quot;word-1|word-2” directory-path&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  687. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;egrep -w -R &quot;word-1|word-2” directory-path&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  688. &lt;div&gt;
  689. &lt;span style=&quot;color: #0b5394; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;u&gt;Find files containing specific text using grep command examples&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  690. &lt;div&gt;
  691. &lt;span style=&quot;border: 0px none; box-sizing: border-box; color: #993300; list-style: none; margin: 0px; outline: none; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  692. &lt;div&gt;
  693. &lt;span style=&quot;border: 0px none; box-sizing: border-box; font-size: 15px; list-style: none; margin: 0px; outline: none; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;In this example, we will search for &#39;PULSEAUDIO_SYSTEM_START&#39; in all configuration files located in /etc directory.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  694. &lt;div&gt;
  695. &lt;span style=&quot;border: 0px none; box-sizing: border-box; font-size: 15px; list-style: none; margin: 0px; outline: none; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  696. &lt;div&gt;
  697. &lt;span style=&quot;border: 0px none; box-sizing: border-box; list-style: none; margin: 0px; outline: none; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Now there&#39;s a small problem, depending on your Linux distro, Find command Syntax&amp;nbsp;can be slightly different.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  698. &lt;div&gt;
  699. &lt;span style=&quot;border: 0px none; box-sizing: border-box; list-style: none; margin: 0px; outline: none; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  700. &lt;div&gt;
  701. &lt;span style=&quot;border: 0px none; box-sizing: border-box; font-size: 15px; list-style: none; margin: 0px; outline: none; padding: 0px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;*If you know the exact location and directory you&#39;re after, then use&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  702. &lt;div&gt;
  703. &lt;span style=&quot;border: 0px none; box-sizing: border-box; list-style: none; margin: 0px; outline: none; padding: 0px;&quot;&gt;&lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;root@hackthesec:~# grep &quot;PULSEAUDIO_SYSTEM_START&quot; /etc/default/pulseaudio
  704. PULSEAUDIO_SYSTEM_START=1&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: normal;&quot;&gt;
  705. &lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  706. &lt;div&gt;
  707. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;*If you know the exact directory with the files containing that specific text, then use&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  708. &lt;div&gt;
  709. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;root@hackthesec:~# grep &quot;PULSEAUDIO_SYSTEM_START&quot; /etc/default/*
  710. grep: /etc/default/kdm.d: Is a directory
  711. /etc/default/pulseaudio:PULSEAUDIO_SYSTEM_START=1
  712. root@hackthesec:~#&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: normal;&quot;&gt;
  713. &lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  714. &lt;div&gt;
  715. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;If you don&#39;t know the exact location of the file that contains the specific text you’re looking for, then you need to search all sub-directories recursively.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  716. &lt;div&gt;
  717. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;root@hackthesec:~# grep -r &quot;PULSEAUDIO_SYSTEM_START&quot; /etc/default/*
  718. /etc/default/pulseaudio:PULSEAUDIO_SYSTEM_START=1
  719. root@hackthesec:~#&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  720. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;root@hackthesec:~# grep -R &quot;PULSEAUDIO_SYSTEM_START&quot; /etc/default/*
  721. /etc/default/pulseaudio:PULSEAUDIO_SYSTEM_START=1
  722. root@hackthesec:~#&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  723. &lt;/div&gt;
  724. &lt;div&gt;
  725. &lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Now what if you are searching through a massive file and there might be many outputs similar to what you’re looking for.. you might want to use &lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;--col&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt; flag to color code your output which searching files containing specific strings.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  726. &lt;div&gt;
  727. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;root@hackthesec:~# grep --col &#39;usb 1-1.4&#39; /var/log/messages
  728. Apr 4 09:14:25 kali kernel: [1191164.780496] usb 1-1.4: new low-speed USB device number 21 using ehci-pci
  729. root@hackthesec:~#&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  730. &lt;/div&gt;
  731. &lt;div&gt;
  732. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Now I want to display all files with colorer output with containing specific text and instead of showing the whole content of the files&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  733. &lt;div&gt;
  734. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;root@hackthesec:~# grep --col -r &#39;Linux version 3.14-kali1&#39; /var/log/* | cut -d: -f1
  735. /var/log/dmesg
  736. /var/log/dmesg.0
  737. /var/log/installer/syslog
  738. root@hackthesec:~#&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  739. &lt;/div&gt;
  740. &lt;div&gt;
  741. &lt;div&gt;
  742. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;When you&#39;re using grep, depending on the commands used and permission you have on the system, you might see any of the following errors.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  743. &lt;div&gt;
  744. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  745. &lt;div&gt;
  746. &lt;span style=&quot;color: #351c75; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;* Input/output error&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  747. &lt;div&gt;
  748. &lt;span style=&quot;color: #351c75; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;* recursive directory loop&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  749. &lt;div&gt;
  750. &lt;span style=&quot;color: #351c75; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;* No such file or directory&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  751. &lt;div&gt;
  752. &lt;span style=&quot;color: #351c75; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;* No such device or address&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  753. &lt;div&gt;
  754. &lt;span style=&quot;color: #351c75; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;* Permission denied&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  755. &lt;div&gt;
  756. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  757. &lt;div&gt;
  758. &lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;If you want to hide all errors or warning message spamming your output window(specifically useful when you&#39;re trying to use grep on a script) generated by the grep command, &lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;append 2&amp;gt;/dev/null&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt; to grep command. This will send and hide unwanted output to &lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;/dev/null&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt; device:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  759. &lt;/div&gt;
  760. &lt;div&gt;
  761. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;root@hackthesec:~# grep -R &quot;PULSEAUDIO_SYSTEM_START&quot; /etc/* 2&amp;gt;/dev/null
  762. /etc/default/pulseaudio:PULSEAUDIO_SYSTEM_START=1
  763. /etc/init.d/pulseaudio:PULSEAUDIO_SYSTEM_START=0
  764. /etc/init.d/pulseaudio:if [ &quot;$PULSEAUDIO_SYSTEM_START&quot; != &quot;1&quot; ]; then
  765. /etc/rc0.d/K01pulseaudio:PULSEAUDIO_SYSTEM_START=0
  766. /etc/rc0.d/K01pulseaudio:if [ &quot;$PULSEAUDIO_SYSTEM_START&quot; != &quot;1&quot; ]; then
  767. /etc/rc1.d/K01pulseaudio:PULSEAUDIO_SYSTEM_START=0
  768. /etc/rc1.d/K01pulseaudio:if [ &quot;$PULSEAUDIO_SYSTEM_START&quot; != &quot;1&quot; ]; then
  769. /etc/rc2.d/S20pulseaudio:PULSEAUDIO_SYSTEM_START=0
  770. /etc/rc2.d/S20pulseaudio:if [ &quot;$PULSEAUDIO_SYSTEM_START&quot; != &quot;1&quot; ]; then
  771. /etc/rc3.d/S20pulseaudio:PULSEAUDIO_SYSTEM_START=0
  772. /etc/rc3.d/S20pulseaudio:if [ &quot;$PULSEAUDIO_SYSTEM_START&quot; != &quot;1&quot; ]; then
  773. /etc/rc4.d/S20pulseaudio:PULSEAUDIO_SYSTEM_START=0
  774. /etc/rc4.d/S20pulseaudio:if [ &quot;$PULSEAUDIO_SYSTEM_START&quot; != &quot;1&quot; ]; then
  775. /etc/rc5.d/S20pulseaudio:PULSEAUDIO_SYSTEM_START=0
  776. /etc/rc5.d/S20pulseaudio:if [ &quot;$PULSEAUDIO_SYSTEM_START&quot; != &quot;1&quot; ]; then
  777. /etc/rc6.d/K01pulseaudio:PULSEAUDIO_SYSTEM_START=0
  778. /etc/rc6.d/K01pulseaudio:if [ &quot;$PULSEAUDIO_SYSTEM_START&quot; != &quot;1&quot; ]; then
  779. root@hackthesec:~#&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  780. &lt;/div&gt;
  781. &lt;div&gt;
  782. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;div&gt;
  783. What if you&#39;re not sure about the case of the text you&#39;re after? You can use -i to ignore case.&lt;/div&gt;
  784. &lt;div&gt;
  785. &lt;br /&gt;&lt;/div&gt;
  786. &lt;div&gt;
  787. Below example shows the difference between -i flag. First command didn’t find the text, second command did as we used -i flag to ignore case.&lt;/div&gt;
  788. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  789. &lt;div&gt;
  790. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;root@hackthesec:~# grep -r &quot;pulseaudio_system_start&quot; /etc/default/*
  791. root@hackthesec:~#
  792. root@hackthesec:~# grep -i  -r &quot;pulseaudio_system_start&quot; /etc/default/*
  793. /etc/default/pulseaudio:PULSEAUDIO_SYSTEM_START=1
  794. root@hackthesec:~#&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  795. &lt;/div&gt;
  796. &lt;div&gt;
  797. &lt;span style=&quot;font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;I always prefer using grep command &lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;with -r and --col flag in Debian Linux as -r complains less about permissions&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;, files, directory etc. and of course some color helps on the eyes when you’re browsing through many lines.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  798. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
  799. &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdmES88qRq5q2S7T9eloxwGBj7Q_4TNKpHoxJrzaHNO5JFpsQd52ekNYQtKsk03EFGlHDRp9evGLye66Gs1H1pIHZBXSl4SbjLqVkCmN9OA-3D7lHu4C3YOmEHVFiqwADcA4237wkbdVk/s1600/How-to-find-files-containing-specific-text-in-Linux-hackthesec.co.in.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;199&quot; data-original-width=&quot;656&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdmES88qRq5q2S7T9eloxwGBj7Q_4TNKpHoxJrzaHNO5JFpsQd52ekNYQtKsk03EFGlHDRp9evGLye66Gs1H1pIHZBXSl4SbjLqVkCmN9OA-3D7lHu4C3YOmEHVFiqwADcA4237wkbdVk/s1600/How-to-find-files-containing-specific-text-in-Linux-hackthesec.co.in.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
  800. &lt;div&gt;
  801. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
  802. &lt;div&gt;
  803. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
  804. &lt;div&gt;
  805. &lt;a href=&quot;http://www.hackthesec.co.in/&quot;&gt;HackTheSec&lt;/a&gt;&lt;/div&gt;
  806. &lt;/div&gt;
  807. &lt;/span&gt;&lt;/div&gt;
  808. &lt;/div&gt;
  809. </content><link rel='replies' type='application/atom+xml' href='https://www.hackthesec.co.in/feeds/952271903429312092/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.hackthesec.co.in/2018/04/how-to-find-files-containing-specific.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/952271903429312092'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/952271903429312092'/><link rel='alternate' type='text/html' href='https://www.hackthesec.co.in/2018/04/how-to-find-files-containing-specific.html' title='How to find files containing specific text in Linux'/><author><name>Sarkari-JOB</name><uri>http://www.blogger.com/profile/07703466142666802829</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmSfa5gfpg7IHq5mo4T7SHu_Cl3baveLg-xsoRu3kxODgKyT2LN2J7nwZThgySbn7tR5rogvXIbYnjg4nDea8sLQazM9oEpGHniruu0_fTDG58SasIVf0NZWEmjyQ9w9UtlcmquEhNQRA/s72-c/find-command-in-linux-hackthesec.co.in.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6353083638681129765.post-5296863817906301811</id><published>2018-02-20T13:16:00.001+05:30</published><updated>2018-02-20T13:18:48.350+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Centos"/><category scheme="http://www.blogger.com/atom/ns#" term="cryptmount"/><category scheme="http://www.blogger.com/atom/ns#" term="Debian"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux_Filesystem"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux_Tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="redhat"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><title type='text'>Cryptmount – A Utility to Create Encrypted Filesystems in Linux</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
  810. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;cryptmount is a utility for GNU/Linux operating systems which allows an ordinary user to mount an encrypted filing system without requiring superuser privileges. It is aimed at Linux systems using the 2.6 kernel series or later.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  811. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  812. &lt;br /&gt;
  813. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
  814. &lt;a href=&quot;http://cryptmount.sourceforge.net/crypt-img.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://cryptmount.sourceforge.net/crypt-img.png&quot; data-original-height=&quot;482&quot; data-original-width=&quot;700&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
  815. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  816. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;&lt;u&gt;Technical background&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  817. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  818. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;There are currently two main approaches to using encrypted filesystems within the linux kernel:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  819. &lt;br /&gt;
  820. &lt;ul style=&quot;text-align: left;&quot;&gt;
  821. &lt;li&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;the cryptoloop device driver;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
  822. &lt;li&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;the device-mapper system, using the dm-crypt target.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
  823. &lt;/ul&gt;
  824. &lt;br /&gt;
  825. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;The (older) cryptoloop system has grown in parallel with the loopback device-driver of 2.4 kernel series, but has now been superseded by the device-mapper capabilities of the 2.6 kernel series. The newer devmapper system offers a &lt;a href=&quot;http://docs.linux.com/article.pl?sid=04/06/07/2036205&amp;amp;tid=72&amp;amp;tid=14&amp;amp;tid=35&quot;&gt;cleaner organization&lt;/a&gt; of encryption and device-access, and superior performance has &lt;a href=&quot;http://deb.riseup.net/storage/encryption/dmcrypt&quot;&gt;been noted&lt;/a&gt;. Alternative user-space tools which allow individual files to be encrypted are also widely available, but allow some information about file sizes &amp;amp; organization to be exposed.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  826. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  827. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;With the older cryptoloop system, it was possible to describe all the details of an encrypted filesystem within /etc/fstab so that it could be configured completely by &#39;mount&#39;. This meant that it was particularly easy to give any user permission to mount those encrypted filesystems simply by providing the &#39;user&#39; option within /etc/fstab.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  828. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  829. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;With the newer device-mapper infrastructure, there are more stages involved in mounting an encrypted filing system, and neither does &#39;mount&#39; currently allow this nor does the syntax of /etc/fstab lend itself to describing all the necessary filesystem parameters. This is especially so if the filesystem is stored in an ordinary file, which would require separate configuration of a loopback device and a devmapper target before the filesystem could be accessed.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  830. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  831. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;cryptmount was written to make it as easy for ordinary users to access encrypted filesystems on-demand using the newer devmapper mechansism as it was to use the older, now deprecated, cryptoloop methods. This offers the following advantages:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  832. &lt;br /&gt;
  833. &lt;ul style=&quot;text-align: left;&quot;&gt;
  834. &lt;li&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;access to improved functionality in the kernel&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
  835. &lt;li&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;transparent support for filesystems stored on either raw disk partitions or loopback files&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
  836. &lt;li&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;/span&gt;&lt;/li&gt;
  837. &lt;li style=&quot;font-size: 15px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;separate encryption of filesystem access keys, allowing access passwords to be changed without re-encrypting the entire filesystem&lt;/span&gt;&lt;/li&gt;
  838. &lt;li&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;storing multiple encrypted filesystems within a single disk partition, using a designated subset of blocks for each&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
  839. &lt;li&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;rarely used filesystems do not need to be mounted at system startup&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
  840. &lt;li&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;un-mounting of each filesystem is locked so that this can only be performed by the user that mounted it, or the superuser&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
  841. &lt;li&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;encrypted filesystems compatible with cryptsetup&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
  842. &lt;li&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;encrypted access-keys can be chosen to be compatible with openssl, or managed via libgcrypt, or (for 2.0 release-series) built-in SHA1/Blowfish ciphers&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
  843. &lt;li&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;support for encrypted swap partitions (superuser only)&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
  844. &lt;li&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;support for setting up encrypted filesystems or crypto-swap at system boot-up&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
  845. &lt;/ul&gt;
  846. &lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;u&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;b&gt;Install and Configure Cryptmount in Linux&lt;/b&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  847. &lt;br /&gt;
  848. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;On Debian/Ubuntu distributions, you can install Cryptmount using the following command line&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  849. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;sudo apt install cryptmount&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  850. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;On RHEL/CentOS/Fedora distributions,install it from source. First start installing the required package(s) to successfully build and use cryptmount.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  851. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;yum install device-mapper-devel&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  852. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;yum groupinstall &quot;Development tools&quot;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  853. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Then download the latest Cryptmount source files.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  854. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;wget https://downloads.sourceforge.net/project/cryptmount/cryptmount/cryptmount-5.2/cryptmount-5.2.4.tar.gz
  855. tar -xzf  cryptmount-5.2.4.tar.gz
  856. cd cryptmount-5.2.4
  857. ./configure
  858. make
  859. make instal&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  860. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  861. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;After installation&amp;nbsp;go for setup using bellow command line&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  862. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;cryptmount-setup&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  863. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
  864. &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4_bf_zluIl3w2Tpa7Kj-r9HtLoen_02EXBU0bh0fZCpA9sXzYivNF0EIGcs7tNx4I95ID2E9k3NkajvFnLo8BGvbCj5ovWxGdVFnPo6EqmrnqtPihRHc-53-IqMBlBufcKWY8yQPfXWmF/s1600/crypt.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;729&quot; data-original-width=&quot;872&quot; height=&quot;534&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4_bf_zluIl3w2Tpa7Kj-r9HtLoen_02EXBU0bh0fZCpA9sXzYivNF0EIGcs7tNx4I95ID2E9k3NkajvFnLo8BGvbCj5ovWxGdVFnPo6EqmrnqtPihRHc-53-IqMBlBufcKWY8yQPfXWmF/s640/crypt.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
  865. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  866. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Once the new encrypted filesystem is created, you can access it as follows (enter the name you specified for your target – hackthesec), you will be prompted to enter the password for the target.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  867. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;cryptmount hackthesec
  868. cd /home/crypt&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  869. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;To unmount the target run cd command to get out of the encrypted filesystem, then use the -u switch to unmount as shown.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  870. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;cryptmount -u hackthesec&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  871. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;For more information you can use bellow command or you can visit&amp;nbsp;cryptmount website&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  872. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;man cryptmount
  873. man cmtab &lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  874. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;Website - &lt;a href=&quot;http://cryptmount.sourceforge.net/&quot;&gt;http://cryptmount.sourceforge.net/&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  875. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  876. &lt;span style=&quot;color: #990000; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;&lt;u&gt;Troubleshooting in my case&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  877. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  878. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;After installation&amp;nbsp;i just received&amp;nbsp;a error message from my ubuntu box&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  879. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&quot;Taking backup of cryptmount master config-file (@ETCDIR@/cmtab.bckp-setup)...mv: cannot stat &#39;@ETCDIR@/cmtab&#39;: No such file or directory&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  880. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  881. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;for this error just follow bellow commands&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  882. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;root@new:~# which cryptmount-setup
  883. /usr/sbin/cryptmount-setup
  884. &lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  885. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;root@new:~# vi /usr/sbin/cryptmount-setup&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  886. &lt;div&gt;
  887. &lt;br /&gt;&lt;/div&gt;
  888. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;and&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  889. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  890. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Changed from:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  891. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;CM_CFGDIR=&quot;@ETCDIR@&quot;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  892. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  893. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Changed to:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  894. &lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  895. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;CM_CFGDIR=&quot;/etc/cryptmount&quot;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  896. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  897.  
  898.  
  899. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
  900. &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgl2TwF9Wwl7nDpTkNEiFGAiPXW-CHo-qnTXW_GHzY9KFg-J7h3DYLDB9UWEwpKukmywnK7Aq5BguCnHgZ5DbkStwhDSdk162w3-GjzuSkqQvoQEIBAjnUaeCpcuIMra1s6zJsh-TM-Nefg/s1600/cryptchange.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;424&quot; data-original-width=&quot;723&quot; height=&quot;374&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgl2TwF9Wwl7nDpTkNEiFGAiPXW-CHo-qnTXW_GHzY9KFg-J7h3DYLDB9UWEwpKukmywnK7Aq5BguCnHgZ5DbkStwhDSdk162w3-GjzuSkqQvoQEIBAjnUaeCpcuIMra1s6zJsh-TM-Nefg/s640/cryptchange.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
  901. &lt;br /&gt;&lt;/div&gt;
  902. </content><link rel='replies' type='application/atom+xml' href='https://www.hackthesec.co.in/feeds/5296863817906301811/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.hackthesec.co.in/2018/02/cryptmount-utility-to-create-encrypted.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/5296863817906301811'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/5296863817906301811'/><link rel='alternate' type='text/html' href='https://www.hackthesec.co.in/2018/02/cryptmount-utility-to-create-encrypted.html' title='Cryptmount – A Utility to Create Encrypted Filesystems in Linux'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4_bf_zluIl3w2Tpa7Kj-r9HtLoen_02EXBU0bh0fZCpA9sXzYivNF0EIGcs7tNx4I95ID2E9k3NkajvFnLo8BGvbCj5ovWxGdVFnPo6EqmrnqtPihRHc-53-IqMBlBufcKWY8yQPfXWmF/s72-c/crypt.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6353083638681129765.post-8560162806226093089</id><published>2018-02-20T11:32:00.000+05:30</published><updated>2018-02-20T11:32:01.858+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux Tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux_Backup"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux_Clone"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux_Tools"/><category scheme="http://www.blogger.com/atom/ns#" term="open_source_software"/><title type='text'>Open Source Disk Cloning/Backup Softwares for Linux </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
  903. &lt;div style=&quot;text-align: center;&quot;&gt;
  904. &lt;span style=&quot;color: #0b5394; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;&lt;u&gt;Free Backup Tools to Clone Linux System Disk&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  905. &lt;div style=&quot;text-align: center;&quot;&gt;
  906. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  907. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;Clonezilla &lt;/b&gt;is a partition and disk imaging/cloning program similar to True Image® or Norton Ghost®. It helps you to do system deployment, bare metal backup and recovery. Two types of Clonezilla are available, Clonezilla live and Clonezilla SE (server edition). Clonezilla live is suitable for single machine backup and restore. While Clonezilla SE is for massive deployment, it can clone many (40 plus!) computers simultaneously. Clonezilla saves and restores only used blocks in the hard disk. This increases the clone efficiency. With some high-end hardware in a 42-node cluster, a multicast restoring at rate 8 GB/min was reported.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  908. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
  909. &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfGqfktDOlq1hInl-1uL8NMknuOcy0nS2Ut5hvoh5M8JA7mSpcCrPHIkCK3WycxNu-HF5WE2zr6q1GxSrNu4Wl_0KHiMI6VOKxZFUzq_lzLiukCGZ1En-ysSr3qRuErpirbNSRoFXmGNdj/s1600/maxresdefault.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;900&quot; data-original-width=&quot;1600&quot; height=&quot;360&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfGqfktDOlq1hInl-1uL8NMknuOcy0nS2Ut5hvoh5M8JA7mSpcCrPHIkCK3WycxNu-HF5WE2zr6q1GxSrNu4Wl_0KHiMI6VOKxZFUzq_lzLiukCGZ1En-ysSr3qRuErpirbNSRoFXmGNdj/s640/maxresdefault.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
  910. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  911. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;&lt;u&gt;Features:&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  912. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Many File systems are supported: (1) ext2, ext3, ext4, reiserfs, reiser4, xfs, jfs, btrfs, f2fs and nilfs2 of GNU/Linux, (2) FAT12, FAT16, FAT32, NTFS of MS Windows, (3) HFS+ of Mac OS, (4) UFS of FreeBSD, NetBSD, and OpenBSD, (5) minix of Minix, and (6) VMFS3 and VMFS5 of VMWare ESX. Therefore you can clone GNU/Linux, MS windows, Intel-based Mac OS, FreeBSD, NetBSD, OpenBSD, Minix, VMWare ESX and Chrome OS/Chromium OS, no matter it&#39;s 32-bit (x86) or 64-bit (x86-64) OS. For these file systems, only used blocks in partition are saved and restored by Partclone. For unsupported file system, sector-to-sector copy is done by dd in Clonezilla.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  913. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  914. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;*LVM2 (LVM version 1 is not) under GNU/Linux is supported.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  915. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  916. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;*Boot loader, including grub (version 1 and version 2) and syslinux, could be reinstalled.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  917. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  918. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;*Both MBR and GPT partition formats of hard drive are supported. Clonezilla live also can be booted on a BIOS or uEFI machine.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  919. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  920. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;*Unattended mode is supported. Almost all steps can be done via commands and options. You can also use a lot of boot parameters to customize your own imaging and cloning.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  921. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
  922. &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZYt5Pqwii1PmH4y3v-UoSjPspg8VvFt-UBzEaw6r81DVgtzBVOhdoSFDjIf2G2O44nDESgLwka0U89fj1PjCcinPfc5oXFmKihWOn6p2589AzJKeOk5JqCb5UUwNiL1maKE8W4xwpIRQX/s1600/clonezilla.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;600&quot; data-original-width=&quot;800&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZYt5Pqwii1PmH4y3v-UoSjPspg8VvFt-UBzEaw6r81DVgtzBVOhdoSFDjIf2G2O44nDESgLwka0U89fj1PjCcinPfc5oXFmKihWOn6p2589AzJKeOk5JqCb5UUwNiL1maKE8W4xwpIRQX/s1600/clonezilla.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
  923. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  924. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;*One image restoring to multiple local devices is supported.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  925. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  926. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;*Image could be encrypted. This is done with ecryptfs, a POSIX-compliant enterprise cryptographic stacked filesystem.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  927. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  928. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;*Multicast is supported in Clonezilla SE, which is suitable for massive clone. You can also remotely use it to save or restore a bunch of computers if PXE and Wake-on-LAN are supported in your clients.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  929. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  930. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;*The image file can be on local disk, ssh server, samba server, NFS server or WebDAV server.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  931. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  932. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;*AES-256 encryption could be used to secures data access, storage and transfer.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  933. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  934. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;*Based on Partclone (default), Partimage (optional), ntfsclone (optional), or dd to image or clone a partition. However, Clonezilla, containing some other programs, can save and restore not only partitions, but also a whole disk.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  935. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  936. &lt;br /&gt;
  937. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;*By using another free software drbl-winroll, which is also developed by us, the hostname, group, and SID of cloned MS windows machine can be automatically changed.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  938. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;You may download the latest version of Clonezilla &lt;a href=&quot;http://clonezilla.org/downloads.php&quot;&gt;here&lt;/a&gt;.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  939. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;&lt;a href=&quot;http://clonezilla.org/downloads.php&quot;&gt;DOWNLOAD&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  940. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  941. &lt;h3 style=&quot;background-color: white; border: 0px; color: #333f49; font-family: &amp;quot;Open Sans&amp;quot;, Helvetica, Arial, sans-serif; font-size: 1.25rem; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1.3; margin: 0px 0px 1.25rem; padding: 0px; vertical-align: baseline;&quot;&gt;
  942. &lt;u&gt;dd (data duplicator)&amp;nbsp;&lt;/u&gt;&lt;/h3&gt;
  943. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Dd- Mighty Disk Destroyer. Many Admins fear and even cower when the letters DD are mentioned together DD can be your best friend. Being that you are a Linux Professional and or want to be a professional, you are sometimes faced with the need to clone, backup and or restore Hard Drive images On the Fly. Secondly, you many want to create backups of Hard Drives for future deployment. Lastly, sometimes you have a failing Hard Drive that needs to be migrated over to a good Hard Drive.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  944. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  945. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;dd command must be used with caution. This command is so powerful and could wipe your data if you use it the wrong way.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  946. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  947. &lt;br /&gt;
  948. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;For example: To clone disk 1 (/dev/sdb) to disk 2 (/dev/sda), use the following command:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  949. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif; font-size: 12px;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;# &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;dd if=/dev/sdb of=/dev/sda status=progress&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  950. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;For More information about DD you can use bellow command from your terminal&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  951. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif; font-size: 12px;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;# &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;man dd&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  952. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Or you can visit this website : - &lt;a href=&quot;https://www.howtoforge.com/linux-dd-command/&quot;&gt;Link&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  953. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  954. &lt;h3 style=&quot;background-color: white; border: 0px; color: #333f49; font-family: &amp;quot;Open Sans&amp;quot;, Helvetica, Arial, sans-serif; font-size: 1.25rem; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1.3; margin: 0px 0px 1.25rem; padding: 0px; vertical-align: baseline;&quot;&gt;
  955. &lt;u&gt;Partclone&lt;/u&gt;&lt;/h3&gt;
  956. &lt;div&gt;
  957. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Partclone is a program similar to the well-known backup utility &quot;Partition Image&quot; a.k.a partimage. Partclone provides utilities to save and restore used blocks on a partition and is designed for higher compatibility of the file system by using existing libraries, e.g. e2fslibs is used to read and write the ext2 partition.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  958. &lt;div&gt;
  959. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  960. &lt;div&gt;
  961. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Partclone now supports ext2, ext3, ext4, hfs+, reiserfs, reiser4, btrfs, vmfs3, vmfs5, xfs, jfs, ufs, ntfs, fat(12/16/32), exfat, f2fs, nilfs. The available programs are:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  962. &lt;div&gt;
  963. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  964. &lt;div&gt;
  965. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;partclone.btrfs&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  966. &lt;div&gt;
  967. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;partclone.ext2, partclone.ext3, partclone.ext4&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  968. &lt;div&gt;
  969. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;partclone.fat32, partclone.fat12, partclone.fat16&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  970. &lt;div&gt;
  971. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;partclone.ntfs&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  972. &lt;div&gt;
  973. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;partclone.exfat&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  974. &lt;div&gt;
  975. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;partclone.hfsp&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  976. &lt;div&gt;
  977. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;partclone.jfs&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  978. &lt;div&gt;
  979. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;partclone.reiserfs&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  980. &lt;div&gt;
  981. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;partclone.reiser4&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  982. &lt;div&gt;
  983. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;partclone.ufs (with SU+J)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  984. &lt;div&gt;
  985. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;partclone.vmfs (v3 and v5)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  986. &lt;div&gt;
  987. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;partclone.xfs&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  988. &lt;div&gt;
  989. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;partclone.f2fs&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  990. &lt;div&gt;
  991. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;partclone.nilfs2&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  992. &lt;div&gt;
  993. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  994. &lt;div&gt;
  995. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Partclone support local and remote ssh server to store the backup image.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  996. &lt;div&gt;
  997. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif; font-size: 12px;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;# &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;partclone.ext4 -c -s /dev/sda1 -o ~/data1.img&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  998. &lt;/div&gt;
  999. &lt;div&gt;
  1000. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;The command will backup an ext4 partition (/dev/sda1) to data1.img image file. To restore from an image file, use the following command:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1001. &lt;div&gt;
  1002. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif; font-size: 12px;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;# &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;partclone.ext4 -r -o /dev/sda1&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1003. &lt;/div&gt;
  1004. &lt;div style=&quot;text-align: center;&quot;&gt;
  1005. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://partclone.org/download/&quot;&gt;Download Partclone&lt;/a&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1006. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  1007. &lt;h3 style=&quot;background-color: white; border: 0px; color: #333f49; font-family: &amp;quot;Open Sans&amp;quot;, Helvetica, Arial, sans-serif; font-size: 1.25rem; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1.3; margin: 0px 0px 1.25rem; padding: 0px; vertical-align: baseline;&quot;&gt;
  1008. &lt;u&gt;Deepin Clone&lt;/u&gt;&lt;/h3&gt;
  1009. &lt;div&gt;
  1010. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Deepin Clone is a tool to backup and restore developed by Deepin Technology. It supports to clone, backup and restore disk or partition. And works with Deepin Recovery to fix the boot, partition and so on.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1011. &lt;div&gt;
  1012. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1013. &lt;div&gt;
  1014. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;div&gt;
  1015. &lt;b&gt;&lt;u&gt;Project Location:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
  1016. &lt;div&gt;
  1017. Source Code Location: &lt;a href=&quot;https://github.com/linuxdeepin/deepin-clone&quot;&gt;https://github.com/linuxdeepin/deepin-clone&lt;/a&gt;&lt;/div&gt;
  1018. &lt;div&gt;
  1019. &lt;br /&gt;&lt;/div&gt;
  1020. &lt;div&gt;
  1021. Beta Version Location: &lt;a href=&quot;https://cr.deepin.io/#/admin/projects/deepin-clone&quot;&gt;https://cr.deepin.io/#/admin/projects/deepin-clone&lt;/a&gt;&lt;/div&gt;
  1022. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1023. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  1024. &lt;h3 style=&quot;background-color: white; border: 0px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1.3; margin: 0px 0px 1.25rem; padding: 0px; vertical-align: baseline;&quot;&gt;
  1025. &lt;span style=&quot;color: #333f49; font-family: Open Sans, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 20px;&quot;&gt;&lt;u&gt;Redo Backup&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
  1026. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Redo Bakcup is a Live CD tool to clone your drivers easily, Redo Backup is a free &amp;amp; Open Source Live System licensed under GPL 3 to do the job, Features are as the website says.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1027. &lt;br /&gt;
  1028. &lt;ul style=&quot;text-align: left;&quot;&gt;
  1029. &lt;li&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Easy graphical user interface boots from CD in less than a minute&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
  1030. &lt;li&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;No installation needed; runs from a CD-ROM or a USB stick&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
  1031. &lt;li&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Saves and restores Windows and Linux machines&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
  1032. &lt;li&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Automatically finds local network shares&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
  1033. &lt;li&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Access your files even if you can&#39;t log in&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
  1034. &lt;li&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Recover deleted pictures, documents, and other files&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
  1035. &lt;li&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Internet access with a full-featured browser to download drivers&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
  1036. &lt;li&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Live CD download size is only about 250MB&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
  1037. &lt;/ul&gt;
  1038. &lt;br /&gt;
  1039. &lt;div style=&quot;text-align: center;&quot;&gt;
  1040. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif; font-size: 15px;&quot;&gt;&lt;a href=&quot;http://redobackup.org/download.php&quot;&gt;&lt;b&gt;Download Redo Backup&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
  1041. &lt;h3 style=&quot;background-color: white; border: 0px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1.3; margin: 0px 0px 1.25rem; padding: 0px; vertical-align: baseline;&quot;&gt;
  1042. &lt;span style=&quot;color: #333f49; font-family: Open Sans, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 20px;&quot;&gt;&lt;u&gt;Mondo Rescue&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
  1043. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;Mondo is reliable.&lt;/b&gt; It backs up your GNU/Linux server or workstation to tape, CD-R, CD-RW, DVD-R[W], DVD+R[W], NFS or hard disk partition. In the event of catastrophic data loss, you will be able to restore all of your data [or as much as you want], from bare metal if necessary. Mondo is in use by Lockheed-Martin, Nortel Networks, Siemens, HP, IBM, NASA&#39;s JPL, the US Dept of Agriculture, dozens of smaller companies, and tens of thousands of users.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1044. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  1045. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;Mondo is comprehensive.&lt;/b&gt; Mondo supports LVM 1/2, RAID, ext2, ext3, ext4, JFS, XFS, ReiserFS, VFAT, and can support additional filesystems easily: just e-mail the mailing list with your request. It supports software raid as well as most hardware raid controllers. It supports adjustments in disk geometry, including migration from non-RAID to RAID. It supports BIOS and UEFI boot modes. Mondo runs on all major Linux distributions (Fedora, RHEL, OpenSUSE, SLES, Mageia, Debian, Ubuntu, Gentoo) and is getting better all the time. You may even use it to backup non-Linux partitions, such as NTFS.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1046. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  1047. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;Mondo is free!&lt;/b&gt; It has been published under the GPL v2 (GNU Public License), partly to expose it to thousands of potential beta-testers but mostly as a contribution to the Linux community.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1048. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  1049. &lt;div style=&quot;text-align: center;&quot;&gt;
  1050. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;&lt;a href=&quot;http://www.mondorescue.org/downloads.shtml&quot;&gt;Download Mondo&amp;nbsp;&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1051. &lt;div&gt;
  1052. &lt;br /&gt;&lt;/div&gt;
  1053. &lt;br /&gt;
  1054. &lt;h3 style=&quot;background-color: white; border: 0px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1.3; margin: 0px 0px 1.25rem; padding: 0px; vertical-align: baseline;&quot;&gt;
  1055. &lt;span style=&quot;color: #333f49; font-family: Open Sans, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 20px;&quot;&gt;&lt;u&gt;doClone&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
  1056. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;DoClone is a free project developed in C++ for creating or restoring GNU/Linux systems images. It can also work on a LAN to transfer data within computers. This tool provides an easy way to manage the GNU/Linux installation in offices or schools, including machines with different hardware, e.g., different hard-disk sizes, using only the space required by the data.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1057. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif; font-size: 15px;&quot;&gt;Features are as the website says.&lt;/span&gt;&lt;br /&gt;
  1058. &lt;br /&gt;
  1059. &lt;ul style=&quot;text-align: left;&quot;&gt;
  1060. &lt;li&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Supports 12 filesystems.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
  1061. &lt;li&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Supports 9 disk labels.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
  1062. &lt;li&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Clones disks or partitions with different sizes.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
  1063. &lt;li&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Clones selinux systems.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
  1064. &lt;li&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;GRUB boot loader restoration.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
  1065. &lt;li&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Multiple cloning on a LAN.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
  1066. &lt;li&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;UUID&#39;s and filesystem labels cloning.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
  1067. &lt;li&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Live cloning: a system can make images of itself.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
  1068. &lt;/ul&gt;
  1069. &lt;div&gt;
  1070. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;This program is free software and is distributed under the GNU GPL v3 License.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1071. &lt;br /&gt;
  1072. &lt;div style=&quot;background-color: white; border: 0px none; color: #2d3134; font-family: &amp;quot;Lucida Grande&amp;quot;, Verdana, Geneva, Arial, sans-serif; font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 21px; padding: 10px 20px 10px 80px; vertical-align: baseline;&quot;&gt;
  1073. Latest version is 0.8.0:&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://download.savannah.gnu.org/releases/doclone/doclone-0.8.0.tar.gz&quot; style=&quot;border: 0px none; color: #45639f; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bold; line-height: inherit; margin: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;&quot;&gt;Download&lt;/a&gt;&lt;/div&gt;
  1074. &lt;div&gt;
  1075. &lt;div style=&quot;background-color: white; border: 0px none; color: #2d3134; font-family: &amp;quot;Lucida Grande&amp;quot;, Verdana, Geneva, Arial, sans-serif; font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 21px; padding: 10px 20px 10px 80px; vertical-align: baseline;&quot;&gt;
  1076. &lt;a href=&quot;http://download.savannah.gnu.org/releases/doclone/&quot; style=&quot;border: 0px none; color: #45639f; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: bold; line-height: inherit; margin: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;&quot;&gt;Explore the download directory&lt;/a&gt;&lt;/div&gt;
  1077. &lt;/div&gt;
  1078. &lt;br /&gt;&lt;/div&gt;
  1079. </content><link rel='replies' type='application/atom+xml' href='https://www.hackthesec.co.in/feeds/8560162806226093089/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.hackthesec.co.in/2018/02/open-source-disk-cloningbackup.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/8560162806226093089'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/8560162806226093089'/><link rel='alternate' type='text/html' href='https://www.hackthesec.co.in/2018/02/open-source-disk-cloningbackup.html' title='Open Source Disk Cloning/Backup Softwares for Linux '/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfGqfktDOlq1hInl-1uL8NMknuOcy0nS2Ut5hvoh5M8JA7mSpcCrPHIkCK3WycxNu-HF5WE2zr6q1GxSrNu4Wl_0KHiMI6VOKxZFUzq_lzLiukCGZ1En-ysSr3qRuErpirbNSRoFXmGNdj/s72-c/maxresdefault.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6353083638681129765.post-4476448406490781331</id><published>2017-09-22T19:08:00.000+05:30</published><updated>2017-09-22T19:08:22.495+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="amanda"/><category scheme="http://www.blogger.com/atom/ns#" term="amanda_backup_server"/><category scheme="http://www.blogger.com/atom/ns#" term="backup-management"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux Tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="linux_backup_management"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux_Tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="unix_backup_management"/><title type='text'>How to Install and Configure Amanda Backup Server</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
  1080. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a backup solution that allows the IT administrator to set up a single master backup server to back up multiple hosts over network to tape drives/changers or disks or optical media. Amanda uses native utilities and formats (e.g. dump and/or GNU tar) and can back up a large number of servers and workstations running multiple versions of Linux or Unix.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1081. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
  1082. &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8r3zI99geeFCqnAhyL_W4ik18Y2ec0_hKGF2wSvyU4U0dgSK0miJgw1xFeuvbRMWYRoeVwiF0YUm6D89lr2QNPKYSqXYs2LI96wZoVv-nz9VoQdEVHvRd1ymdfG1px2u_Nvpt6BySxig/s1600/amanda1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;409&quot; data-original-width=&quot;611&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8r3zI99geeFCqnAhyL_W4ik18Y2ec0_hKGF2wSvyU4U0dgSK0miJgw1xFeuvbRMWYRoeVwiF0YUm6D89lr2QNPKYSqXYs2LI96wZoVv-nz9VoQdEVHvRd1ymdfG1px2u_Nvpt6BySxig/s1600/amanda1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
  1083. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
  1084. &lt;br /&gt;&lt;/div&gt;
  1085. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
  1086. &lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
  1087. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
  1088. &lt;span style=&quot;color: blue; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;Install Amanda Server&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1089. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
  1090. &lt;span style=&quot;color: blue; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;==============&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1091. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
  1092. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Install amanda packages using yum:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1093. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif; font-size: 12px;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;# &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;yum install -y amanda*&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1094. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
  1095. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Create the configuration file. I am going to name this backup project is ServerNetBackup. We need to create a directory named by this project and all configuration files for this project will be underneath it:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1096. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif; font-size: 12px;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;# &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;mkdir /etc/amanda/ServerNetBackup&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1097. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
  1098. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Create the core configuration file, amanda.conf:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1099. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;vim /etc/amanda/ServerNetBackup/amanda.conf&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1100. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
  1101. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;And paste following line:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1102. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;org &quot;ServerNetBackup&quot;                 # Organization name for reports
  1103. mailto &quot;address@hackthesec.co.in&quot;        # Email address to receive reports
  1104. netusage 10000 Kbps                   # Bandwidth limit, 10M
  1105. dumpcycle 1 week                      # Backup cycle is 7 days
  1106. runspercycle 7                        # Run 7 times every 7 days
  1107. tapecycle 15 tapes                    # Dump to 15 different tapes during the cycle
  1108. tpchanger &quot;chg-disk&quot;                  # The tape-changer glue script
  1109. changerfile &quot;/etc/amanda/ServerNetBackup/changer&quot;     # The tape-changer file
  1110. tapedev &quot;file://central_backup/ServerNetBackup/slots&quot; # The no-rewind tape device to be used
  1111. tapetype HARDDISK                                     # Define the type of tape
  1112. infofile &quot;/etc/amanda/ServerNetBackup/curinfo&quot;        # Database directory
  1113. logdir &quot;/etc/amanda/ServerNetBackup/logs&quot;             # Log directory
  1114. indexdir &quot;/etc/amanda/ServerNetBackup/index&quot;          # Index directory
  1115. define tapetype HARDDISK {                            # Define our tape behaviour
  1116. length 100000 mbytes                                  # Every tape is 100GB in size
  1117. }
  1118. amrecover_changer &quot;changer&quot;                           # Changer for amrecover
  1119. define dumptype global {                              # The global dump definition
  1120. maxdumps 2                                            # The maximum number of backups run in parallel
  1121. estimate calcsize                                     # Estimate the backup size before dump
  1122. holdingdisk yes                                       # Dump to temp disk (holdingdisk) before backup to tape
  1123. index yes                                             # Generate index. For restoration usage
  1124. }
  1125. define dumptype root-tar {                            # How to dump root&#39;s directory
  1126. global                                                # Include global (as above)
  1127. program &quot;GNUTAR&quot;                                      # Program name for compress
  1128. comment &quot;root partitions dumped with tar&quot;
  1129. compress none                                         # No compress
  1130. index                                                 # Index this dump
  1131. priority low                                          # Priority level
  1132. }
  1133. define dumptype user-tar {                            # How to dump user&#39;s directory
  1134. root-tar                                              # Include root-tar (as above)
  1135. comment &quot;user partitions dumped with tar&quot;
  1136. priority medium                                       # Priority level
  1137. }
  1138. define dumptype comp-user-tar {                       # How to dump &amp;amp; compress user&#39;s directory
  1139. user-tar                                              # Include user-tar (as above)
  1140. compress client fast                                  # Compress in client side with less CPU (fast)
  1141. }&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1142. &lt;div&gt;
  1143. &lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1144. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
  1145. &lt;span style=&quot;color: blue; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Configure Backup Location&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1146. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
  1147. &lt;span style=&quot;color: blue; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;=================&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1148. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
  1149. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Prepare the directory to store all backups:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1150. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;mkdir -p /central_backup/ServerNetBackup/slots&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1151. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
  1152. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Assign correct permission to user amandabackup for the configuration directory and backup directory:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1153. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;$ chown amandabackup.disk /central_backup -Rf
  1154. $ chown amandabackup.disk /etc/amanda/ServerNetBackup -Rf&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1155. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
  1156. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Login as user amandabackup:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1157. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;su - amandabackup&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1158. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
  1159. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Create the virtual tape. This is where the backup files will be stored. We will need to create 15 slots as per tapecycle keyword:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1160. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;$ for n in `seq 1 15`; do mkdir /central_backup/ServerNetBackup/slots/slot${n}; done&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1161. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
  1162. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;We then need to label all slots:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1163. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;$ for n in `seq 1 15` ; do amlabel ServerNetBackup ServerNetBackup-${n} slot ${n}; done&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1164. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
  1165. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Create all required directories as defined in the configuration file:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1166. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;$ mkdir /etc/amanda/ServerNetBackup/curinfo
  1167. $ mkdir /etc/amanda/ServerNetBackup/logs
  1168. $ mkdir /etc/amanda/ServerNetBackup/index&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1169. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1170. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Configure Service and What to Backup&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1171. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1172. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1173. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1174. &lt;/div&gt;
  1175. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1176. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;We need to define what to backup in a file called disklist. As user amandabackup, create this file:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1177. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;$ su - amandabackup
  1178. $ vim /etc/amanda/ServerNetBackup/disklist&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1179. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1180. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;And add following line:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1181. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;sv101.hackthesec.co.in /home/webby/public_html   comp-user-tar
  1182. gogogo.hackthesec.co.in  /etc                      root-tar&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1183. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1184. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Notes: Make sure the hostname is FQDN and can be resolved to an IP. Add the host entry into /etc/hosts is recomended.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1185. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1186. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1187. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1188. &lt;/div&gt;
  1189. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1190. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Exit from amandabackup user and get back to root user:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1191. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1192. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1193. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1194. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Enable amanda service in xinetd.d directory:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1195. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;vim /etc/xinetd.d/amanda&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1196. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1197. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;And change following line from &quot;yes&quot; to &quot;no&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1198. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1199. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1200. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1201. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Enable on boot and restart xinetd service:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1202. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;$ chkconfig xinetd on
  1203. $ service xinetd restart&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1204. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1205. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Check the amanda server whether it is running properly by using following command:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1206. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;$ netstat -a | grep amanda
  1207. udp        0          0       *:amanda                *:*&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1208. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1209. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;If you see result as above, amanda server is ready to serve!&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1210. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1211. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1212. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1213. &lt;span style=&quot;color: blue; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Install Amanda Backup Client&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1214. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1215. &lt;span style=&quot;color: blue; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;======================&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1216. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1217. &lt;/div&gt;
  1218. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1219. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Login to the client’s server and install required package for Amanda using yum:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1220. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;$ yum install -y amanda amanda-client&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1221. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1222. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;As user amandabackup, add following line into /var/lib/amanda/.amandahosts to specify where is Amanda backup server:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1223. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;$ su - amandabackup
  1224. $ vim /var/lib/amanda/.amandahosts&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1225. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1226. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;And make sure the value as below:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1227. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;office.hackthesec.co.in amandabackup amdump
  1228. localhost amandabackup amdump
  1229. localhost.localdomain amandabackup amdump&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1230. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1231. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Exit from user amandabackup and turn to root user:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1232. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1233. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1234. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1235. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Enable amanda service in xinetd.d directory:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1236. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;$ vim /etc/xinetd.d/amanda&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1237. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1238. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;And change following line from&quot;yes&quot; to &quot;no&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1239. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1240. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1241. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1242. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Enable on boot and start the xinetd service&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1243. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;$ chkconfig xinetd on
  1244. $ service xinetd start&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1245. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1246. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Add an entry in /etc/hosts to define backup server IP by adding following line:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1247. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;125.10.90.90      office.hackthesec.co.in&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1248. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1249. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;In some case, you may need to change the permission of the directory that you want to backup. For example, I need to allow user amandabackup to access directory /home/webby/public_html to create backup:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1250. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1251. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1252. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1253. &lt;/div&gt;
  1254. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1255. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;As root user, change the permission of the directory:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1256. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;$ chmod 755 /home/webby&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1257. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1258. &lt;span style=&quot;color: blue; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Run the Backup Process&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1259. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1260. &lt;span style=&quot;color: blue; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;=================&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1261. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1262. &lt;/div&gt;
  1263. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1264. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Now go back to the Amanda server and check our configuration file as amandabackup user:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1265. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;$ su - amandabackup
  1266. $ amcheck ServerNetBackup&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1267. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1268. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;You should see the output similar to this:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1269. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;Client check: 2 host checked in 2.070 seconds.  0 problems found.&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1270. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1271. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;If no error found, you can start the backup process immediately by running following command:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1272. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;$ amdump ServerNetBackup&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1273. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1274. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Or, we can automate this process using cronjob. Run following command as amandabackup user:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1275. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;$ crontab -e&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1276. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1277. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;And add following line:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1278. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;45 0 * * 2-6 /usr/sbin/amdump ServerNetBackup&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1279. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1280. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;As root user, reload the crond service to activate this job:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1281. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;$ service crond reload&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1282. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1283. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1284. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1285. &lt;a href=&quot;http://forums.zmanda.com/&quot; style=&quot;background-color: #7baac3; color: white; display: block; font-family: Arial, Helvetica, sans-serif; font-size: 15.36px; font-weight: 900; padding: 2px 0px 2px 10px; text-decoration-line: none;&quot;&gt;Amanda forums&lt;/a&gt;&lt;a href=&quot;http://forums.zmanda.com/&quot; style=&quot;background-color: #7baac3; color: white; display: block; font-family: Arial, Helvetica, sans-serif; font-size: 15.36px; font-weight: 900; padding: 2px 0px 2px 10px; text-decoration-line: none;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://wiki.zmanda.com/index.php/Tapetype%20definitions&quot; style=&quot;color: white; display: block; font-size: 15.36px; padding: 2px 0px 2px 10px; text-decoration-line: none;&quot;&gt;Tape Type List&lt;/a&gt;&lt;a href=&quot;http://forums.zmanda.com/&quot; style=&quot;background-color: #7baac3; color: white; display: block; font-family: Arial, Helvetica, sans-serif; font-size: 15.36px; font-weight: 900; padding: 2px 0px 2px 10px; text-decoration-line: none;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://wiki.zmanda.com/index.php/Main_Page&quot; style=&quot;background-color: #d7e6ee; color: #0f519a; display: block; font-size: 15.36px; padding: 2px 0px 2px 10px; text-decoration-line: none;&quot;&gt;Amanda Wiki&lt;/a&gt;&lt;/div&gt;
  1286. &lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
  1287. &lt;br /&gt;&lt;/div&gt;
  1288. &lt;/div&gt;
  1289. </content><link rel='replies' type='application/atom+xml' href='https://www.hackthesec.co.in/feeds/4476448406490781331/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.hackthesec.co.in/2017/09/how-to-install-and-configure-amanda.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/4476448406490781331'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/4476448406490781331'/><link rel='alternate' type='text/html' href='https://www.hackthesec.co.in/2017/09/how-to-install-and-configure-amanda.html' title='How to Install and Configure Amanda Backup Server'/><author><name>Sarkari-JOB</name><uri>http://www.blogger.com/profile/07703466142666802829</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8r3zI99geeFCqnAhyL_W4ik18Y2ec0_hKGF2wSvyU4U0dgSK0miJgw1xFeuvbRMWYRoeVwiF0YUm6D89lr2QNPKYSqXYs2LI96wZoVv-nz9VoQdEVHvRd1ymdfG1px2u_Nvpt6BySxig/s72-c/amanda1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6353083638681129765.post-5272555238477848074</id><published>2017-07-10T16:27:00.000+05:30</published><updated>2017-07-10T16:27:32.035+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Debian"/><category scheme="http://www.blogger.com/atom/ns#" term="LEMP"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux Tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="MariaDB"/><category scheme="http://www.blogger.com/atom/ns#" term="Mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="NGINX"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><category scheme="http://www.blogger.com/atom/ns#" term="web_server"/><title type='text'>How to Install LEMP Stack on Debian 9</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
  1290. &lt;div style=&quot;text-align: center;&quot;&gt;
  1291. &lt;span style=&quot;color: #0b5394; font-family: verdana, geneva, sans-serif; font-size: large;&quot;&gt;&lt;u&gt;&lt;b&gt;Install LEMP Stack on Debian 9&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
  1292. &lt;div style=&quot;text-align: center;&quot;&gt;
  1293. &lt;span style=&quot;color: #0b5394; font-family: verdana, geneva, sans-serif; font-size: large;&quot;&gt;&lt;u&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
  1294. &lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;Today we are going to&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: verdana, geneva, sans-serif; font-size: 15px;&quot;&gt;guide you&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: verdana, geneva, sans-serif; font-size: 15px;&quot;&gt;install LEMP stack to brand new Debian GNU/Linux 9 Stretch. &lt;a href=&quot;http://www.hackthesec.co.in/search/label/LEMP&quot;&gt;LEMP&lt;/a&gt; stands for Linux, &lt;a href=&quot;http://www.hackthesec.co.in/search/label/NGINX&quot;&gt;Nginx &lt;/a&gt;(as in Engine X), MySQL and PHP. From Debian 9, &lt;a href=&quot;http://www.hackthesec.co.in/search/label/MariaDB&quot;&gt;Mariadb&lt;/a&gt; is the default mysql server. But you can also choose &lt;a href=&quot;http://www.hackthesec.co.in/search/label/Mysql&quot;&gt;mysql&lt;/a&gt; for installation. It is the counterpart of more popular LAMP stack except instead of Apache httpd we use nginx. Earlier we have tried LEMP stack on Ubuntu and docker container.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
  1295. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
  1296. &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg_CyZ2-sqaQ5zeqH6JsLUMcrlZhFxzGRc4-5qXc-zZ4ME2BNzx1EM_rKnNCfr3RsjuKfAEKXP23KNH8bvXNA7loj4U5OLKY70uZxVjad0ZRjH0DwLC9PETejcnlyZL0rY1uIxcLrXvh4/s1600/Debian9_LAMP.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;341&quot; data-original-width=&quot;713&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg_CyZ2-sqaQ5zeqH6JsLUMcrlZhFxzGRc4-5qXc-zZ4ME2BNzx1EM_rKnNCfr3RsjuKfAEKXP23KNH8bvXNA7loj4U5OLKY70uZxVjad0ZRjH0DwLC9PETejcnlyZL0rY1uIxcLrXvh4/s1600/Debian9_LAMP.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
  1297. &lt;br /&gt;
  1298. &lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;b&gt;&lt;u&gt;Installing Nginx, Mariadb and PHP&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1299. &lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;
  1300. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Installation of nginx, MariaDB and PHP by bellow command line from bash terminal&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: verdana, geneva, sans-serif; font-size: 15px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
  1301. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;apt install nginx mysql-server mysql-client php-fpm php-mysql libfcgi0ldbl&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1302. &lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;Now start all needed services with systemd and&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;enable them to start at boot&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1303. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;# systemctl start php7.0-fpm nginx mysql
  1304. # systemctl enable php7.0-fpm nginx mysql&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1305. &lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;u&gt;&lt;b&gt;Configuring LEMP Stack&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1306. &lt;span style=&quot;background-color: white; color: #333333; font-family: verdana, geneva, sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
  1307. &lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Now Configure the mysql through bellow command line and use &quot;y&quot; for every question and set the mysql root password.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1308. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;mysql_secure_installation&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1309. &lt;span style=&quot;background-color: white; color: #333333; font-family: verdana, geneva, sans-serif; font-size: 15px;&quot;&gt;Now&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;you need to bind socket for fastcgi through bellow command line&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1310. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;cgi-fcgi -bind -connect /run/php/php7.0-fpm.sock&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1311. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Now we are going to configure sites in nginx configuration folder. First we move default config as backup for security purpose&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1312. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;mv /etc/nginx/sites-available/default /etc/nginx/sites-available/df.bk&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1313. &lt;span style=&quot;background-color: white; color: #333333; font-family: verdana, geneva, sans-serif; font-size: 15px;&quot;&gt;After that we will make our own configuration file by bellow command line&lt;/span&gt;&lt;br /&gt;
  1314. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;nano /etc/nginx/sites-available/default&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1315. &lt;span style=&quot;background-color: white; color: #333333; font-family: verdana, geneva, sans-serif; font-size: 15px;&quot;&gt;After that paste the bellow lines on the &quot;default&quot; empty file&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
  1316. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt; server {
  1317.        listen 80 default_server;
  1318.        listen [::]:80 default_server;
  1319.        root /var/www/html;
  1320.        index index.php index.html index.htm index.nginx-debian.html;
  1321.  
  1322.        server_name _;
  1323.        location / {
  1324.                try_files $uri $uri/ =404;
  1325.        }
  1326.  
  1327.        location ~ \.php$ {
  1328.                include snippets/fastcgi-php.conf;
  1329.                fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
  1330.        }
  1331. }&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1332. &lt;div&gt;
  1333. &lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1334. &lt;span style=&quot;background-color: white; color: #333333; font-family: verdana, geneva, sans-serif; font-size: 15px;&quot;&gt;Now make a index.php file in /var/www/html/ by bellow command line&lt;/span&gt;&lt;br /&gt;
  1335. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;echo &quot;&amp;lt;?php phpinfo(); ?&amp;gt;&quot; &amp;gt; /var/www/html/index.php&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1336. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;Now check the mysql is working properly or not. First create a database user and password also a database on the mysql by follow command line&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1337. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;mysql -u root -e &quot;CREATE USER &#39;hackthesec&#39;@&#39;%&#39; IDENTIFIED BY &#39;test@123&#39;;&quot;
  1338.  
  1339. mysql -u root -e &quot;GRANT ALL PRIVILEGES ON *.* TO &#39;hackthesec&#39;@&#39;%&#39; WITH GRANT OPTION&quot;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1340. &lt;span style=&quot;background-color: white; color: #333333; font-family: verdana, geneva, sans-serif; font-size: 15px;&quot;&gt;To check the mysql is working or not use the following command&lt;/span&gt;&lt;br /&gt;
  1341. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;nano /var/www/html/db.php&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1342. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&amp;lt;?php
  1343. $dbh = mysqli_connect(&#39;localhost&#39;, &#39;hackthesec&#39;, &#39;test@123&#39;);
  1344. if (!$dbh) {
  1345. die(&#39;Could not connect: &#39; . mysqli_error());
  1346. }
  1347. echo &#39;Connected successfully&#39;;
  1348. mysqli_close($dbh);
  1349. ?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1350. &lt;span style=&quot;background-color: white; color: #333333; font-family: verdana, geneva, sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
  1351. &lt;span style=&quot;background-color: white; color: #333333; font-family: verdana, geneva, sans-serif; font-size: 15px;&quot;&gt;Now reboot the system or restart the services ..&lt;/span&gt;&lt;br /&gt;
  1352. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;systemctl restart php7.0-fpm nginx mysql&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1353. &lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;Now open your web browser and hit your web server ip you will see the bellow test page.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1354. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
  1355. &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhog28ZsH9WCt0c57LCs99DOYAVXK9Q1py5BYGxBE_h4X_iJwRdJXq42WHOHT4xMvDvK4roIC0UsGHeS2uDNHpBfAORRVKQG8N5LcDZZf_RxOdfw1p5UJxx7XXwr4GRfl9U8ODB4w48ga4/s1600/LAMP.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;855&quot; data-original-width=&quot;1114&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhog28ZsH9WCt0c57LCs99DOYAVXK9Q1py5BYGxBE_h4X_iJwRdJXq42WHOHT4xMvDvK4roIC0UsGHeS2uDNHpBfAORRVKQG8N5LcDZZf_RxOdfw1p5UJxx7XXwr4GRfl9U8ODB4w48ga4/s1600/LAMP.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
  1356. &lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;Allow lamp on firewall through bellow commands&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1357. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;ufw allow 3306/tcp
  1358. ufw allow 80/tcp
  1359. ufw allow 443/tcp (allow if you use https)&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1360. &lt;br /&gt;
  1361. @Hackthesec&lt;/div&gt;
  1362. </content><link rel='replies' type='application/atom+xml' href='https://www.hackthesec.co.in/feeds/5272555238477848074/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.hackthesec.co.in/2017/07/how-to-install-lemp-stack-on-debian-9.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/5272555238477848074'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/5272555238477848074'/><link rel='alternate' type='text/html' href='https://www.hackthesec.co.in/2017/07/how-to-install-lemp-stack-on-debian-9.html' title='How to Install LEMP Stack on Debian 9'/><author><name>Sarkari-JOB</name><uri>http://www.blogger.com/profile/07703466142666802829</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg_CyZ2-sqaQ5zeqH6JsLUMcrlZhFxzGRc4-5qXc-zZ4ME2BNzx1EM_rKnNCfr3RsjuKfAEKXP23KNH8bvXNA7loj4U5OLKY70uZxVjad0ZRjH0DwLC9PETejcnlyZL0rY1uIxcLrXvh4/s72-c/Debian9_LAMP.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6353083638681129765.post-1367535364855538101</id><published>2017-07-10T15:40:00.002+05:30</published><updated>2017-07-10T15:40:47.743+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="asterisk"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux Tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="voip"/><category scheme="http://www.blogger.com/atom/ns#" term="Voip_Billing"/><category scheme="http://www.blogger.com/atom/ns#" term="VOIP_Softswitch"/><category scheme="http://www.blogger.com/atom/ns#" term="Voip_Switch"/><title type='text'>Magnus Open Source VOIP Softswitch And Billing</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
  1363. &lt;div style=&quot;text-align: center;&quot;&gt;
  1364. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;&lt;u&gt;VOIP Softswitch And Billing Portal&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1365. &lt;div style=&quot;text-align: center;&quot;&gt;
  1366. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1367. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;MagnusBilling is a VoIP Billing server system that brings together the best IP billing telephony software in the market, creating a comprehensive, flexible and superior tool. MagnusBilling was made for companies that need freedom to build their own VoIP server.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1368. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  1369. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;You will be able to chose your termination, giving your business larger flexibility and autonomy.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1370. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
  1371. &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8eMX5CtlAhfk9uyEIR0JEcJwOtUWuTzCVTFE_fypN1eDzL76jrmUr1qsZiXhtSc6pcsKP7sTAgJcymqJQAFrw1mGWFRaKaPY7l04jyiGNlAFYKxbFJmXmoYYeg96GSsSGM2uih4H-UbA/s1600/magnusbilling.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;647&quot; data-original-width=&quot;1349&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8eMX5CtlAhfk9uyEIR0JEcJwOtUWuTzCVTFE_fypN1eDzL76jrmUr1qsZiXhtSc6pcsKP7sTAgJcymqJQAFrw1mGWFRaKaPY7l04jyiGNlAFYKxbFJmXmoYYeg96GSsSGM2uih4H-UbA/s1600/magnusbilling.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
  1372. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  1373. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;MagnusBilling is a free billing OpenSource to Asterisk.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1374. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  1375. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;u&gt;&lt;b&gt;Features of magnusbilling&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1376. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;u&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;
  1377. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Softswitch class 4 &amp;amp; 5&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1378. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Voice broadcasting&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1379. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;CallingCard&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1380. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;DID Management&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1381. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;SMS sending&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1382. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;CallShop&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1383. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;CidCallBack&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1384. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;0800Web&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1385. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;IVR&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1386. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Call queue&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1387. &lt;br /&gt;
  1388. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Integrated with asterisk&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1389. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  1390. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Many More : -&amp;nbsp;https://www.magnusbilling.com/wiki&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1391. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  1392. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;How to install it&lt;br /&gt;=================&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1393. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;cd /usr/src
  1394. yum -y install wget
  1395. wget http://downloads.sourceforge.net/project/magnusbilling/install.sh
  1396. chmod +x install.sh
  1397. ./install.sh&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1398. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  1399. &lt;strong style=&quot;background-color: white; box-sizing: border-box; font-family: Roboto, Raleway, Helvetica, Arial, sans-serif; font-size: 14px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; color: #3682ce;&quot;&gt;WARNING!! THE SERVER WILL BE REBOOTED AFTER THE INSTALL!!&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;background-color: white; font-family: Roboto, Raleway, Helvetica, Arial, sans-serif; font-size: 14px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
  1400. &lt;div style=&quot;background-color: white; box-sizing: border-box; font-family: Roboto, Raleway, Helvetica, Arial, sans-serif; font-size: 14px; margin-bottom: 10px;&quot;&gt;
  1401. MagnusBilling&#39;s dashboard:&amp;nbsp;&lt;a href=&quot;http://your_ip/&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: black; text-decoration-line: none; transition: color 400ms, background-color 400ms;&quot;&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;http://your_ip/&lt;/strong&gt;&lt;/a&gt;&lt;/div&gt;
  1402. &lt;div style=&quot;background-color: white; box-sizing: border-box; font-family: Roboto, Raleway, Helvetica, Arial, sans-serif; font-size: 14px; margin-bottom: 10px;&quot;&gt;
  1403. Default user:&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;root&lt;/strong&gt;&lt;/div&gt;
  1404. &lt;div style=&quot;background-color: white; box-sizing: border-box; font-family: Roboto, Raleway, Helvetica, Arial, sans-serif; font-size: 14px; margin-bottom: 10px;&quot;&gt;
  1405. Default password:&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;magnus&lt;/strong&gt;&lt;/div&gt;
  1406. &lt;div style=&quot;background-color: white; box-sizing: border-box; font-family: Roboto, Raleway, Helvetica, Arial, sans-serif; font-size: 14px; margin-bottom: 10px;&quot;&gt;
  1407. &lt;strong style=&quot;box-sizing: border-box;&quot;&gt;&lt;em style=&quot;box-sizing: border-box;&quot;&gt;Remember to change the root&#39;s password!!!&lt;/em&gt;&lt;/strong&gt;&lt;/div&gt;
  1408. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1409. </content><link rel='replies' type='application/atom+xml' href='https://www.hackthesec.co.in/feeds/1367535364855538101/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.hackthesec.co.in/2017/07/magnus-open-source-voip-softswitch-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/1367535364855538101'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/1367535364855538101'/><link rel='alternate' type='text/html' href='https://www.hackthesec.co.in/2017/07/magnus-open-source-voip-softswitch-and.html' title='Magnus Open Source VOIP Softswitch And Billing'/><author><name>Sarkari-JOB</name><uri>http://www.blogger.com/profile/07703466142666802829</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8eMX5CtlAhfk9uyEIR0JEcJwOtUWuTzCVTFE_fypN1eDzL76jrmUr1qsZiXhtSc6pcsKP7sTAgJcymqJQAFrw1mGWFRaKaPY7l04jyiGNlAFYKxbFJmXmoYYeg96GSsSGM2uih4H-UbA/s72-c/magnusbilling.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6353083638681129765.post-8812553167717283390</id><published>2017-07-10T15:05:00.000+05:30</published><updated>2017-07-10T15:05:59.164+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Extend_Partition"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux Tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux_Tools"/><category scheme="http://www.blogger.com/atom/ns#" term="LVM"/><category scheme="http://www.blogger.com/atom/ns#" term="LVM_Partition"/><category scheme="http://www.blogger.com/atom/ns#" term="Unix"/><title type='text'>How-to extend a root LVM partition online</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
  1410. &lt;div style=&quot;text-align: center;&quot;&gt;
  1411. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif; font-size: large;&quot;&gt;&lt;u&gt;&lt;b&gt;Extend a root LVM partition online&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
  1412. &lt;div style=&quot;text-align: center;&quot;&gt;
  1413. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif; font-size: large;&quot;&gt;&lt;u&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
  1414. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;There is also a quick remedy for the emergency situation when your root partition runs out of disk space. There is a feature specific to ext3 and ext4 that can help the goal of resolving the full disk situation. Unless explicitly changed during filesystem creation, both by default reserve five percent (5%) of a volume capacity to the superuser (root).&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1415. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
  1416. &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg49p9cF_CO5MMzNQBEy_f-AZhdR8y3PPuMATkF7r864Qhex6kGRF8DAdINHqjKC0ToWJLtwK5U12uv00fgXqGrVtCrftGyoa6Ny0c45fpMIAY2mEJkkMlgEQARGDMTeIXE7dmvlWlL0Ww/s1600/maxresdefault.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;360&quot; data-original-width=&quot;639&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg49p9cF_CO5MMzNQBEy_f-AZhdR8y3PPuMATkF7r864Qhex6kGRF8DAdINHqjKC0ToWJLtwK5U12uv00fgXqGrVtCrftGyoa6Ny0c45fpMIAY2mEJkkMlgEQARGDMTeIXE7dmvlWlL0Ww/s1600/maxresdefault.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
  1417. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  1418. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;# df -Th
  1419. Filesystem    Type    Size  Used Avail Use% Mounted on
  1420. /dev/mapper/vg_main-lv_root
  1421.              ext4    8.4G  8.0G  952K 100% /
  1422. tmpfs        tmpfs    499M     0  499M   0% /dev/shm
  1423. /dev/vda1     ext4    485M   33M  428M   8% /boot
  1424.  
  1425. # dumpe2fs /dev/vg_main/lv_root | grep &#39;Reserved block count&#39;
  1426. dumpe2fs 1.41.12 (17-May-2010)
  1427. Reserved block count:     111513&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1428. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;It turned out 111513 of 4KB blocks were reserved for the superuser, which was exactly five percent of the volume capacity.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1429. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  1430. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;How to enable it?&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1431. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;# tune2fs -m 0 /dev/vg_main/lv_root
  1432. tune2fs 1.41.12 (17-May-2010)
  1433. Setting reserved blocks percentage to 0% (0 blocks)
  1434. # df -Th
  1435. Filesystem    Type    Size  Used Avail Use% Mounted on
  1436. /dev/mapper/vg_main-lv_root
  1437.              ext4    8.4G  8.0G  437M  95% /
  1438. tmpfs        tmpfs    499M     0  499M   0% /dev/shm
  1439. /dev/vda1     ext4    485M   33M  428M   8% /boot&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1440. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  1441. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Now that we have some free space on the root partition to work on we can extend the LVM partition:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1442. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  1443. &lt;br /&gt;
  1444. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Create a new partition of appropriate size using fdisk&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1445. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;fdisk /dev/sdb1&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1446. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  1447. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;This is a key sequence on the keyboard to create a new LVM type (8e) partition:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1448. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  1449. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;n, p, 1, enter (accept default first sector), enter (accept default last sector), t, 8e, w&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1450. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  1451. &lt;br /&gt;
  1452. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Create a new Physical Volume&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1453. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;# pvcreate /dev/sdb1
  1454.  Writing physical volume data to disk &quot;/dev/sdb1&quot;
  1455.  Physical volume &quot;/dev/sdb1&quot; successfully created&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1456. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Extend a Volume Group&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1457. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;# vgextend vg_main /dev/sdb1
  1458.  Volume group &quot;vg_main&quot; successfully extended&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1459. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Extend your LVM&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1460. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  1461. &lt;br /&gt;
  1462. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;- extend the size of your LVM by the amount of free space on PV&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1463. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;# lvextend /dev/vg_main/lv_root /dev/sdb1
  1464.  Extending logical volume lv_root to 18.50 GiB
  1465.  Logical volume lv_root successfully resized&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1466. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;- or with a given size&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1467. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;lvextend -L +10G /dev/vg_main/lv_root&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1468. &lt;br /&gt;
  1469. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Finally resize the file system online&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1470. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;# resize2fs /dev/vg_main/lv_root
  1471. resize2fs 1.41.12 (17-May-2010)
  1472. Filesystem at /dev/vg_main/lv_root is mounted on /; on-line resizing required
  1473. old desc_blocks = 1, new_desc_blocks = 2
  1474. Performing an on-line resize of /dev/vg_main/lv_root to 4850688 (4k) blocks.
  1475. The filesystem on /dev/vg_main/lv_root is now 4850688 blocks long.&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1476. &lt;span style=&quot;color: #333333; font-family: verdana, geneva, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Now we can set the reserved blocks back to the default percentage - 5%&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1477. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;tune2fs -m 5 /dev/mapper/vg_main-lv_root
  1478. Results:
  1479.  
  1480. # df -Th
  1481. Filesystem    Type    Size  Used Avail Use% Mounted on
  1482. /dev/mapper/vg_main-lv_root
  1483.              ext4     19G  8.0G  9.4G  46% /
  1484. tmpfs        tmpfs    499M     0  499M   0% /dev/shm
  1485. /dev/vda1     ext4    485M   33M  428M   8% /boot&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1486. &lt;br /&gt;&lt;/div&gt;
  1487. </content><link rel='replies' type='application/atom+xml' href='https://www.hackthesec.co.in/feeds/8812553167717283390/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.hackthesec.co.in/2017/07/how-to-extend-root-lvm-partition-online.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/8812553167717283390'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/8812553167717283390'/><link rel='alternate' type='text/html' href='https://www.hackthesec.co.in/2017/07/how-to-extend-root-lvm-partition-online.html' title='How-to extend a root LVM partition online'/><author><name>Sarkari-JOB</name><uri>http://www.blogger.com/profile/07703466142666802829</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg49p9cF_CO5MMzNQBEy_f-AZhdR8y3PPuMATkF7r864Qhex6kGRF8DAdINHqjKC0ToWJLtwK5U12uv00fgXqGrVtCrftGyoa6Ny0c45fpMIAY2mEJkkMlgEQARGDMTeIXE7dmvlWlL0Ww/s72-c/maxresdefault.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6353083638681129765.post-70571296504595041</id><published>2017-06-05T11:26:00.000+05:30</published><updated>2017-06-05T11:26:15.459+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Exploit"/><category scheme="http://www.blogger.com/atom/ns#" term="LATEST EXPLOIT"/><category scheme="http://www.blogger.com/atom/ns#" term="Vulnerability"/><title type='text'>Adobe Flash Out-of-Bounds Read in Getting TextField Width Exploit (0DAY)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
  1488. &lt;div style=&quot;text-align: center;&quot;&gt;
  1489. &lt;span style=&quot;color: #0b5394; font-size: large;&quot;&gt;&lt;u&gt;Adobe Flash Out-of-Bounds Read in Getting TextField Width Exploit (0DAY)&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
  1490. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
  1491. &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHW9OqlkWVHdBF-nhyphenhyphencS_1cPDo-uZXXfs-rlvgu6vpZIf0pWdx3I1Pt5TZaDUGAbDqt2_Ho_3ltCP3xoBsH_SuJdKEWjAeYll_FwATWJw_f3CiDaVqN604C7a17dEOAjpBYX1Px32TELbZ/s1600/AdobeFlashoday.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;282&quot; data-original-width=&quot;629&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHW9OqlkWVHdBF-nhyphenhyphencS_1cPDo-uZXXfs-rlvgu6vpZIf0pWdx3I1Pt5TZaDUGAbDqt2_Ho_3ltCP3xoBsH_SuJdKEWjAeYll_FwATWJw_f3CiDaVqN604C7a17dEOAjpBYX1Px32TELbZ/s1600/AdobeFlashoday.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
  1492. &lt;div style=&quot;text-align: center;&quot;&gt;
  1493. &lt;span style=&quot;color: #0b5394; font-size: large;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
  1494. &lt;table class=&quot;exploit_list&quot; style=&quot;background-color: rgb(239, 239, 239) !important; border-radius: 3px !important; border-spacing: 1px; border: 1px solid rgb(221, 221, 221) !important; box-sizing: border-box; color: #666666; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 14px; margin: 10px 0px; padding: 1px !important; width: 583px;&quot;&gt;&lt;tbody style=&quot;box-sizing: border-box;&quot;&gt;
  1495. &lt;tr style=&quot;background-color: rgb(248, 248, 248) !important; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-bottom: 1px solid rgb(232, 232, 232); border-left-color: rgb(232, 232, 232); border-right-color: rgb(232, 232, 232); border-top-color: rgb(232, 232, 232); box-sizing: border-box; padding: 5px 10px;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td style=&quot;border-bottom: 1px solid rgb(232, 232, 232); border-left-color: rgb(232, 232, 232); border-right-color: rgb(232, 232, 232); border-top-color: rgb(232, 232, 232); box-sizing: border-box; padding: 5px 10px;&quot;&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Author&lt;/strong&gt;:&amp;nbsp;Google Security Research&lt;/td&gt;&lt;td style=&quot;border-bottom: 1px solid rgb(232, 232, 232); border-left-color: rgb(232, 232, 232); border-right-color: rgb(232, 232, 232); border-top-color: rgb(232, 232, 232); box-sizing: border-box; padding: 5px 10px;&quot;&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Published&lt;/strong&gt;: 2017-05-17&lt;/td&gt;&lt;/tr&gt;
  1496. &lt;tr style=&quot;background-color: rgb(248, 248, 248) !important; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-bottom: 1px solid rgb(232, 232, 232); border-left-color: rgb(232, 232, 232); border-right-color: rgb(232, 232, 232); border-top-color: rgb(232, 232, 232); box-sizing: border-box; padding: 5px 10px;&quot;&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;CVE&lt;/strong&gt;:&amp;nbsp;CVE-2017-3064&lt;/td&gt;&lt;td style=&quot;border-bottom: 1px solid rgb(232, 232, 232); border-left-color: rgb(232, 232, 232); border-right-color: rgb(232, 232, 232); border-top-color: rgb(232, 232, 232); box-sizing: border-box; padding: 5px 10px;&quot;&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Type&lt;/strong&gt;:&amp;nbsp;Dos&lt;/td&gt;&lt;td style=&quot;border-bottom: 1px solid rgb(232, 232, 232); border-left-color: rgb(232, 232, 232); border-right-color: rgb(232, 232, 232); border-top-color: rgb(232, 232, 232); box-sizing: border-box; padding: 5px 10px;&quot;&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Platform&lt;/strong&gt;:&amp;nbsp;Multiple&lt;/td&gt;&lt;/tr&gt;
  1497. &lt;tr style=&quot;background-color: rgb(248, 248, 248) !important; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-bottom: 1px solid rgb(232, 232, 232); border-left-color: rgb(232, 232, 232); border-right-color: rgb(232, 232, 232); border-top-color: rgb(232, 232, 232); box-sizing: border-box; padding: 5px 10px;&quot;&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Aliases&lt;/strong&gt;: N/A&lt;/td&gt;&lt;td style=&quot;border-bottom: 1px solid rgb(232, 232, 232); border-left-color: rgb(232, 232, 232); border-right-color: rgb(232, 232, 232); border-top-color: rgb(232, 232, 232); box-sizing: border-box; padding: 5px 10px;&quot;&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Advisory/Source&lt;/strong&gt;:&amp;nbsp;&lt;a class=&quot;external&quot; href=&quot;https://bugs.chromium.org/p/project-zero/issues/detail?id=1211&quot; rel=&quot;nofollow&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #337ab7; outline: 0px; text-decoration-line: none; transition-duration: 0.3s; transition-property: background-color, box-shadow, border, color, opacity, transform;&quot; target=&quot;_blank&quot;&gt;Link&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;border-bottom: 1px solid rgb(232, 232, 232); border-left-color: rgb(232, 232, 232); border-right-color: rgb(232, 232, 232); border-top-color: rgb(232, 232, 232); box-sizing: border-box; padding: 5px 10px;&quot;&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Tags&lt;/strong&gt;: Out Of Bounds&lt;/td&gt;&lt;/tr&gt;
  1498. &lt;tr style=&quot;background-color: rgb(248, 248, 248) !important; box-sizing: border-box;&quot;&gt;&lt;td style=&quot;border-bottom: 1px solid rgb(232, 232, 232); border-left-color: rgb(232, 232, 232); border-right-color: rgb(232, 232, 232); border-top-color: rgb(232, 232, 232); box-sizing: border-box; padding: 5px 10px;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;td style=&quot;border-bottom: 1px solid rgb(232, 232, 232); border-left-color: rgb(232, 232, 232); border-right-color: rgb(232, 232, 232); border-top-color: rgb(232, 232, 232); box-sizing: border-box; padding: 5px 10px;&quot;&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Exploit&lt;/strong&gt;:&amp;nbsp;&lt;a href=&quot;https://www.exploit-db.com/download/42019&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #337ab7; outline: 0px; text-decoration-line: none; transition-duration: 0.3s; transition-property: background-color, box-shadow, border, color, opacity, transform;&quot;&gt;&lt;img alt=&quot;Download Exploit Code&quot; border=&quot;0&quot; src=&quot;https://www.exploit-db.com/wp-content/plugins/edb/ifc/edb-download.png&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; max-width: 100%; vertical-align: middle;&quot; title=&quot;Download Exploit Code&quot; /&gt;&amp;nbsp;Download&amp;nbsp;&lt;/a&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; style=&quot;border-bottom: 1px solid rgb(232, 232, 232); border-left-color: rgb(232, 232, 232); border-right-color: rgb(232, 232, 232); border-top-color: rgb(232, 232, 232); box-sizing: border-box; padding: 5px 10px;&quot;&gt;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Vulnerable App&lt;/strong&gt;: N/A&lt;/td&gt;&lt;/tr&gt;
  1499. &lt;/tbody&gt;&lt;/table&gt;
  1500. &lt;br /&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #666666; direction: ltr !important; float: none !important; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre-wrap !important; width: auto !important;&quot;&gt;
  1501. &lt;code class=&quot;text plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;Source: &lt;a href=&quot;https://bugs.chromium.org/p/project-zero/issues/detail?id=1211&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; text-decoration-line: none; top: auto !important; transition-duration: 0.3s; transition-property: background-color, box-shadow, border, color, opacity, transform; vertical-align: baseline !important; width: auto !important;&quot;&gt;https://bugs.chromium.org/p/project-zero/issues/detail?id=1211&lt;/a&gt;&lt;/code&gt;&lt;/div&gt;
  1502. &lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #666666; direction: ltr !important; float: none !important; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre-wrap !important; width: auto !important;&quot;&gt;
  1503. &amp;nbsp;&lt;/div&gt;
  1504. &lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #666666; direction: ltr !important; float: none !important; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre-wrap !important; width: auto !important;&quot;&gt;
  1505. &lt;code class=&quot;text plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;The attached swf causes an out-of-bounds read in getting the width of a TextField.&lt;/code&gt;&lt;/div&gt;
  1506. &lt;div class=&quot;line number4 index3 alt1&quot; style=&quot;background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #666666; direction: ltr !important; float: none !important; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre-wrap !important; width: auto !important;&quot;&gt;
  1507. &amp;nbsp;&lt;/div&gt;
  1508. &lt;div class=&quot;line number5 index4 alt2&quot; style=&quot;background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #666666; direction: ltr !important; float: none !important; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre-wrap !important; width: auto !important;&quot;&gt;
  1509. &amp;nbsp;&lt;/div&gt;
  1510. &lt;div class=&quot;line number6 index5 alt1&quot; style=&quot;background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #666666; direction: ltr !important; float: none !important; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre-wrap !important; width: auto !important;&quot;&gt;
  1511. &lt;code class=&quot;text plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;Proof of Concept:&lt;/code&gt;&lt;/div&gt;
  1512. &lt;div class=&quot;line number7 index6 alt2&quot; style=&quot;background: none white !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: #666666; direction: ltr !important; float: none !important; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 14px; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre-wrap !important; width: auto !important;&quot;&gt;
  1513. &lt;code class=&quot;text plain&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;a href=&quot;https://github.com/offensive-security/exploit-database-bin-sploits/raw/master/sploits/42019.zip&quot; style=&quot;background: none !important; border-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: black !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; padding: 0px !important; position: static !important; right: auto !important; text-decoration-line: none; top: auto !important; transition-duration: 0.3s; transition-property: background-color, box-shadow, border, color, opacity, transform; vertical-align: baseline !important; width: auto !important;&quot;&gt;https://github.com/offensive-security/exploit-database-bin-sploits/raw/master/sploits/42019.zip&lt;/a&gt;&lt;/code&gt;&lt;/div&gt;
  1514. &lt;/div&gt;
  1515. </content><link rel='replies' type='application/atom+xml' href='https://www.hackthesec.co.in/feeds/70571296504595041/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.hackthesec.co.in/2017/06/adobe-flash-out-of-bounds-read-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/70571296504595041'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/70571296504595041'/><link rel='alternate' type='text/html' href='https://www.hackthesec.co.in/2017/06/adobe-flash-out-of-bounds-read-in.html' title='Adobe Flash Out-of-Bounds Read in Getting TextField Width Exploit (0DAY)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHW9OqlkWVHdBF-nhyphenhyphencS_1cPDo-uZXXfs-rlvgu6vpZIf0pWdx3I1Pt5TZaDUGAbDqt2_Ho_3ltCP3xoBsH_SuJdKEWjAeYll_FwATWJw_f3CiDaVqN604C7a17dEOAjpBYX1Px32TELbZ/s72-c/AdobeFlashoday.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6353083638681129765.post-4154545963811839438</id><published>2017-01-05T12:21:00.001+05:30</published><updated>2017-01-05T12:21:17.544+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="cPanel"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux Tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="MariaDB"/><category scheme="http://www.blogger.com/atom/ns#" term="Mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="WHM"/><title type='text'>How to replace MySQL with MariaDB in cpanel</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
  1516. &lt;div style=&quot;text-align: center;&quot;&gt;
  1517. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;b&gt;&lt;u&gt;Replace MySQL with MariaDB in cpanel&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
  1518. &lt;div style=&quot;text-align: center;&quot;&gt;
  1519. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
  1520. &lt;div style=&quot;text-align: left;&quot;&gt;
  1521. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;&lt;a href=&quot;http://www.hackthesec.co.in/search/label/cPanel&quot;&gt;cPanel&lt;/a&gt; &lt;/b&gt;is a Linux-based web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a web site.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1522. &lt;div style=&quot;text-align: left;&quot;&gt;
  1523. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1524. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
  1525. &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBQywZi06TXKZwFsQs3sass_IJeTf3TED7JAhV-aVU3Nobbr9RBdFFwz2EXi8X0XmllWQiIZ88mA5Rg_Qubwf7LOxE2b9cFJQQxL6Uy4qW_ujuMRZHWGugVEnVFgzLK3IpMg-5GACfKw_D/s1600/MySQL-to-MariaDB.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;273&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBQywZi06TXKZwFsQs3sass_IJeTf3TED7JAhV-aVU3Nobbr9RBdFFwz2EXi8X0XmllWQiIZ88mA5Rg_Qubwf7LOxE2b9cFJQQxL6Uy4qW_ujuMRZHWGugVEnVFgzLK3IpMg-5GACfKw_D/s400/MySQL-to-MariaDB.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
  1526. &lt;div style=&quot;text-align: left;&quot;&gt;
  1527. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;a href=&quot;http://www.hackthesec.co.in/search/label/MariaDB&quot;&gt;&lt;b&gt;MariaDB&lt;/b&gt; &lt;/a&gt;is a community-developed fork of the MySQL relational database management system intended to remain free under the GNU GPL. It is notable for being led by the original developers of &lt;b&gt;&lt;a href=&quot;http://www.hackthesec.co.in/search/label/Mysql&quot;&gt;MySQL&lt;/a&gt;&lt;/b&gt;, who forked it due to concerns over its acquisition by Oracle.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1528. &lt;div style=&quot;text-align: left;&quot;&gt;
  1529. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1530. &lt;div style=&quot;text-align: left;&quot;&gt;
  1531. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1532. &lt;div style=&quot;text-align: left;&quot;&gt;
  1533. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1534. &lt;div style=&quot;text-align: left;&quot;&gt;
  1535. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1536. &lt;div style=&quot;text-align: left;&quot;&gt;
  1537. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1538. &lt;div style=&quot;text-align: left;&quot;&gt;
  1539. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1540. &lt;div style=&quot;text-align: left;&quot;&gt;
  1541. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1542. &lt;div style=&quot;text-align: left;&quot;&gt;
  1543. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Make sure to save all existing data just in case there are any issues.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1544. &lt;div style=&quot;clear: both; margin: 10px 0;&quot;&gt;
  1545. &lt;center&gt;
  1546. &lt;script async=&quot;&quot; src=&quot;//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js&quot;&gt;&lt;/script&gt;
  1547. &lt;!-- linuxtutorial8 --&gt;
  1548. &lt;ins class=&quot;adsbygoogle&quot; data-ad-client=&quot;ca-pub-5744890361111211&quot; data-ad-slot=&quot;1658755283&quot; style=&quot;display: inline-block; height: 15px; width: 728px;&quot;&gt;&lt;/ins&gt;&lt;/center&gt;
  1549. &lt;/div&gt;
  1550. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;cp -Rf /var/lib/mysql /var/lib/mysql-old
  1551. mv /etc/my.cnf /etc/my.cnf-old&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1552. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;u&gt;Disable the targets so cPanel no longer handles MySQL updates&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1553. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  1554. &lt;br /&gt;
  1555. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;The following will mark the versions of MySQL we distribute as uninstalled so they are no longer maintained by cPanel/WHM&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1556. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;/scripts/update_local_rpm_versions –edit target_settings.MySQL50 uninstalled
  1557. /scripts/update_local_rpm_versions –edit target_settings.MySQL51 uninstalled
  1558. /scripts/update_local_rpm_versions –edit target_settings.MySQL55 uninstalled&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1559. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;u&gt;Remove existing MySQL RPM’s so theres a clean slate for MariaDB&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1560. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  1561. &lt;br /&gt;
  1562. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;The below command will uninstall the MySQL RPM’s!&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1563. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;/scripts/check_cpanel_rpms –fix –targets=MySQL50,MySQL51,MySQL55&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1564. &lt;div style=&quot;text-align: left;&quot;&gt;
  1565. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Create a yum repository for MariaDB&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1566. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;vi /etc/yum.repos.d/MariaDB.repo&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1567. &lt;div style=&quot;text-align: left;&quot;&gt;
  1568. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Place the following inside of it depending on the DISTRO or you can download the repo details from this bellow link -&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1569. &lt;div style=&quot;text-align: left;&quot;&gt;
  1570. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;(https://downloads.mariadb.org/mariadb/repositories/):&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1571. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;[mariadb]
  1572. name = MariaDB
  1573. baseurl = http://yum.mariadb.org/5.5.29/centos6-amd64/
  1574. gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
  1575. gpgcheck=1&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1576. &lt;div style=&quot;text-align: left;&quot;&gt;
  1577. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Remove php from the /etc/yum.conf file then run the following commands&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1578. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;yum install MariaDB-server MariaDB-client MariaDB-devel
  1579. /etc/init.d/mysql start
  1580. mysql_upgrade
  1581. /etc/init.d/mysql restart&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1582. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Add php back to the /etc/yum.conf file to ensure future php updates don&#39;t get clobbered&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1583. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  1584. &lt;br /&gt;
  1585. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Rebuild easyapache/php to ensure modules are intact/working&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1586. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;/scripts/easyapache –build&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1587. &lt;div style=&quot;text-align: left;&quot;&gt;
  1588. &lt;br /&gt;&lt;/div&gt;
  1589. &lt;div style=&quot;text-align: left;&quot;&gt;
  1590. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;a href=&quot;http://www.hackthesec.co.in/&quot;&gt;www.hackthesec.co.in&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1591. &lt;div style=&quot;text-align: left;&quot;&gt;
  1592. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;#hackthesec,#cPanel&lt;/span&gt;&lt;/div&gt;
  1593. &lt;/div&gt;
  1594. </content><link rel='replies' type='application/atom+xml' href='https://www.hackthesec.co.in/feeds/4154545963811839438/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.hackthesec.co.in/2017/01/how-to-replace-mysql-with-mariadb-in-cpanel.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/4154545963811839438'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/4154545963811839438'/><link rel='alternate' type='text/html' href='https://www.hackthesec.co.in/2017/01/how-to-replace-mysql-with-mariadb-in-cpanel.html' title='How to replace MySQL with MariaDB in cpanel'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBQywZi06TXKZwFsQs3sass_IJeTf3TED7JAhV-aVU3Nobbr9RBdFFwz2EXi8X0XmllWQiIZ88mA5Rg_Qubwf7LOxE2b9cFJQQxL6Uy4qW_ujuMRZHWGugVEnVFgzLK3IpMg-5GACfKw_D/s72-c/MySQL-to-MariaDB.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6353083638681129765.post-7372379032173329866</id><published>2017-01-02T18:11:00.000+05:30</published><updated>2017-01-02T18:50:24.098+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="cockpit"/><category scheme="http://www.blogger.com/atom/ns#" term="cockpit_monitoring_tools"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux Tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="monitoring_script"/><category scheme="http://www.blogger.com/atom/ns#" term="Monitoring_Server"/><category scheme="http://www.blogger.com/atom/ns#" term="Monitoring_Tools"/><category scheme="http://www.blogger.com/atom/ns#" term="network_monitor"/><category scheme="http://www.blogger.com/atom/ns#" term="storage"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu-16.04"/><title type='text'>How to Install cockpit on Ubuntu 16.04</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
  1595. &lt;div style=&quot;text-align: center;&quot;&gt;
  1596. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;u&gt;&lt;b&gt;Install cockpit on Ubuntu 16.04&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
  1597. &lt;div style=&quot;text-align: center;&quot;&gt;
  1598. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;u&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
  1599. &lt;div style=&quot;text-align: left;&quot;&gt;
  1600. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Cockpit. A remote manager for GNU/Linux servers. Cockpit is a server manager that makes it easy to administer your GNU/Linux servers via a web browser.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1601. &lt;div style=&quot;text-align: left;&quot;&gt;
  1602. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1603. &lt;div style=&quot;text-align: left;&quot;&gt;
  1604. &lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;Cockpit helps make linux system administrator, system maintainers and DevOps easy to manage their server and to perform simple tasks, such as administering storage, inspecting journals, starting and stopping services and more.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1605. &lt;div style=&quot;text-align: left;&quot;&gt;
  1606. &lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1607. &lt;div style=&quot;text-align: left;&quot;&gt;
  1608. &lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;You can monitor and administer several servers at the same time. Just add them with a single click and your machines will look after its buddies.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1609. &lt;div style=&quot;text-align: left;&quot;&gt;
  1610. &lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1611. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;&lt;u&gt;MY LAB SETUP&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1612. &lt;div style=&quot;clear: both; margin: 10px 0;&quot;&gt;
  1613. &lt;center&gt;
  1614. &lt;script async=&quot;&quot; src=&quot;//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js&quot;&gt;&lt;/script&gt;
  1615. &lt;!-- linuxtutorial8 --&gt;
  1616. &lt;ins class=&quot;adsbygoogle&quot; data-ad-client=&quot;ca-pub-5744890361111211&quot; data-ad-slot=&quot;1658755283&quot; style=&quot;display: inline-block; height: 15px; width: 728px;&quot;&gt;&lt;/ins&gt;&lt;/center&gt;
  1617. &lt;/div&gt;
  1618. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;operating system – Ubuntu 16.04 server&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1619. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1620. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;IP Address – 172.17.56.101/24 also i am using my aws live domain name&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1621. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;sudo add-apt-repository ppa:cockpit-project/cockpit&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1622. &lt;div style=&quot;text-align: left;&quot;&gt;
  1623. &lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;After adding the repository execute&amp;nbsp;the bellow command from your terminal&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1624. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;sudo apt-get update&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1625. &lt;div style=&quot;text-align: left;&quot;&gt;
  1626. &lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; font-size: 15px;&quot;&gt;After completed the update process run the bellow command for install the cockpit&lt;/span&gt;&lt;/div&gt;
  1627. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;sudo apt-get install cockpit&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1628. &lt;div style=&quot;text-align: left;&quot;&gt;
  1629. &lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; font-size: 15px;&quot;&gt;After complete installation just start and enable the service through bellow commands&lt;/span&gt;&lt;/div&gt;
  1630. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif; font-size: 14px;&quot;&gt;systemctl start cockpit.socket
  1631. systemctl enable cockpit.socket&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: normal;&quot;&gt;
  1632. &lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1633. &lt;div style=&quot;text-align: left;&quot;&gt;
  1634. &lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;Cockpit by default runs on port 9090,therefore if firewall is enabled,allow the port by executing the following command:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1635. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;ufw allow 9090/tcp&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1636. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Now go to your browser and log on using your hostname or IP address in the format similar to one below:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1637. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  1638. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1639. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;https://&amp;lt;ip address&amp;gt;:9090 or https://&amp;lt;hostname&amp;gt;:9090&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1640. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
  1641. &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDC498P18R1533axnTLmAa0J2pWTHVazF_cPrCr_jLdEeiNXZ07-WGNXiSV4DMSIz7-MZc0qs7na0qkeOfCD8JPz5QwfC08iWVfAlym2V37WyubSlhBRrY8zqislUd56zYhFBOuFm1ubm6/s1600/cockpit_login.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDC498P18R1533axnTLmAa0J2pWTHVazF_cPrCr_jLdEeiNXZ07-WGNXiSV4DMSIz7-MZc0qs7na0qkeOfCD8JPz5QwfC08iWVfAlym2V37WyubSlhBRrY8zqislUd56zYhFBOuFm1ubm6/s1600/cockpit_login.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
  1642. &lt;div style=&quot;text-align: left;&quot;&gt;
  1643. &lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
  1644. &lt;div style=&quot;text-align: left;&quot;&gt;
  1645. &lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;Now, we&#39;ll be asked to enter the login details in order to enter into the dashboard. Here, the username and password is the same as that of the login details we use to login to our linux server. After we enter the login details and click on Log In button, we will be welcomed into the Cockpit Dashboard.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1646. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
  1647. &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQvJUc8HFWApb6PyNDUy3-GnmULOEj-G9ovR-5eXqApzkBDsKoiyvUYHR-0n2ZcJ6lNeEAq0Z6FWc4Mci96wOqAXdjDyQuDyD9ByS-7RXhWFGtaUJYVDnHmszTGyS641dlJtUlZGEkFrE2/s1600/cockpit.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQvJUc8HFWApb6PyNDUy3-GnmULOEj-G9ovR-5eXqApzkBDsKoiyvUYHR-0n2ZcJ6lNeEAq0Z6FWc4Mci96wOqAXdjDyQuDyD9ByS-7RXhWFGtaUJYVDnHmszTGyS641dlJtUlZGEkFrE2/s1600/cockpit.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
  1648. &lt;div style=&quot;text-align: left;&quot;&gt;
  1649. &lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
  1650. &lt;div style=&quot;text-align: left;&quot;&gt;
  1651. &lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
  1652. &lt;div style=&quot;text-align: left;&quot;&gt;
  1653. &lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; font-size: 15px;&quot;&gt;www.hackthesec.co.in&lt;/span&gt;&lt;/div&gt;
  1654. &lt;div style=&quot;text-align: left;&quot;&gt;
  1655. &lt;br /&gt;&lt;/div&gt;
  1656. &lt;/div&gt;
  1657. </content><link rel='replies' type='application/atom+xml' href='https://www.hackthesec.co.in/feeds/7372379032173329866/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.hackthesec.co.in/2017/01/how-to-install-cockpit-on-ubuntu-1604.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/7372379032173329866'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/7372379032173329866'/><link rel='alternate' type='text/html' href='https://www.hackthesec.co.in/2017/01/how-to-install-cockpit-on-ubuntu-1604.html' title='How to Install cockpit on Ubuntu 16.04'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDC498P18R1533axnTLmAa0J2pWTHVazF_cPrCr_jLdEeiNXZ07-WGNXiSV4DMSIz7-MZc0qs7na0qkeOfCD8JPz5QwfC08iWVfAlym2V37WyubSlhBRrY8zqislUd56zYhFBOuFm1ubm6/s72-c/cockpit_login.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6353083638681129765.post-7158036236246127423</id><published>2017-01-02T14:22:00.000+05:30</published><updated>2017-01-02T14:22:01.762+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Debian"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux Tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="LinuxMint"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="virtual_machine"/><category scheme="http://www.blogger.com/atom/ns#" term="VirtualBox"/><title type='text'>How to install Latest VirtualBox Version In Debian/Ubuntu/Linux Mint</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
  1658. &lt;div style=&quot;text-align: center;&quot;&gt;
  1659. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;u&gt;VirtualBox Version In Debian/Ubuntu/Linux Mint&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
  1660. &lt;div style=&quot;text-align: center;&quot;&gt;
  1661. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
  1662. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;a href=&quot;http://www.hackthesec.co.in/search/label/VirtualBox&quot;&gt;VirtualBox&lt;/a&gt; is a powerful x86 and AMD64/Intel64 virtualization product for enterprise as well as home use. Not only is VirtualBox an extremely feature rich, high performance product for enterprise customers, it is also the only professional solution that is freely available as Open Source Software under the terms of the GNU General Public License (GPL) version 2. See &quot;About &lt;a href=&quot;http://www.hackthesec.co.in/search/label/VirtualBox&quot;&gt;VirtualBox&lt;/a&gt;&quot; for an introduction.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1663. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  1664. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Presently, VirtualBox runs on Windows, Linux, Macintosh, and Solaris hosts and supports a large number of guest operating systems including but not limited to Windows (NT 4.0, 2000, XP, Server 2003, Vista, Windows 7, Windows 8, Windows 10), DOS/Windows 3.x, Linux (2.4, 2.6, 3.x and 4.x), Solaris and OpenSolaris, OS/2, and OpenBSD.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1665. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
  1666. &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1EU4txNG33okIHaxZHNeSNJjV2iDxbuPzaM1pJPhtf8FT8fpY8IG_DGpw-wMCruEXniPPSRa3L8MknEWIyqE3lgilMoy8opSkV59j0qDfeOAGOeju5-9BEXtg38-6Ba1DAOlTf8_Zm_iN/s1600/moving-virtualbox-vm.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1EU4txNG33okIHaxZHNeSNJjV2iDxbuPzaM1pJPhtf8FT8fpY8IG_DGpw-wMCruEXniPPSRa3L8MknEWIyqE3lgilMoy8opSkV59j0qDfeOAGOeju5-9BEXtg38-6Ba1DAOlTf8_Zm_iN/s1600/moving-virtualbox-vm.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
  1667. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  1668. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;VirtualBox is being actively developed with frequent releases and has an ever growing list of features, supported guest operating systems and platforms it runs on. VirtualBox is a community effort backed by a dedicated company: everyone is encouraged to contribute while Oracle ensures the product always meets professional quality criteria.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1669. &lt;div style=&quot;text-align: left;&quot;&gt;
  1670. &lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
  1671. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Download &lt;a href=&quot;https://www.virtualbox.org/wiki/Downloads&quot;&gt;Extensions&lt;/a&gt; for VirtualBox (like: Usb 2.0, etc). You can even download &lt;a href=&quot;https://www.virtualbox.org/wiki/Linux_Downloads&quot;&gt;deb file&lt;/a&gt; if you don&#39;t want to add repository.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1672. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1673. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;For other distributions download from &lt;a href=&quot;https://www.virtualbox.org/wiki/Linux_Downloads&quot;&gt;here&lt;/a&gt;.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1674. &lt;div style=&quot;clear: both; margin: 10px 0;&quot;&gt;
  1675. &lt;center&gt;
  1676. &lt;script async=&quot;&quot; src=&quot;//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js&quot;&gt;&lt;/script&gt;
  1677. &lt;!-- linuxtutorial8 --&gt;
  1678. &lt;ins class=&quot;adsbygoogle&quot; data-ad-client=&quot;ca-pub-5744890361111211&quot; data-ad-slot=&quot;1658755283&quot; style=&quot;display: inline-block; height: 15px; width: 728px;&quot;&gt;&lt;/ins&gt;&lt;/center&gt;
  1679. &lt;/div&gt;
  1680. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;echo &quot;deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib&quot; | sudo tee /etc/apt/sources.list.d/virtualbox.list&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1681. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox_2016.asc -O- | sudo apt-key add -&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1682. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;sudo apt-get update&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1683. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;sudo apt-get install virtualbox-5.1&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1684. &lt;div style=&quot;text-align: left;&quot;&gt;
  1685. &lt;br /&gt;&lt;/div&gt;
  1686. &lt;div style=&quot;text-align: left;&quot;&gt;
  1687. Done&lt;/div&gt;
  1688. &lt;div style=&quot;text-align: left;&quot;&gt;
  1689. &lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
  1690. &lt;/div&gt;
  1691. </content><link rel='replies' type='application/atom+xml' href='https://www.hackthesec.co.in/feeds/7158036236246127423/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.hackthesec.co.in/2017/01/how-to-install-latest-virtualbox.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/7158036236246127423'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/7158036236246127423'/><link rel='alternate' type='text/html' href='https://www.hackthesec.co.in/2017/01/how-to-install-latest-virtualbox.html' title='How to install Latest VirtualBox Version In Debian/Ubuntu/Linux Mint'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1EU4txNG33okIHaxZHNeSNJjV2iDxbuPzaM1pJPhtf8FT8fpY8IG_DGpw-wMCruEXniPPSRa3L8MknEWIyqE3lgilMoy8opSkV59j0qDfeOAGOeju5-9BEXtg38-6Ba1DAOlTf8_Zm_iN/s72-c/moving-virtualbox-vm.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6353083638681129765.post-5950495886842533135</id><published>2016-12-30T14:37:00.000+05:30</published><updated>2016-12-30T14:39:12.758+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos7"/><category scheme="http://www.blogger.com/atom/ns#" term="cloud"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux Tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="Nextcloud"/><category scheme="http://www.blogger.com/atom/ns#" term="ownCloud"/><category scheme="http://www.blogger.com/atom/ns#" term="Rhel7"/><title type='text'>How to Install and Configure Nextcloud on CentOS 7 / RHEL 7</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
  1692. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;u&gt;Install and Configure Nextcloud on CentOS / RHEL 7&lt;/u&gt;&lt;/span&gt;&lt;br /&gt;
  1693. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;
  1694. &lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Nextcloud is functionally very similar to the widely used Dropbox, with the primary functional difference being that Nextcloud is free and open-source, and thereby allowing anyone to install and operate it without charge on a private server.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1695. &lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  1696. &lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;In contrast to proprietary services like Dropbox, the open architecture allows adding additional functionality to the server in form of so-called applications.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1697. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
  1698. &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcCnuhnD5JV7hXxzNrLUGJBFH-PKLY7ZsM2-1VbEkPN_eAeh9DL0cSL4wpvR78lvHl1wFC8KR1fH0IwRLrfsBqb6u3mCUK7-MlaOt4jbni9Rbg1Rvt6BX4HXeBR_sC6ljsCd2TwTqxoi3l/s1600/nextcloud-hackthesec.co.in.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcCnuhnD5JV7hXxzNrLUGJBFH-PKLY7ZsM2-1VbEkPN_eAeh9DL0cSL4wpvR78lvHl1wFC8KR1fH0IwRLrfsBqb6u3mCUK7-MlaOt4jbni9Rbg1Rvt6BX4HXeBR_sC6ljsCd2TwTqxoi3l/s1600/nextcloud-hackthesec.co.in.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
  1699. &lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  1700. &lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Nextcloud is an actively maintained fork of ownCloud.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1701. &lt;div style=&quot;clear: both; margin: 10px 0;&quot;&gt;
  1702. &lt;center&gt;
  1703. &lt;script async=&quot;&quot; src=&quot;//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js&quot;&gt;&lt;/script&gt;
  1704. &lt;!-- linuxtutorial8 --&gt;
  1705. &lt;ins class=&quot;adsbygoogle&quot; data-ad-client=&quot;ca-pub-5744890361111211&quot; data-ad-slot=&quot;1658755283&quot; style=&quot;display: inline-block; height: 15px; width: 728px;&quot;&gt;&lt;/ins&gt;&lt;/center&gt;
  1706. &lt;/div&gt;
  1707. &lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  1708. &lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;&lt;u&gt;Some of the Key features of Nextcloud are listed below:&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1709. &lt;div&gt;
  1710. &lt;ul style=&quot;text-align: left;&quot;&gt;
  1711. &lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;File access &amp;amp; sharing&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
  1712. &lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Security &amp;amp; control&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
  1713. &lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Mobile &amp;amp; desktop clients &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
  1714. &lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;External storage&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
  1715. &lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Calendar &amp;amp; Contacts &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
  1716. &lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Secure audio &amp;amp; video calls&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
  1717. &lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Collabora Online Office&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
  1718. &lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Videos of Nextcloud in action&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
  1719. &lt;/ul&gt;
  1720. &lt;div&gt;
  1721. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;&lt;u&gt;Requirement to Install NextCloud on RHEL AND CENTOS&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1722. &lt;/div&gt;
  1723. &lt;div&gt;
  1724. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1725. &lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; font-size: 15px;&quot;&gt;Minimum of 512 MB RAM&lt;/span&gt;&lt;br /&gt;
  1726. &lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Web Server : Apache (httpd) / Nginx&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1727. &lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Database Server : MariaDB / MySQL / PostgreSQL&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1728. &lt;br /&gt;
  1729. &lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;PHP 5.4 +&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1730. &lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  1731. &lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Installation&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1732. &lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;========&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1733. &lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Use the below yum command to install Apache Web Server (httpd), PHP packages and its other dependent packages.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1734. &lt;br /&gt;
  1735. &lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;In the default CentOS and RHEL repositories PHP 5.4 packages are available&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1736. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; color: white; font-family: monospace, serif; font-size: 14px; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;yum install httpd php php-mysql sqlite php-dom php-mbstring php-gd php-pdo php-json php-xml php-zip php-gd curl php-curl php-mcrypt php-pear&lt;/pre&gt;
  1737. &lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Start and startup enable apache web service using this command&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1738. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;systemctl start httpd ; systemctl enable httpd&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1739. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;&lt;u&gt;MariaDB database for Nextcloud&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1740. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;yum install -y mariadb-server mariadb&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1741. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1742. &lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Start and startup enable MariaDB service using this command&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1743. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;systemctl start mariadb; systemctl enable mariadb&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1744. &lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;For set MariaDB root password use the following command&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1745. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;mysql_secure_installation&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1746. &lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;After completed the MariaDB installation just create a database&amp;nbsp;for next-cloud&amp;nbsp;application for me my database name is &quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;nextcloud_db&lt;/b&gt;&quot;.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1747. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;[root@nextcloud ~]# mysql -u root -p
  1748. Enter password:
  1749. Welcome to the MariaDB monitor. Commands end with ; or \g.
  1750. Your MariaDB connection id is 10
  1751. Server version: 5.5.47-MariaDB MariaDB Server
  1752. Copyright (c) 2000, 2015, Oracle, MariaDB Corporation Ab and others.
  1753. Type &#39;help;&#39; or &#39;\h&#39; for help. Type &#39;\c&#39; to clear the current input statement.
  1754. MariaDB [(none)]&amp;gt; create database nextcloud_db;
  1755. Query OK, 1 row affected (0.00 sec)
  1756. MariaDB [(none)]&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1757. &lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;Create a database user (&lt;b&gt;nxtuser&lt;/b&gt;) and grant all the privileges to the user on the database &quot;&lt;b&gt;nextcloud_db&lt;/b&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1758. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;MariaDB [(none)]&amp;gt; grant all on nextcloud_db.* to &#39;nxtuser&#39;@&#39;localhost&#39; identified by &#39;Nextcloud@123#&#39;;
  1759. Query OK, 0 rows affected (0.00 sec)
  1760. MariaDB [(none)]&amp;gt; FLUSH PRIVILEGES;
  1761. Query OK, 0 rows affected (0.00 sec)
  1762. MariaDB [(none)]&amp;gt; exit
  1763. Bye
  1764. [root@nextcloud ~]#&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1765. &lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;b&gt;&lt;u&gt;Download the latest version of NextCloud&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1766. &lt;br /&gt;
  1767. &lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;First Install two packges on your server using bellow command&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1768. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;yum install wget bzip2 -y&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1769. &lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;After that download the file from nextcloud official&amp;nbsp;website - &lt;a href=&quot;https://download.nextcloud.com/server/releases/&quot;&gt;ClickHere&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1770. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;wget https://download.nextcloud.com/server/releases/nextcloud-9.0.53.tar.bz2&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1771. &lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;When your download is complete just extract the downloaded &quot;&lt;b&gt;nextcloud-9.0.53.tar.bz2&lt;/b&gt;&quot;&amp;nbsp;file to Web Server document root (/var/www/html) using bellow command.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1772. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;tar -jxpvf nextcloud-9.0.53.tar.bz2 -C /var/www/html/&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1773. &lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;Set the required permissions on nextcloud directory and its sub directories and files&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1774. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;chown -R apache:apache nextcloud /var/www/html/nextcloud&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1775. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Open the ports in firewall for nextcloud (or you can stop the firewall) using bellow command.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1776. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;[root@nextcloud ~]# firewall-cmd --permanent --zone=public --add-service=http
  1777. [root@nextcloud ~]# firewall-cmd --permanent --zone=public --add-service=https
  1778. [root@nextcloud ~]# firewall-cmd --reload&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1779. &lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;In my Case I am putting selinux in disabled mod &amp;nbsp;using below command you can use it as&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;permissive mod&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1780. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;setenforce 0&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1781. &lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;For Permanently&amp;nbsp;disabled edit the following line and find this line&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;SELINUX=enforcing&quot; to disabled&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1782. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;vi /etc/sysconfig/selinux&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1783. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;# This file controls the state of SELinux on the system.
  1784. # SELINUX= can take one of these three values:
  1785. #     enforcing - SELinux security policy is enforced.
  1786. #     permissive - SELinux prints warnings instead of enforcing.
  1787. #     disabled - No SELinux policy is loaded.
  1788. SELINUX=disabled
  1789. # SELINUXTYPE= can take one of these two values:
  1790. #     targeted - Targeted processes are protected,
  1791. #     mls - Multi Level Security protection.
  1792. SELINUXTYPE=targeted
  1793. &lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1794. &lt;div&gt;
  1795. &lt;span style=&quot;font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1796. &lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;&lt;u&gt;Now Access nextCloud portal from Web Browser&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1797. &lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;
  1798. &lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;After Complete the nextcloud installation you can access it from your web browser using your system ip or server ip&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1799. &lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  1800. &lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;In my case my server ip is - 192.168.2.251&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1801. &lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  1802. &lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;Specify the user name as admin and password that you want to set, Select the Database type as MariaDB and mentioned the database name, database user and its credentials. Once you’re are done with settings then click on finish Setup.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1803. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
  1804. &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdUrqikKS0fdC9vlvzf9cX3bWfHm71ek6WelCDrecpcoLHugEpivoFl-Qhw5vVh5XP2fAWp0YrzONCRJrGDdgCfp03W2YewPc2SzHQ_CZwyyXnekMxKGxBGYZh94QRMM4Ns1uniGvdNm3P/s1600/nextcloud-gui-installation.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdUrqikKS0fdC9vlvzf9cX3bWfHm71ek6WelCDrecpcoLHugEpivoFl-Qhw5vVh5XP2fAWp0YrzONCRJrGDdgCfp03W2YewPc2SzHQ_CZwyyXnekMxKGxBGYZh94QRMM4Ns1uniGvdNm3P/s1600/nextcloud-gui-installation.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
  1805. &lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
  1806. &lt;span style=&quot;background-color: white; font-size: 15px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;Change the upload file size limit for nextcloud and restart the apache service&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1807. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;vi /etc/php.ini
  1808. ============================
  1809. post_max_size = 30M
  1810. upload_max_filesize = 30M&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1811. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;systemctl restart httpd&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1812. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Now start uploading the files and share with your contacts and whatever you want&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1813. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
  1814. &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2PxEvhX1ArtRP5Fdy3pFhPQ8HeBKSsjGmEkn_A5A__-5WpoUcVJyaRfNioIJeS2gOK56ZBrqgZtA6oCilfDIimiMbdvu7ethxJtJXahn6xLwSeUsd7hiRGlNXTBIglUxhh9kh-QGR4n8N/s1600/nextcloud.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2PxEvhX1ArtRP5Fdy3pFhPQ8HeBKSsjGmEkn_A5A__-5WpoUcVJyaRfNioIJeS2gOK56ZBrqgZtA6oCilfDIimiMbdvu7ethxJtJXahn6xLwSeUsd7hiRGlNXTBIglUxhh9kh-QGR4n8N/s1600/nextcloud.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
  1815. &lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
  1816. &lt;a class=&quot;g-profile&quot; href=&quot;https://plus.google.com/113492055880844042777&quot; target=&quot;_blank&quot;&gt;+Linux Tutorial&lt;/a&gt;&lt;br /&gt;
  1817. &lt;br /&gt;&lt;/div&gt;
  1818. </content><link rel='replies' type='application/atom+xml' href='https://www.hackthesec.co.in/feeds/5950495886842533135/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.hackthesec.co.in/2016/12/how-to-install-and-configure-nextcloud.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/5950495886842533135'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/5950495886842533135'/><link rel='alternate' type='text/html' href='https://www.hackthesec.co.in/2016/12/how-to-install-and-configure-nextcloud.html' title='How to Install and Configure Nextcloud on CentOS 7 / RHEL 7'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcCnuhnD5JV7hXxzNrLUGJBFH-PKLY7ZsM2-1VbEkPN_eAeh9DL0cSL4wpvR78lvHl1wFC8KR1fH0IwRLrfsBqb6u3mCUK7-MlaOt4jbni9Rbg1Rvt6BX4HXeBR_sC6ljsCd2TwTqxoi3l/s72-c/nextcloud-hackthesec.co.in.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6353083638681129765.post-6971240169112426198</id><published>2016-12-02T16:47:00.000+05:30</published><updated>2016-12-02T16:47:40.679+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="cPanel"/><category scheme="http://www.blogger.com/atom/ns#" term="DKIM"/><category scheme="http://www.blogger.com/atom/ns#" term="Enabling_Email_Authentication"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux Tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="SPF"/><category scheme="http://www.blogger.com/atom/ns#" term="Unix"/><category scheme="http://www.blogger.com/atom/ns#" term="Web_Hosting"/><title type='text'>Enabling email authentication (SPF and DKIM) for all existing accounts – cPanel/WHM</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
  1819. &lt;h1 class=&quot;post-title entry-title&quot; style=&quot;background-color: white; border: 0px; font-family: Raleway, Arial, sans-serif; font-stretch: inherit; font-variant-numeric: inherit; letter-spacing: -1px; line-height: 1.3em; margin: 0px 0px 10px; padding: 0px; text-align: center; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
  1820. &lt;span style=&quot;color: #0b5394; font-size: large;&quot;&gt;&lt;u&gt;Enabling email authentication (SPF and DKIM)&lt;/u&gt;&lt;/span&gt;&lt;/h1&gt;
  1821. &lt;div style=&quot;text-align: left;&quot;&gt;
  1822. &lt;div&gt;
  1823. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;cPanel is a &lt;a href=&quot;http://www.hackthesec.co.in/search/label/Linux%20Tutorial&quot;&gt;Linux-based&lt;/a&gt; web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a web site. cPanel utilizes a 3 tier structure that provides capabilities for administrators, resellers, and end-user website owners to control the various aspects of website and server administration through a standard web browser.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1824. &lt;div&gt;
  1825. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1826. &lt;div&gt;
  1827. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;In addition to the GUI, cPanel also has command line and API-based access that allows third party software vendors, web hosting organizations, and developers to automate standard system administration processes.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1828. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
  1829. &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAkJl6hJop48ubGUcohyjiYe7l2NlI19NrUPyIFcoYjEgQnYB2tzK_DfQWZN353P70nxXNTldw9E01BCXn92E0K9Zap-kxI-Sdghj0DDkLVz_5H7gNr55rPnszn138M4gEskTn7ScUsrxe/s1600/cpanel.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAkJl6hJop48ubGUcohyjiYe7l2NlI19NrUPyIFcoYjEgQnYB2tzK_DfQWZN353P70nxXNTldw9E01BCXn92E0K9Zap-kxI-Sdghj0DDkLVz_5H7gNr55rPnszn138M4gEskTn7ScUsrxe/s1600/cpanel.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
  1830. &lt;div&gt;
  1831. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1832. &lt;div&gt;
  1833. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;cPanel is designed to function either as a dedicated server or virtual private server. The latest cPanel version supports installation on CentOS, Red Hat Enterprise Linux (RHEL), and CloudLinux OS. cPanel 11.30 is the last major version to support FreeBSD.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1834. &lt;div&gt;
  1835. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1836. &lt;div&gt;
  1837. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Application-based support includes Apache, PHP, MySQL, PostgreSQL, Perl, and BIND (DNS). Email based support includes POP3, IMAP, and SMTP services. cPanel is accessed via https on port 2083&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1838. &lt;div&gt;
  1839. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1840. &lt;div&gt;
  1841. &lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1842. &lt;div&gt;
  1843. &lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;cPanel script to enable SPF via commandline:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1844. &lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;
  1845. &lt;div style=&quot;clear: both; margin: 10px 0;&quot;&gt;
  1846. &lt;center&gt;
  1847. &lt;script async=&quot;&quot; src=&quot;//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js&quot;&gt;&lt;/script&gt;
  1848. &lt;!-- linuxtutorial8 --&gt;
  1849. &lt;ins class=&quot;adsbygoogle&quot; data-ad-client=&quot;ca-pub-5744890361111211&quot; data-ad-slot=&quot;1658755283&quot; style=&quot;display: inline-block; height: 15px; width: 728px;&quot;&gt;&lt;/ins&gt;&lt;/center&gt;
  1850. &lt;/div&gt;
  1851. &lt;div style=&quot;color: #333333;&quot;&gt;
  1852. Syntax&lt;/div&gt;
  1853. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1854. &lt;div&gt;
  1855. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;# /usr/local/cpanel/bin/spf_installer $username&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1856. &lt;/div&gt;
  1857. &lt;div&gt;
  1858. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Where, $username is the cPanel user name&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1859. &lt;div&gt;
  1860. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
  1861. &lt;div&gt;
  1862. &lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; font-size: 15px;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;cPanel script to enable DKIM via commandline:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
  1863. &lt;div&gt;
  1864. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1865. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;
  1866. &lt;div&gt;
  1867. &lt;span style=&quot;font-size: 15px;&quot;&gt;Syntax&lt;/span&gt;&lt;/div&gt;
  1868. &lt;/span&gt;&lt;/div&gt;
  1869. &lt;div&gt;
  1870. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;#  /usr/local/cpanel/bin/dkim_keys_install $username&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1871. &lt;/div&gt;
  1872. &lt;div&gt;
  1873. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Replace $username with the actual cPanel username.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1874. &lt;div&gt;
  1875. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1876. &lt;div&gt;
  1877. &lt;div style=&quot;color: #333333; font-family: verdana, geneva, sans-serif; font-size: 15px;&quot;&gt;
  1878. The above commands will help you to enable email authentications for single cPanel users. If you have hundreds of accounts and you want to enable SPF and DKIM for all accounts, please follow the simple for loop.&lt;/div&gt;
  1879. &lt;div style=&quot;color: #333333; font-family: verdana, geneva, sans-serif; font-size: 15px;&quot;&gt;
  1880. &lt;br /&gt;&lt;/div&gt;
  1881. &lt;div style=&quot;color: #333333; font-family: verdana, geneva, sans-serif; font-size: 15px;&quot;&gt;
  1882. Here we can get the cPanel usernames from &quot;/var/cpanel/users&quot;. Then give that to installations scripts. Please see the sample script below:&lt;/div&gt;
  1883. &lt;div&gt;
  1884. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;for username in `ls -A /var/cpanel/users` ; do
  1885.       /usr/local/cpanel/bin/dkim_keys_install $username  &amp;amp;&amp;amp;
  1886.       /usr/local/cpanel/bin/spf_installer $username ; done&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1887. &lt;/div&gt;
  1888. &lt;div style=&quot;color: #333333; font-family: verdana, geneva, sans-serif; font-size: 15px;&quot;&gt;
  1889. Thanks for support&lt;/div&gt;
  1890. &lt;/div&gt;
  1891. &lt;div style=&quot;color: #333333; font-family: verdana, geneva, sans-serif; font-size: 15px;&quot;&gt;
  1892. &lt;a href=&quot;http://www.hackthesec.co.in/&quot;&gt;www.hackthesec.co.in&lt;/a&gt;&lt;/div&gt;
  1893. &lt;/div&gt;
  1894. &lt;/div&gt;
  1895. </content><link rel='replies' type='application/atom+xml' href='https://www.hackthesec.co.in/feeds/6971240169112426198/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.hackthesec.co.in/2016/12/enabling-email-authentication-spf-and-dkim.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/6971240169112426198'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/6971240169112426198'/><link rel='alternate' type='text/html' href='https://www.hackthesec.co.in/2016/12/enabling-email-authentication-spf-and-dkim.html' title='Enabling email authentication (SPF and DKIM) for all existing accounts – cPanel/WHM'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAkJl6hJop48ubGUcohyjiYe7l2NlI19NrUPyIFcoYjEgQnYB2tzK_DfQWZN353P70nxXNTldw9E01BCXn92E0K9Zap-kxI-Sdghj0DDkLVz_5H7gNr55rPnszn138M4gEskTn7ScUsrxe/s72-c/cpanel.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6353083638681129765.post-6208926363994992196</id><published>2016-12-01T18:18:00.000+05:30</published><updated>2019-01-02T15:41:34.886+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Centos"/><category scheme="http://www.blogger.com/atom/ns#" term="centos7"/><category scheme="http://www.blogger.com/atom/ns#" term="Fedora"/><category scheme="http://www.blogger.com/atom/ns#" term="Go_Language"/><category scheme="http://www.blogger.com/atom/ns#" term="golang"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux Tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="programming_language"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="Unix"/><title type='text'>How to Install Go 1.7 on Ubuntu 16.04 / 14.04 / CentOS 7 / Fedora 24</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
  1896. &lt;span style=&quot;color: #0b5394; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;b&gt;&lt;u&gt;Install Go 1.7 on Ubuntu 16.04 / 14.04 / CentOS 7 / Fedora 24&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
  1897. &lt;span style=&quot;color: #0b5394; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; font-size: large;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;
  1898. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Go (often referred to as golang) is a free and open source programming language created at Google in 2007 by Robert Griesemer, Rob Pike, and Ken Thompson. It is a compiled, statically typed language in the tradition of Algol and C, with garbage collection, limited structural typing, memory safety features and CSP-style concurrent programming features added.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1899. &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
  1900. &lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBBvny9pyLCA-DGCTjvXwcsfTDyRGFmfSw3muCt-XMd3aEDl_ZXEUtltnvg2NFm9Y73eB_VOu_bmnO9GbFQp1pDoWLHLQ9gK6WUEI0B-_fkqUzvIseI95633MHVY_ictfMUMH1434iFeEV/s1600/appenginegophercolor.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBBvny9pyLCA-DGCTjvXwcsfTDyRGFmfSw3muCt-XMd3aEDl_ZXEUtltnvg2NFm9Y73eB_VOu_bmnO9GbFQp1pDoWLHLQ9gK6WUEI0B-_fkqUzvIseI95633MHVY_ictfMUMH1434iFeEV/s1600/appenginegophercolor.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
  1901. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  1902. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;The language was announced in November 2009; it is used in some of Google&#39;s production systems,as well as by other firms. Two major implementations exist: Google&#39;s Go compiler, &quot;gc&quot;, is developed as open source software and targets various platforms including Linux, OS X, Windows, various BSD and Unix versions, and since 2015 also mobile devices, including smartphones.A second compiler, gccgo, is a GCC frontend. The &quot;gc&quot; toolchain is self-hosting since version 1.7&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1903. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  1904. &lt;span style=&quot;color: #0b5394; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;&lt;u&gt;Download and Install Go Language:&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1905. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Switch to the root user.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1906. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif; font-size: 14px;&quot;&gt;$ su -
  1907.  
  1908. ### Ubuntu 16.04 / 14.04 ###
  1909.  
  1910. # apt-get update
  1911. # apt-get -y upgrade
  1912.  
  1913. ### CentOS / RHEL / Fedora ###
  1914.  
  1915. # yum -y update&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; white-space: normal;&quot;&gt;
  1916. &lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1917. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Download the Go language binary package using the following command. Alternatively, you can visit &lt;a href=&quot;https://golang.org/dl/&quot;&gt;Go Language download&lt;/a&gt; page to download the latest version of Go.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1918. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;# wget https://storage.googleapis.com/golang/go1.7.1.linux-amd64.tar.gz&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1919. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Extract the archive and move it to /usr/local. You can also place the Go lang binary to your custom location instead of /usr/local.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1920. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;# tar -zxvf  go1.7.1.linux-amd64.tar.gz -C /usr/local/&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1921. &lt;span style=&quot;color: #0b5394; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;&lt;u&gt;Setup Go Environment variables:&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1922. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  1923. &lt;br /&gt;
  1924. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Setup two important variables for Go, GOROOT (PATH) and GOPATH. Add &lt;b&gt;/usr/local/go/&lt;/b&gt;bin to your path variable.run below command (temporary) or place the following command in &lt;b&gt;/etc/profile or $HOME/.profile&lt;/b&gt; file for persistent across sessions.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1925. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;export PATH=$PATH:/usr/local/go/bin&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1926. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;For Go custom location replace /usr/local/go/bin/ with /path/to/bin/ directory.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1927. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
  1928. &lt;br /&gt;
  1929. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;GOPATH is a Go environment variable for your project workspace. Create a workspace directory called &quot;projectwork&quot; in your home directory.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1930. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;mkdir $HOME/projectwork&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1931. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Set GOPATH variable run below command (temporary) or place the following command in /etc/profile or $HOME/.profile file for persistent across sessions.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1932. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;export GOPATH=$HOME/&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;projectwork&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1933. &lt;span style=&quot;color: #0b5394; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;&lt;u&gt;Verify Go Installation:&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1934. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;# go version
  1935. go version go1.7.1 linux/amd64&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1936. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;# go env
  1937.  
  1938. GOARCH=&quot;amd64&quot;
  1939. GOBIN=&quot;&quot;
  1940. GOEXE=&quot;&quot;
  1941. GOHOSTARCH=&quot;amd64&quot;
  1942. GOHOSTOS=&quot;linux&quot;
  1943. GOOS=&quot;linux&quot;
  1944. GOPATH=&quot;/root/&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;projectwork&lt;/span&gt;&lt;/span&gt;&quot;
  1945. GORACE=&quot;&quot;
  1946. GOROOT=&quot;/usr/local/go&quot;
  1947. GOTOOLDIR=&quot;/usr/local/go/pkg/tool/linux_amd64&quot;
  1948. CC=&quot;gcc&quot;
  1949. GOGCCFLAGS=&quot;-fPIC -m64 -pthread -fmessage-length=0&quot;
  1950. CXX=&quot;g++&quot;
  1951. CGO_ENABLED=&quot;1&quot;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1952. &lt;span style=&quot;color: #0b5394; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;b&gt;&lt;u&gt;Create your first project:&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1953. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;The workspace called &quot;projectwork&quot; located in $HOME directory. I am a root user, in my case &quot;/root/&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;projectwork&lt;/span&gt;&lt;/span&gt;&quot; is my workspace. goto your workspace using below command&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1954. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;# cd $GOPATH
  1955. or
  1956. # cd $HOME/work&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1957. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;# mkdir -p src/hello&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1958. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;# vi src/hello/hello.go&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1959. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;and place the following content in the &lt;b&gt;hello.go&lt;/b&gt; file.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1960. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;package main
  1961.  
  1962. import &quot;fmt&quot;
  1963.  
  1964. func main() {
  1965.    fmt.Printf(&quot;Welcome To hackthesec\n&quot;)
  1966. }&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1967. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;Compile it with go command.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1968. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;# go install hello&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1969. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;go command will put an executable command (hello) inside the bin directory of your workspace. Execute the executable using the following command.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1970. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;# $GOPATH/bin/hello&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1971. &lt;pre style=&quot;background: rgb(68, 67, 65); border-radius: 6px; border: 1px solid rgb(227, 227, 227); box-sizing: border-box; clear: none !important; margin-bottom: 10px !important; margin-top: 10px !important; overflow: auto; padding: 10px !important; width: auto !important; word-break: break-all;&quot;&gt;&lt;span style=&quot;color: white; font-family: monospace , serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;Welcome To hackthesec&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
  1972. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif; font-size: 15px;&quot;&gt;Thanks for reading..&lt;/span&gt;&lt;br /&gt;
  1973. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;a href=&quot;http://www.hackthesec.co.in/&quot;&gt;www.hackthesec.co.in&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
  1974. &lt;span style=&quot;color: #333333; font-family: &amp;quot;verdana&amp;quot; , &amp;quot;geneva&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
  1975. </content><link rel='replies' type='application/atom+xml' href='https://www.hackthesec.co.in/feeds/6208926363994992196/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.hackthesec.co.in/2016/12/how-to-install-go-17-on-ubuntu-1604.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/6208926363994992196'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6353083638681129765/posts/default/6208926363994992196'/><link rel='alternate' type='text/html' href='https://www.hackthesec.co.in/2016/12/how-to-install-go-17-on-ubuntu-1604.html' title='How to Install Go 1.7 on Ubuntu 16.04 / 14.04 / CentOS 7 / Fedora 24'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBBvny9pyLCA-DGCTjvXwcsfTDyRGFmfSw3muCt-XMd3aEDl_ZXEUtltnvg2NFm9Y73eB_VOu_bmnO9GbFQp1pDoWLHLQ9gK6WUEI0B-_fkqUzvIseI95633MHVY_ictfMUMH1434iFeEV/s72-c/appenginegophercolor.jpg" height="72" width="72"/><thr:total>0</thr:total></entry></feed>

If you would like to create a banner that links to this page (i.e. this validation result), do the following:

  1. Download the "valid Atom 1.0" banner.

  2. Upload the image to your own server. (This step is important. Please do not link directly to the image on this server.)

  3. Add this HTML to your page (change the image src attribute if necessary):

If you would like to create a text link instead, here is the URL you can use:

http://www.feedvalidator.org/check.cgi?url=https%3A//www.hackthesec.co.in/feeds/posts/default

Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda