2:I[6379,["231","static/chunks/231-42eeaa612179830e.js","713","static/chunks/713-1d8f595164adda91.js","605","static/chunks/app/tags/%5Btag%5D/page-c957184240f9ff7c.js"],"default"] 3:I[9275,[],""] 5:I[1343,[],""] 6:I[8700,["231","static/chunks/231-42eeaa612179830e.js","837","static/chunks/837-29ccadcc1eaf8d5e.js","185","static/chunks/app/layout-4689815b234f48f7.js"],"ThemeProviders"] 7:I[4080,["231","static/chunks/231-42eeaa612179830e.js","837","static/chunks/837-29ccadcc1eaf8d5e.js","185","static/chunks/app/layout-4689815b234f48f7.js"],""] 8:I[9032,["231","static/chunks/231-42eeaa612179830e.js","837","static/chunks/837-29ccadcc1eaf8d5e.js","185","static/chunks/app/layout-4689815b234f48f7.js"],"KBarSearchProvider"] 9:I[231,["231","static/chunks/231-42eeaa612179830e.js","904","static/chunks/app/tags/page-7dcc7431c6d30571.js"],""] a:I[509,["231","static/chunks/231-42eeaa612179830e.js","837","static/chunks/837-29ccadcc1eaf8d5e.js","185","static/chunks/app/layout-4689815b234f48f7.js"],"KBarButton"] b:I[1398,["231","static/chunks/231-42eeaa612179830e.js","837","static/chunks/837-29ccadcc1eaf8d5e.js","185","static/chunks/app/layout-4689815b234f48f7.js"],"default"] c:I[8976,["231","static/chunks/231-42eeaa612179830e.js","837","static/chunks/837-29ccadcc1eaf8d5e.js","185","static/chunks/app/layout-4689815b234f48f7.js"],"default"] 4:["tag","ubuntu","d"] 0:["X5bocbsvtsRLAPTmoOG9E",[[["",{"children":["tags",{"children":[["tag","ubuntu","d"],{"children":["__PAGE__?{\"tag\":\"ubuntu\"}",{}]}]}]},"$undefined","$undefined",true],["",{"children":["tags",{"children":[["tag","ubuntu","d"],{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"posts":[{"title":"How to resolve the APT lock error","date":"2018-03-08T00:00:00.000Z","tags":["ubuntu"],"draft":false,"summary":"How to resolve the APT lock error","type":"Blog","readingTime":{"text":"1 min read","minutes":0.485,"time":29100,"words":97},"slug":"apt-lock-error","path":"blog/apt-lock-error","filePath":"blog/apt-lock-error.mdx","toc":[{"value":"APT lock error","url":"#apt-lock-error-7","depth":2}],"structuredData":{"@context":"https://schema.org","@type":"BlogPosting","headline":"How to resolve the APT lock error","datePublished":"2018-03-08T00:00:00.000Z","dateModified":"2018-03-08T00:00:00.000Z","description":"How to resolve the APT lock error","image":"","url":"https://ducdh.com/blog/apt-lock-error"}},{"title":"How to init Ubuntu server","date":"2018-03-08T00:00:00.000Z","tags":["ubuntu"],"draft":false,"summary":"How to init Ubuntu server","type":"Blog","readingTime":{"text":"3 min read","minutes":2.705,"time":162300,"words":541},"slug":"initial-ubuntu-server","path":"blog/initial-ubuntu-server","filePath":"blog/initial-ubuntu-server.mdx","toc":[{"value":"What should we do after init a Ubuntu server?","url":"#what-should-we-do-after-init-a-ubuntu-server-7","depth":1},{"value":"Step 1: Create SSH key on local machine","url":"#step-1-create-ssh-key-on-local-machine-7","depth":2},{"value":"Step 2: Create new user on host machine","url":"#step-2-create-new-user-on-host-machine-7","depth":2},{"value":"Step 3: Add SSH keys to host server","url":"#step-3-add-ssh-keys-to-host-server-7","depth":2},{"value":"Step 3: Increase SSH secure","url":"#step-3-increase-ssh-secure-7","depth":2},{"value":"Step 4: Create SWAP","url":"#step-4-create-swap-7","depth":2},{"value":"Step 5: Configure Firewall","url":"#step-5-configure-firewall-7","depth":2},{"value":"Step 6: Time configuration","url":"#step-6-time-configuration-7","depth":2}],"structuredData":{"@context":"https://schema.org","@type":"BlogPosting","headline":"How to init Ubuntu server","datePublished":"2018-03-08T00:00:00.000Z","dateModified":"2018-03-08T00:00:00.000Z","description":"How to init Ubuntu server","image":"","url":"https://ducdh.com/blog/initial-ubuntu-server"}},{"title":"Laravel project process","date":"2018-03-08T00:00:00.000Z","tags":["ubuntu"],"draft":false,"summary":"Laravel project process","type":"Blog","readingTime":{"text":"2 min read","minutes":1.045,"time":62700,"words":209},"slug":"laravel-setup-process","path":"blog/laravel-setup-process","filePath":"blog/laravel-setup-process.mdx","toc":[{"value":"In summarize of setup fresh Laravel project process.","url":"#in-summarize-of-setup-fresh-laravel-project-process-7","depth":2},{"value":"Composer pulldown","url":"#composer-pulldown-7","depth":3},{"value":"Config env","url":"#config-env-7","depth":3},{"value":"Migrate data","url":"#migrate-data-7","depth":3},{"value":"Setup Node enviroment","url":"#setup-node-enviroment-7","depth":3},{"value":"Set permission and ownership","url":"#set-permission-and-ownership-7","depth":3},{"value":"Apache config","url":"#apache-config-7","depth":3},{"value":"Nginx config","url":"#nginx-config-7","depth":3}],"structuredData":{"@context":"https://schema.org","@type":"BlogPosting","headline":"Laravel project process","datePublished":"2018-03-08T00:00:00.000Z","dateModified":"2018-03-08T00:00:00.000Z","description":"Laravel project process","image":"","url":"https://ducdh.com/blog/laravel-setup-process"}},{"title":"Installation MySQL","date":"2018-03-08T00:00:00.000Z","tags":["ubuntu"],"draft":false,"summary":"Installation MySQL","type":"Blog","readingTime":{"text":"2 min read","minutes":1.11,"time":66600,"words":222},"slug":"mysql-install","path":"blog/mysql-install","filePath":"blog/mysql-install.mdx","toc":[{"value":"Installation MySQL","url":"#installation-mysql-7","depth":2},{"value":"Configuring MySQL","url":"#configuring-mysql-7","depth":2},{"value":"Testing MySQL","url":"#testing-mysql-7","depth":2},{"value":"Uninstall MySQL","url":"#uninstall-mysql-7","depth":2},{"value":"MySQL Service","url":"#mysql-service-7","depth":2},{"value":"MySQL Query","url":"#mysql-query-7","depth":2},{"value":"References","url":"#references-7","depth":2}],"structuredData":{"@context":"https://schema.org","@type":"BlogPosting","headline":"Installation MySQL","datePublished":"2018-03-08T00:00:00.000Z","dateModified":"2018-03-08T00:00:00.000Z","description":"Installation MySQL","image":"","url":"https://ducdh.com/blog/mysql-install"}},{"title":"Use multiple PHP versions","date":"2018-03-08T00:00:00.000Z","tags":["ubuntu"],"draft":false,"summary":"Use multiple PHP versions","type":"Blog","readingTime":{"text":"2 min read","minutes":1.1,"time":66000,"words":220},"slug":"php-multiple-versions","path":"blog/php-multiple-versions","filePath":"blog/php-multiple-versions.mdx","toc":[{"value":"Use multiple PHP versions","url":"#use-multiple-php-versions-7","depth":2},{"value":"Reference","url":"#reference-7","depth":2}],"structuredData":{"@context":"https://schema.org","@type":"BlogPosting","headline":"Use multiple PHP versions","datePublished":"2018-03-08T00:00:00.000Z","dateModified":"2018-03-08T00:00:00.000Z","description":"Use multiple PHP versions","image":"","url":"https://ducdh.com/blog/php-multiple-versions"}},{"title":"Generate SSH Key","date":"2018-03-08T00:00:00.000Z","tags":["ubuntu"],"draft":false,"summary":"Generate SSH Key","type":"Blog","readingTime":{"text":"2 min read","minutes":1.195,"time":71700,"words":239},"slug":"ssh-generate","path":"blog/ssh-generate","filePath":"blog/ssh-generate.mdx","toc":[{"value":"Generate SSH Key","url":"#generate-ssh-key-7","depth":1},{"value":"Checking for existing SSH keys","url":"#checking-for-existing-ssh-keys-7","depth":2},{"value":"Generating a new SSH keys","url":"#generating-a-new-ssh-keys-7","depth":2},{"value":"Security","url":"#security-7","depth":2},{"value":"Copy SSH","url":"#copy-ssh-7","depth":2},{"value":"Add SSH key to remote","url":"#add-ssh-key-to-remote-7","depth":2},{"value":"Verify SSH connection","url":"#verify-ssh-connection-7","depth":2}],"structuredData":{"@context":"https://schema.org","@type":"BlogPosting","headline":"Generate SSH Key","datePublished":"2018-03-08T00:00:00.000Z","dateModified":"2018-03-08T00:00:00.000Z","description":"Generate SSH Key","image":"","url":"https://ducdh.com/blog/ssh-generate"}}],"title":"Ubuntu"}]],null],null]},["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children","tags","children","$4","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}],null]},["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children","tags","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}],null]},[["$","html",null,{"lang":"vi-VN","className":"__variable_587f35 scroll-smooth","suppressHydrationWarning":true,"children":[["$","link",null,{"rel":"manifest","href":"/static/favicons/site.webmanifest"}],["$","link",null,{"rel":"icon","type":"image/png","sizes":"32x32","href":"/static/favicons/favicon.png"}],["$","meta",null,{"name":"msapplication-TileColor","content":"#000000"}],["$","meta",null,{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"#fff"}],["$","meta",null,{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"#000"}],["$","link",null,{"rel":"alternate","type":"application/rss+xml","href":"/feed.xml"}],["$","body",null,{"className":"bg-white pl-[calc(100vw-100%)] text-black antialiased dark:bg-gray-950 dark:text-white","children":["$","$L6",null,{"children":[["$undefined","$undefined","$undefined",["$","$L7",null,{"async":true,"defer":true,"data-website-id":"$undefined","src":"https://analytics.umami.is/script.js"}],"$undefined","$undefined"],["$","section",null,{"className":"mx-auto max-w-3xl px-4 sm:px-6 xl:max-w-5xl xl:px-0","children":[["$","$L8",null,{"kbarConfig":{"searchDocumentsPath":"/search.json"},"children":[["$","header",null,{"className":"flex items-center w-full bg-white dark:bg-gray-950 justify-between py-10","children":[["$","$L9",null,{"className":"break-words","href":"/","aria-label":"ducdh.com","children":["$","div",null,{"className":"flex items-center justify-between","children":[["$","div",null,{"className":"mr-3","children":["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","width":26,"height":26,"fill":"currentColor","className":"logo_svg__bi logo_svg__bi-boxes logo_svg__mb-1","viewBox":"0 0 16 16","children":["$","path",null,{"d":"M7.752.066a.5.5 0 0 1 .496 0l3.75 2.143a.5.5 0 0 1 .252.434v3.995l3.498 2A.5.5 0 0 1 16 9.07v4.286a.5.5 0 0 1-.252.434l-3.75 2.143a.5.5 0 0 1-.496 0l-3.502-2-3.502 2.001a.5.5 0 0 1-.496 0l-3.75-2.143A.5.5 0 0 1 0 13.357V9.071a.5.5 0 0 1 .252-.434L3.75 6.638V2.643a.5.5 0 0 1 .252-.434zM4.25 7.504 1.508 9.071l2.742 1.567 2.742-1.567zM7.5 9.933l-2.75 1.571v3.134l2.75-1.571zm1 3.134 2.75 1.571v-3.134L8.5 9.933zm.508-3.996 2.742 1.567 2.742-1.567-2.742-1.567zm2.242-2.433V3.504L8.5 5.076V8.21zM7.5 8.21V5.076L4.75 3.504v3.134zM5.258 2.643 8 4.21l2.742-1.567L8 1.076zM15 9.933l-2.75 1.571v3.134L15 13.067zM3.75 14.638v-3.134L1 9.933v3.134z"}]}]}],["$","div",null,{"className":"hidden h-6 text-2xl font-semibold sm:block","children":"ducdh.com"}]]}]}],["$","div",null,{"className":"flex items-center space-x-4 leading-5 sm:space-x-6","children":[["$","div",null,{"className":"no-scrollbar hidden max-w-40 items-center space-x-4 overflow-x-auto sm:flex sm:space-x-6 md:max-w-72 lg:max-w-96","children":[["$","$L9",null,{"className":"block font-medium text-gray-900 hover:text-primary-500 dark:text-gray-100 dark:hover:text-primary-400","href":"/blog","children":"Blog"}],["$","$L9",null,{"className":"block font-medium text-gray-900 hover:text-primary-500 dark:text-gray-100 dark:hover:text-primary-400","href":"/tags","children":"Tags"}],["$","$L9",null,{"className":"block font-medium text-gray-900 hover:text-primary-500 dark:text-gray-100 dark:hover:text-primary-400","href":"/about","children":"About"}]]}],["$","$La",null,{"aria-label":"Search","children":["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","fill":"none","viewBox":"0 0 24 24","strokeWidth":1.5,"stroke":"currentColor","className":"h-6 w-6 text-gray-900 hover:text-primary-500 dark:text-gray-100 dark:hover:text-primary-400","children":["$","path",null,{"strokeLinecap":"round","strokeLinejoin":"round","d":"M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z"}]}]}],["$","$Lb",null,{}],["$","$Lc",null,{}]]}]]}],["$","main",null,{"className":"mb-auto","children":["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":["$","div",null,{"className":"flex flex-col items-start justify-start md:mt-24 md:flex-row md:items-center md:justify-center md:space-x-6","children":[["$","div",null,{"className":"space-x-2 pb-8 pt-6 md:space-y-5","children":["$","h1",null,{"className":"text-6xl font-extrabold leading-9 tracking-tight text-gray-900 dark:text-gray-100 md:border-r-2 md:px-6 md:text-8xl md:leading-14","children":"404"}]}],["$","div",null,{"className":"max-w-md","children":[["$","p",null,{"className":"mb-4 text-xl font-bold leading-normal md:text-2xl","children":"Sorry we couldn't find this page."}],["$","p",null,{"className":"mb-8","children":"But dont worry, you can find plenty of other things on our homepage."}],["$","$L9",null,{"className":"focus:shadow-outline-blue inline rounded-lg border border-transparent bg-blue-600 px-4 py-2 text-sm font-medium leading-5 text-white shadow transition-colors duration-150 hover:bg-blue-700 focus:outline-none dark:hover:bg-blue-500","href":"/","children":"Back to homepage"}]]}]]}],"notFoundStyles":[],"styles":null}]}]]}],["$","footer",null,{"children":["$","div",null,{"className":"mt-16 flex flex-col items-center","children":[["$","div",null,{"className":"mb-3 flex space-x-4","children":[["$","a",null,{"className":"text-sm text-gray-500 transition hover:text-gray-600","target":"_blank","rel":"noopener noreferrer","href":"mailto:huuduc.uneti@gmail.com","children":[["$","span",null,{"className":"sr-only","children":"mail"}],["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 20 20","className":"fill-current text-gray-700 hover:text-primary-500 dark:text-gray-200 dark:hover:text-primary-400 h-6 w-6","children":[["$","title",null,{"children":"Mail"}],["$","path",null,{"d":"M2.003 5.884L10 9.882l7.997-3.998A2 2 0 0016 4H4a2 2 0 00-1.997 1.884z"}],["$","path",null,{"d":"M18 8.118l-8 4-8-4V14a2 2 0 002 2h12a2 2 0 002-2V8.118z"}]]}]]}],["$","a",null,{"className":"text-sm text-gray-500 transition hover:text-gray-600","target":"_blank","rel":"noopener noreferrer","href":"https://github.com/dhduc","children":[["$","span",null,{"className":"sr-only","children":"github"}],["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24","className":"fill-current text-gray-700 hover:text-primary-500 dark:text-gray-200 dark:hover:text-primary-400 h-6 w-6","children":[["$","title",null,{"children":"GitHub"}],["$","path",null,{"d":"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"}]]}]]}],["$","a",null,{"className":"text-sm text-gray-500 transition hover:text-gray-600","target":"_blank","rel":"noopener noreferrer","href":"https://facebook.com/huuduc.a7","children":[["$","span",null,{"className":"sr-only","children":"facebook"}],["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24","className":"fill-current text-gray-700 hover:text-primary-500 dark:text-gray-200 dark:hover:text-primary-400 h-6 w-6","children":[["$","title",null,{"children":"Facebook"}],["$","path",null,{"d":"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"}]]}]]}],null,["$","a",null,{"className":"text-sm text-gray-500 transition hover:text-gray-600","target":"_blank","rel":"noopener noreferrer","href":"https://www.linkedin.com/in/ducdh","children":[["$","span",null,{"className":"sr-only","children":"linkedin"}],["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24","className":"fill-current text-gray-700 hover:text-primary-500 dark:text-gray-200 dark:hover:text-primary-400 h-6 w-6","children":[["$","title",null,{"children":"Linkedin"}],["$","path",null,{"d":"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 01-2.063-2.065 2.064 2.064 0 112.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"}]]}]]}],null,["$","a",null,{"className":"text-sm text-gray-500 transition hover:text-gray-600","target":"_blank","rel":"noopener noreferrer","href":"https://twitter.com/_ducdh","children":[["$","span",null,{"className":"sr-only","children":"x"}],["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24","className":"fill-current text-gray-700 hover:text-primary-500 dark:text-gray-200 dark:hover:text-primary-400 h-6 w-6","children":[["$","title",null,{"children":"X"}],["$","path",null,{"d":"M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z"}]]}]]}],null,null]}],["$","div",null,{"className":"mb-2 flex space-x-2 text-sm text-gray-500 dark:text-gray-400","children":[["$","div",null,{"children":"Duc Dao"}],["$","div",null,{"children":" • "}],["$","div",null,{"children":"© 2024"}],["$","div",null,{"children":" • "}],["$","$L9",null,{"className":"break-words","href":"/","children":"Homepage | ducdh.com"}]]}]]}]}]]}]]}]}]]}],null],null],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/12667d03f03df565.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/68d903e7b242758d.css","precedence":"next","crossOrigin":"$undefined"}]],"$Ld"]]]] d:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"ubuntu | Homepage | ducdh.com"}],["$","meta","3",{"name":"description","content":"Homepage | ducdh.com ubuntu tagged content"}],["$","meta","4",{"name":"robots","content":"index, follow"}],["$","meta","5",{"name":"googlebot","content":"index, follow, max-video-preview:-1, max-image-preview:large, max-snippet:-1"}],["$","link","6",{"rel":"canonical","href":"https://ducdh.com/tags/ubuntu"}],["$","link","7",{"rel":"alternate","type":"application/rss+xml","href":"https://ducdh.com/tags/ubuntu/feed.xml"}],["$","meta","8",{"property":"og:title","content":"ubuntu | Homepage | ducdh.com"}],["$","meta","9",{"property":"og:description","content":"Homepage | ducdh.com ubuntu tagged content"}],["$","meta","10",{"property":"og:url","content":"https://ducdh.com/tags/ubuntu"}],["$","meta","11",{"property":"og:site_name","content":"Homepage | ducdh.com"}],["$","meta","12",{"property":"og:locale","content":"en_US"}],["$","meta","13",{"property":"og:type","content":"website"}],["$","meta","14",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","15",{"name":"twitter:title","content":"ubuntu | Homepage | ducdh.com"}],["$","meta","16",{"name":"twitter:description","content":"Homepage | ducdh.com ubuntu tagged content"}],["$","meta","17",{"name":"next-size-adjust"}]] 1:null