<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>mysql &#8211; VeriTeknik</title>
	<atom:link href="https://www.veriteknik.net.tr/en/tag/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.veriteknik.net.tr/en/</link>
	<description>VeriTeknik Bilişim &#124; VeriTeknik Bilişim</description>
	<lastBuildDate>Wed, 07 Nov 2018 20:43:02 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>Compile and build Apache + MySQL + PHP from the source</title>
		<link>https://www.veriteknik.net.tr/en/compiling-apache-mysql-php-source/</link>
					<comments>https://www.veriteknik.net.tr/en/compiling-apache-mysql-php-source/#respond</comments>
		
		<dc:creator><![CDATA[ckaraca]]></dc:creator>
		<pubDate>Thu, 31 Oct 2013 19:56:47 +0000</pubDate>
				<category><![CDATA[httpd]]></category>
		<category><![CDATA[LINUX]]></category>
		<category><![CDATA[Linux Optimization]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[Centos6]]></category>
		<category><![CDATA[CentOS6.4]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[httpd-2.2.25]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[mysql-5.6.14]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[PHP 5.5.5]]></category>
		<category><![CDATA[phpmyadmin]]></category>
		<category><![CDATA[source]]></category>
		<category><![CDATA[stratch]]></category>
		<guid isPermaLink="false">http://www.plugged.in/?p=896</guid>

					<description><![CDATA[<p>This is a complete working solution to build Apache (httpd-2.2.25), MySQL (MySQL-5.6.14) and PHP (PHP-5.5.5) from the sources. Article tested many times on CentOS 6.4 and you can directly copy &#38; paste the commands below to build the lastest releases. We advise you to use a freshly installed OS as compiling may corrupt or delete [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.veriteknik.net.tr/en/compiling-apache-mysql-php-source/">Compile and build Apache + MySQL + PHP from the source</a> appeared first on <a rel="nofollow" href="https://www.veriteknik.net.tr/en/">VeriTeknik</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>This is a complete working solution to build Apache (httpd-2.2.25), MySQL (MySQL-5.6.14) and PHP (PHP-5.5.5) from the sources. Article tested many times on CentOS 6.4 and you can directly copy &amp; paste the commands below to build the lastest releases. We advise you to use a freshly installed OS as compiling may corrupt or delete your existing structure or data. The solution both tested on a clean dedicated server and a KVM virtualized VPS.</p>
<p>Before you begin your compilation you should need additional header files and libraries required, please use the following code to install pre-requisities, don&#8217;t delete them as you would definitely need them when you upgrade to new releases also:</p>
<pre class="brush: shell; gutter: true; first-line: 1">yum install make gcc automake zlib-devel bison cmake libtool wget gcc-c++ unzip ncurses-devel openssl-devel pcre-devel libxml2-devel curl-devel gd-devel libxslt-devel</pre>
<h2>Building &amp; Installing Apache prefork</h2>
<p>download the latest release of Apache Web Server and unpack:</p>
<pre class="brush: shell; gutter: true; first-line: 1">wget http://ftp.itu.edu.tr/Mirror/Apache//httpd/httpd-2.2.25.tar.gz
tar zxvf httpd-2.2.25.tar.gz 
cd httpd-2.2.25</pre>
<p>We advise you to configure with the options below as this form is widely used:</p>
<pre class="brush: shell; gutter: true; first-line: 1">./configure \
        "--prefix=/etc/httpd" \
        "--exec-prefix=/etc/httpd" \
        "--bindir=/usr/bin" \
        "--sbindir=/usr/sbin" \
        "--sysconfdir=/etc/httpd/conf" \
        "--enable-so" \
        "--enable-dav" \
        "--enable-dav-fs" \
        "--enable-dav-lock" \
        "--enable-suexec" \
        "--enable-deflate" \
        "--enable-unique-id" \
        "--enable-mods-static=most" \
        "--enable-reqtimeout" \
        "--with-mpm=prefork" \
        "--with-suexec-caller=apache" \
        "--with-suexec-docroot=/" \
        "--with-suexec-gidmin=100" \
        "--with-suexec-logfile=/var/log/httpd/suexec_log" \
        "--with-suexec-uidmin=100" \
        "--with-suexec-userdir=public_html" \
        "--with-suexec-bin=/usr/sbin/suexec" \
        "--with-included-apr" \
        "--with-pcre=/usr" \
        "--includedir=/usr/include/apache" \
        "--libexecdir=/usr/lib/apache" \
        "--datadir=/var/www" \
        "--localstatedir=/var" \
        "--enable-logio" \
        "--enable-ssl" \
        "--enable-rewrite" \
        "--enable-proxy" \
        "--enable-expires" \
        "--with-ssl=/usr" \
        "--enable-headers"</pre>
<p>to build and install source distro, type:</p>
<pre class="brush: shell; gutter: true; first-line: 1">make
make install</pre>
<h2>Build &amp; Install MySQL</h2>
<p>Since we need headers and libraries of mysql for compiling PHP, we will first install MySQL server before PHP compilation.</p>
<pre class="brush: shell; gutter: true; first-line: 1">wget http://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.14.tar.gz/from/http://cdn.mysql.com/
tar zxvf mysql-5.6.14.tar.gz 
cd mysql-5.6.14
groupadd mysql
useradd -g mysql mysql
cmake .  -DMYSQL_UNIX_ADDR=/var/lib/mysql/mysql.sock
make
make install</pre>
<p>If you encounter problems while running cmake, you have to delete <strong>CmakeCache.txt</strong> before re-compiling with cmake</p>
<pre class="brush: shell; gutter: true; first-line: 1">#log in to newly created mysql dir
cd /usr/local/mysql/
#change owner and group
chown -R mysql:mysql .
scripts/mysql_install_db --user=mysql --datadir=/var/lib/mysql
#add service command
cp support-files/mysql.server /etc/init.d/mysqld
chkconfig --add mysqld
chkconfig mysqld on
#start mysql server
service mysqld start</pre>
<p>change your mysql password by typing:</p>
<pre class="brush: shell; gutter: true; first-line: 1">./bin/mysqladmin -u root password 'new-password' 
./bin/mysqladmin -u root -h change.this.hostname password 'new-password'</pre>
<h2>Build libmcrypt from the source</h2>
<p>libmcypt repo is not included in the main yum repo, so better install it from the source:</p>
<pre class="brush: shell; gutter: true; first-line: 1">wget http://sourceforge.net/projects/mcrypt/files/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.gz/download?use_mirror=garr
tar zxvf libmcrypt-2.5.8.tar.gz
cd libmcrypt-2.5.8
./configure
make
make install</pre>
<h2>Building PHP-5.5.5 from the source</h2>
<p>PHP configuration is also given with the mostly used modules &amp; functionality, download unpack &amp; configure as stated below:</p>
<pre class="brush: shell; gutter: true; first-line: 1">wget http://us2.php.net/get/php-5.5.5.tar.gz/from/this/mirror
tar zxvf php-5.5.5.tar.gz
cd php-5.5.5
./configure \
        --with-apxs2 \
        --with-curl=/usr \
        --with-gd \
        --with-gettext \
        --with-jpeg-dir=/usr \
        --with-freetype-dir=/usr \
        --with-kerberos \
        --with-openssl \
        --with-mcrypt=/usr/local/lib \
        --with-mhash \
        --with-mysql=mysqlnd \
        --with-mysqli=mysqlnd \
        --with-pcre-regex \
        --with-pear \
        --with-png-dir=/usr \
        --with-xsl \
        --with-zlib \
        --with-zlib-dir=/usr \
        --with-iconv \
        --enable-bcmath \
        --enable-calendar \
        --enable-exif \
        --enable-ftp \
        --enable-gd-native-ttf \
        --enable-soap \
        --enable-sockets \
        --enable-mbstring \
        --enable-zip \
        --enable-wddx
make
make install
libtool --finish /root/php-5.5.5/libs
cp php.ini-production /usr/local/lib/php.ini
sed -i 's/;date.timezone =.*/  date.timezone \= "Europe\/Istanbul"/' /usr/local/lib/php.ini</pre>
<h3>Download phpMyAdmin and install it to webroot:</h3>
<pre class="brush: shell; gutter: true; first-line: 1">wget http://downloads.sourceforge.net/project/phpmyadmin/phpMyAdmin/4.0.8/phpMyAdmin-4.0.8-all-languages.tar.gz
tar zxvf phpMyAdmin-4.0.8-all-languages.tar.gz 
mv phpMyAdmin-4.0.8-all-languages /var/www/
mv /var/www/phpMyAdmin-4.0.8-all-languages/ /var/www/phpMyAdmin</pre>
<p>create a test page to see if everything went well:</p>
<pre class="brush: shell; gutter: true; first-line: 1">echo "&lt;?PHP phpInfo();?&gt;" &gt; /var/www/index.php</pre>
<p>If you cannot see a PHP info page, you need to add httpd directives to your httpd.conf:</p>
<pre class="brush: shell; gutter: true; first-line: 1">echo "AddType application/x-httpd-php .php" &gt;&gt; /etc/httpd/conf/extra/httpd-php.conf
echo "AddType application/x-httpd-php-source .phps" &gt;&gt; /etc/httpd/conf/extra/httpd-php.conf

echo "Include conf/extra/httpd-php.conf" &gt;&gt; /etc/httpd/conf/httpd.conf</pre>
<p>restart apache by typing: <strong>apachectl restart</strong></p>
<p>The post <a rel="nofollow" href="https://www.veriteknik.net.tr/en/compiling-apache-mysql-php-source/">Compile and build Apache + MySQL + PHP from the source</a> appeared first on <a rel="nofollow" href="https://www.veriteknik.net.tr/en/">VeriTeknik</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.veriteknik.net.tr/en/compiling-apache-mysql-php-source/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">896</post-id>	</item>
		<item>
		<title>Add New Hosting to a System Installed With Plugged.sh</title>
		<link>https://www.veriteknik.net.tr/en/add-new-hosting-to-a-system-installed-with-plugged-sh/</link>
					<comments>https://www.veriteknik.net.tr/en/add-new-hosting-to-a-system-installed-with-plugged-sh/#respond</comments>
		
		<dc:creator><![CDATA[Mustafa Emre Aydın]]></dc:creator>
		<pubDate>Wed, 03 Jul 2013 11:45:30 +0000</pubDate>
				<category><![CDATA[Data Bases]]></category>
		<category><![CDATA[httpd]]></category>
		<category><![CDATA[LINUX]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[FTP]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[mysql]]></category>
		<guid isPermaLink="false">http://www.plugged.in/?p=779</guid>

					<description><![CDATA[<p>If you use our LAMP installer script and want to add a new domain afterwards, we&#8217;ve created a simple script to ease up the process. This script creates a new user, adds the domain settings for Apache, adds a new MySQL Database and user, restarts necessary services. Simply get our script from here or on [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.veriteknik.net.tr/en/add-new-hosting-to-a-system-installed-with-plugged-sh/">Add New Hosting to a System Installed With Plugged.sh</a> appeared first on <a rel="nofollow" href="https://www.veriteknik.net.tr/en/">VeriTeknik</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>If you use our <a title="Download Plugged.in LAMP installer for CentOS 6.x" href="https://github.com/VeriTeknik/plugged.sh">LAMP installer script</a> and want to add a new domain afterwards, we&#8217;ve created a simple script to ease up the process. This script creates a new user, adds the domain settings for Apache, adds a new MySQL Database and user, restarts necessary services.</p>
<p>Simply get our script from <a href="https://github.com/VeriTeknik/plugged.sh">here</a> or on your server via wget.</p>
<pre class="brush: bash; gutter: true; first-line: 1">git clone https://github.com/VeriTeknik/plugged.sh.git</pre>
<p>Run the script (as root) to learn about the usage.</p>
<pre class="brush: bash; gutter: true; first-line: 1">sh hostingadd.sh

Usage: hostingadd.sh -u username -p password -d domain -ip IP -dbu dbuser -dbn dbname -dbp dbpass

 -u username : Set the LOGIN name (FTP user)
 -p password : Set the Password
 -d domain : Set the Domain
 -ip ip : Set the IP address for the domain
 -dbu dbuser : Set the MySQL User
 -dbn dbname : Set the MySQL Database Name
 -dbp dbpass : Set the MySQL User Password</pre>
<p>The parameters are explained above. The script will try to create the MySQL databases as root, so it will need access to MySQL. In order to manage it, you&#8217;ll have to create a <strong>.my.cnf</strong> file under your <strong>/root</strong>  path. The <strong>/root/.my.cnf file</strong> should be like this :</p>
<pre class="brush: text; gutter: true; first-line: 1">[client]
user=root
pass=yourMySQLrootPassword</pre>
<p>Don&#8217;t worry about writing your password in clear text. This file is restricted by root access anyway, so if someone can read this file, your server is already compromised.</p>
<p>You can access via FTP by using the username and password provided while running the script. You can also check if the database is successfully added via phpmyadmin (which is installed by plugged.sh)</p>
<p>There isn&#8217;t an uninstall script yet, but I&#8217;ll write one asap.</p>
<p>The post <a rel="nofollow" href="https://www.veriteknik.net.tr/en/add-new-hosting-to-a-system-installed-with-plugged-sh/">Add New Hosting to a System Installed With Plugged.sh</a> appeared first on <a rel="nofollow" href="https://www.veriteknik.net.tr/en/">VeriTeknik</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.veriteknik.net.tr/en/add-new-hosting-to-a-system-installed-with-plugged-sh/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">779</post-id>	</item>
		<item>
		<title>MySQL Server Won&#8217;t Start : PID File Errors</title>
		<link>https://www.veriteknik.net.tr/en/mysql-server-wont-start-pid-file-errors/</link>
					<comments>https://www.veriteknik.net.tr/en/mysql-server-wont-start-pid-file-errors/#respond</comments>
		
		<dc:creator><![CDATA[Mustafa Emre Aydın]]></dc:creator>
		<pubDate>Mon, 12 Nov 2012 09:34:23 +0000</pubDate>
				<category><![CDATA[Data Bases]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[pid]]></category>
		<guid isPermaLink="false">http://www.plugged.in/?p=643</guid>

					<description><![CDATA[<p>This is kind of a common problem and may have several reasons. Sometimes when we simply want to restart the MySQL Server, we can get such an error: ERROR! MySQL server PID file could not be found! First of all, always check if the /tmp partition is full. This can happen when MySQL can&#8217;t write [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.veriteknik.net.tr/en/mysql-server-wont-start-pid-file-errors/">MySQL Server Won&#8217;t Start : PID File Errors</a> appeared first on <a rel="nofollow" href="https://www.veriteknik.net.tr/en/">VeriTeknik</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>This is kind of a common problem and may have several reasons. Sometimes when we simply want to restart the MySQL Server, we can get such an error:<br />
ERROR! MySQL server PID file could not be found!</p>
<p>First of all, always check if the /tmp partition is full. This can happen when MySQL can&#8217;t write to the <strong>/tmp</strong> partition to create a lock file.<br />
<strong>$ df -h</strong></p>
<p>Also, this may be because, somehow the <strong>/tmp</strong> partition has been cleared and the MySQL server is looking for the PID file there. So easy-peasy just create a new pid file and restart the server.<br />
<strong>$ touch /tmp/mysql.sock</strong><br />
<strong>$ service mysqld restart</strong></p>
<p>It can also help to check the status, sometimes it helps. For example sometimes you can get an error like this :<br />
<strong>$ service mysqld status</strong><br />
<strong>ERROR! MySQL is not running, but lock file (/var/lock/subsys/mysql) exists</strong></p>
<p>Well, it&#8217;s kind of obvious, just remove the lock file and restart the server.</p>
<p><strong>$ rm /var/lock/subsys/mysql</strong><br />
<strong>$ service mysqld restart</strong></p>
<p>If none of these help, and you&#8217;re getting an error like this:<br />
<strong>$ service mysqld restart</strong><br />
<strong>ERROR! MySQL server PID file could not be found!</strong><br />
<strong>Starting MySQL. ERROR! The server quit without updating PID file (/var/lib/mysql/mydomain.com.pid).</strong></p>
<p>Then there might be a more complicated problem. Check the log file at <strong>/var/lib/mysql/mydomain.com.err</strong><br />
<strong>$ tail /var/lib/mysql/mydomain.com.err</strong><br />
<strong>120602 16:54:09 mysqld_safe mysqld from pid file /var/lib/mysql/mydomain.com.pid ended</strong></p>
<p>This line tells us that we have a compatibility problem with some of our tables and mysql fails to start in safe mode.</p>
<p>Now let&#8217;s change the way mysql starts to work around this situtation.</p>
<p><strong>$ { echo &#8220;mysql_enable=\&#8221;YES\&#8221;&#8221;; echo &#8220;mysql_args=\&#8221;&#8211;skip-grant-tables &#8211;skip-networking\&#8221;&#8221;; } &gt;&gt; /etc/init/rc.conf</strong></p>
<p>Time to restart</p>
<p><strong>$ /etc/init.d/mysqld restart</strong></p>
<p>You should a get successfull restart. Now try and upgrade the server.<br />
<strong>$ mysql_upgrade</strong></p>
<p>If it says you have the latest version, still force it.<br />
<strong>$ mysql_upgrade &#8211;force</strong></p>
<p>It will check every database if it&#8217;s ok. After that, we can return things to normal, comment out the last line we&#8217;ve added to<strong> /etc/init/rc.conf</strong></p>
<p><strong>$ sed -i &#8216;/mysql_args/s/^/#/&#8217; /etc/init/rc.conf</strong><br />
<strong>$ service mysqld restart</strong></p>
<p>Hope this helps.</p>
<p>The post <a rel="nofollow" href="https://www.veriteknik.net.tr/en/mysql-server-wont-start-pid-file-errors/">MySQL Server Won&#8217;t Start : PID File Errors</a> appeared first on <a rel="nofollow" href="https://www.veriteknik.net.tr/en/">VeriTeknik</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.veriteknik.net.tr/en/mysql-server-wont-start-pid-file-errors/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">643</post-id>	</item>
		<item>
		<title>PhpMyAdmin : Cannot start session without errors</title>
		<link>https://www.veriteknik.net.tr/en/phpmyadmin-cannot-start-session-without-errors/</link>
					<comments>https://www.veriteknik.net.tr/en/phpmyadmin-cannot-start-session-without-errors/#respond</comments>
		
		<dc:creator><![CDATA[Mustafa Emre Aydın]]></dc:creator>
		<pubDate>Tue, 26 Jun 2012 10:36:15 +0000</pubDate>
				<category><![CDATA[Data Bases]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[phpmyadmin]]></category>
		<guid isPermaLink="false">http://www.plugged.in/?p=585</guid>

					<description><![CDATA[<p>Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly. If you&#8217;re getting this error when starting phpMyAdmin, there are a few possibilities of what the problem may be. For starters, be sure that it is a server side problem. If this only [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.veriteknik.net.tr/en/phpmyadmin-cannot-start-session-without-errors/">PhpMyAdmin : Cannot start session without errors</a> appeared first on <a rel="nofollow" href="https://www.veriteknik.net.tr/en/">VeriTeknik</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.</strong></p>
<p>If you&#8217;re getting this error when starting phpMyAdmin, there are a few possibilities of what the problem may be.</p>
<p>For starters, be sure that it is a server side problem. If this only happens to one computer, just clear the browser cache and you&#8217;re good to go.</p>
<p>If that doesn&#8217;t solve the problem, it&#8217;s on the server.</p>
<p>PhpMyAdmin uses session intensely, check that the sessions folder of php is properly set.</p>
<p>Go to <strong>php.ini</strong> and look for the value <strong>session.save_path </strong></p>
<p>If there is a value for it, look for the path, it should be in mode <strong>777</strong> and owner <strong>root:user</strong> (change <strong>user</strong> with your own of course)</p>
<p>Sometimes this alone won&#8217;t solve the problem, check for you <strong>/tmp</strong> folder, if it is not <strong>777</strong>, do it.</p>
<p>If this still does not solve the problem, clear the contents of the /tmp folder, some old session files stored in the /tmp folder do cause phpmyadmin to crash.</p>
<p>Since probably your <strong>/tmp</strong> folder is crowded, a simple <strong>rm -f /tmp/*</strong> might say <em>&#8220;argument list too long&#8221;</em>, in such case try this.</p>
<pre class="brush: bash; gutter: true; first-line: 1">find /tmp -name '*' -print0 | xargs -0 -n 10 rm</pre>
<p>The post <a rel="nofollow" href="https://www.veriteknik.net.tr/en/phpmyadmin-cannot-start-session-without-errors/">PhpMyAdmin : Cannot start session without errors</a> appeared first on <a rel="nofollow" href="https://www.veriteknik.net.tr/en/">VeriTeknik</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.veriteknik.net.tr/en/phpmyadmin-cannot-start-session-without-errors/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">585</post-id>	</item>
		<item>
		<title>Download Plugged.in LAMP installer for CentOS 6.x</title>
		<link>https://www.veriteknik.net.tr/en/plugged-install-lamp-for-centosredhat-6-x-download/</link>
					<comments>https://www.veriteknik.net.tr/en/plugged-install-lamp-for-centosredhat-6-x-download/#respond</comments>
		
		<dc:creator><![CDATA[ckaraca]]></dc:creator>
		<pubDate>Wed, 20 Jun 2012 22:15:06 +0000</pubDate>
				<category><![CDATA[Data Bases]]></category>
		<category><![CDATA[httpd]]></category>
		<category><![CDATA[LINUX]]></category>
		<category><![CDATA[LINUX Help]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[installer]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[ntpdate]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[rpmforge]]></category>
		<category><![CDATA[selinux]]></category>
		<category><![CDATA[server]]></category>
		<guid isPermaLink="false">http://www.plugged.in/?p=568</guid>

					<description><![CDATA[<p>Version Info: V0.2 21/06/2012 DO you ever wanted to set-up a testing server with &#8211; Apache virtual config, logs, paths setted, &#8211; MySQL server with password set, &#8211; FTP Server (Vsftpd), &#8211; PHP and PhpMyAdmin installed &#38; configured on your server or VPS in seconds? If you answer &#8220;yes&#8221; to the question, you are in [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.veriteknik.net.tr/en/plugged-install-lamp-for-centosredhat-6-x-download/">Download Plugged.in LAMP installer for CentOS 6.x</a> appeared first on <a rel="nofollow" href="https://www.veriteknik.net.tr/en/">VeriTeknik</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Version Info: V0.2 21/06/2012</p>
<p>DO you ever wanted to set-up a testing server with<br />
&#8211; Apache virtual config, logs, paths setted,<br />
&#8211; MySQL server with password set,<br />
&#8211; FTP Server (Vsftpd),<br />
&#8211; PHP and PhpMyAdmin installed &amp; configured on your server or VPS in seconds?</p>
<p>If you answer &#8220;yes&#8221; to the question, you are in the right place, what does this script do in basic:</p>
<p>&#8211; Installs http, PHP, MySQL, phpMyAdmin, rpmforge repo and other related packages<br />
&#8211; Sets apache configs, mod_deflate, virtual hosts, create user, cgi-bin directory<br />
&#8211; Sets time with ntpdate, disables iptables &amp; selinux, mysql password and<br />
&#8211; Updates the system</p>
<p>What is needed?<br />
&#8211; A clean minimal install of CentOS/Redhat 6.X</p>
<p>How can I download the script?</p>
<pre class="brush: bash; gutter: true; first-line: 1">wget http://www.plugged.in/downloads/plugged.sh</pre>
<p>or just download it.</p>
[wpdm_file id=1]
<p>How to use the script?</p>
<pre class="brush: bash; gutter: true; first-line: 1">chmod 755 plugged.sh
./plugged.sh -u username -p password -d domain.com</pre>
<p>You can reach phpMyAdmin by typing domain.com/phpMyAdmin/</p>
<p>If you have suggestions or requests please write down!</p>
<p>The post <a rel="nofollow" href="https://www.veriteknik.net.tr/en/plugged-install-lamp-for-centosredhat-6-x-download/">Download Plugged.in LAMP installer for CentOS 6.x</a> appeared first on <a rel="nofollow" href="https://www.veriteknik.net.tr/en/">VeriTeknik</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.veriteknik.net.tr/en/plugged-install-lamp-for-centosredhat-6-x-download/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">568</post-id>	</item>
		<item>
		<title>MySQL root password recovery in DirectAdmin</title>
		<link>https://www.veriteknik.net.tr/en/mysql-root-password-recovery-in-directadmin/</link>
					<comments>https://www.veriteknik.net.tr/en/mysql-root-password-recovery-in-directadmin/#respond</comments>
		
		<dc:creator><![CDATA[ckaraca]]></dc:creator>
		<pubDate>Sun, 15 Apr 2012 23:58:02 +0000</pubDate>
				<category><![CDATA[DirectAdmin]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[change]]></category>
		<category><![CDATA[directadmin]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[recover]]></category>
		<category><![CDATA[recovery]]></category>
		<category><![CDATA[reset]]></category>
		<category><![CDATA[set]]></category>
		<guid isPermaLink="false">http://www.plugged.in/?p=291</guid>

					<description><![CDATA[<p>Before changing MySQL root password you may try to recover default installation password. DirectAdmin MySQL root password is set within the installation process and written down to setup.txt. If you didn&#8217;t change this password you can find the default one in the setup.txt, use the command below to see the contents of /usr/local/directadmin/scripts/setup.txt: your password [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.veriteknik.net.tr/en/mysql-root-password-recovery-in-directadmin/">MySQL root password recovery in DirectAdmin</a> appeared first on <a rel="nofollow" href="https://www.veriteknik.net.tr/en/">VeriTeknik</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p style="text-align: justify;">Before changing MySQL root password you may try to recover default installation password. DirectAdmin MySQL root password is set within the installation process and written down to setup.txt.</p>
<p style="text-align: justify;">If you didn&#8217;t change this password you can find the default one in the setup.txt, use the command below to see the contents of /usr/local/directadmin/scripts/setup.txt:</p>
<p style="text-align: justify;">your password is stored in the line starting with &#8220;mysql=&#8221;</p>
<p style="text-align: justify;">To see the contents of this file from a terminal, type:</p>
<pre class="brush: shell; gutter: true; first-line: 1">less /usr/local/directadmin/scripts/setup.txt</pre>
<p><span style="text-align: justify;">If you want to access mysql from ssh or console directly without typing password, create a file in /root/ dir called .my.cnf:</span></p>
<pre class="brush: shell; gutter: true; first-line: 1">touch /root/.my.cnf</pre>
<p>and edit this file with the vi editor:</p>
<pre class="brush: bash; gutter: false; first-line: 1">vi /root/.my.cnf</pre>
<p>Add the lines below:</p>
<pre class="brush: bash; gutter: true; first-line: 1">[client]
 user=root
 password=XXXXXX</pre>
<p>Fill the password with the pass you got from setup.txt, save the file with SHIFT+ZZ or :wq and exit. After this step just write <strong>mysql </strong>to enter MySQL console directly without password.</p>
<pre class="brush: bash; gutter: false; first-line: 1">[root@test ~]# mysql
 Welcome to the MySQL monitor.  Commands end with ; or \g.
 Your MySQL connection id is 169833
 Server version: 5.0.77-log MySQL Community Edition (GPL)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql&gt;</pre>
<p>..</p>
<p>The post <a rel="nofollow" href="https://www.veriteknik.net.tr/en/mysql-root-password-recovery-in-directadmin/">MySQL root password recovery in DirectAdmin</a> appeared first on <a rel="nofollow" href="https://www.veriteknik.net.tr/en/">VeriTeknik</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.veriteknik.net.tr/en/mysql-root-password-recovery-in-directadmin/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">291</post-id>	</item>
	</channel>
</rss>
