i am a front end developer and i just installed Ubuntu is there a Photoshop alternative for Ubuntu that has the CSS code feature that i can copy the css code right from the .PSD and i also need to export the images from the .PSD as jpeg or as .png
For years I'm using Ubuntu (currently on 18.10) to develop PHP applications on domains like foo.bar.localhost
for local testing. These domains were resolved to 127.0.0.1 and handled by Apache 2.4. This always worked. The line 127.0.0.1 localhost
is in my /etc/hosts
like it always was.
Today morning I turned my device on and this did not work anymore. ping localhost
is still working, but ping foo.bar.localhost
is not (it still was working yesterday). Surprisingly Chromium is still resolving foo.bar.localhost
, I assume it's not using the OS for DNS resolving. But I'm mainly using Firefox, which also stopped resolving localhost subdomains.
I didn't change any system-related settings yesterday, but I remember some package updates from yesterday, so I assume there were some changes to some network-related things. Is there any way to get dpgk
to list install/update dates so that I can find out the exact packages that were updated?
What settings could I check to make resolving subdomains work again system-wide? Are there any known bugs?
Additional information: In /var/log/dpkg.log
I found a recent entry upgrade resolvconf:all 1.79ubuntu10 1.79ubuntu10.18.10.1
which sounds relevant. This and the following subsequent lines are the only lines containing the term "resolv" (found with cat /var/log/dpkg.log | grep resolv
). So, in the last hours this DNS-relevant package was updated.
Another information: the manual man systemd-resolved
has the following line:
The hostnames "localhost" and "localhost.localdomain" (as well as any hostname ending in ".localhost" or ".localhost.localdomain") are resolved to the IP addresses 127.0.0.1 and ::1.
So this well-defined behaviour stopped working. I also can not remember changing anything related to this lowlevel DNS stuff myself.
The exact message when doing ping foo.bar.localhost
is
ping: foo.bar.localhost: Name or service not known
Apparently the only bug "fixed" in the new version of resolvconf was this: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1817903 which is related to local resolving.
I need to vertify my domain to get a https certificate, my problem is that the page says that I have to put a file in a folder named .well-known. The Problem is now that I can't access this folder with my browser, there is written "Forbidden" when I connect to my page?
Does someone know how to fix this?
i just started webdevelopment on ubuntu in core php and laravel Framework. I have installed php and all the dependencies but mysql is not working indiviually but its working inside lampp
so i began with giving the following command
mysql -u root -p
and the i get the following response(same for runing only 'mysql' and 'sudo mysql')
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Also when i go to /var/run there is no folder with the name mysqld
cd /var/run/mysqld
bash: cd: /var/run/mysqld: No such file or directory
See this too
cd /var/run
aq@DevilsBook:/var/run$ ls
acpid.pid console-setup dhclient-wlo1.pid initctl mount rsyslogd.pid sudo user
acpid.socket crond.pid dmeventd-client initramfs network sendsigs.omit.d systemd utmp
alsa crond.reboot dmeventd-server lock NetworkManager shm thermald uuidd
apache2 cryptsetup fsck log php snapd-snap.socket tmpfiles.d wpa_supplicant
avahi-daemon cups gdm3 lvm plymouth snapd.socket udev
blkid dbus gdm3.pid lvmetad.pid pppconfig spice-vdagentd udisks2
Other then That there is a folder named mysql and mysql-upgrade in /var/lib..
Then i tried the service mysql start command and it took so much time
sudo service mysql status
[sudo] password for aq:
● mysql.service - MySQL Community Server
Loaded: loaded (/lib/systemd/system/mysql.service; bad; vendor preset: enable
Active: inactive (dead)
[1]+ Stopped sudo service mysql status
and run the same comand without sudo and i get
Job for mysql.service failed because the control process exited with error code.
See "systemctl status mysql.service" and "journalctl -xe" for details.
After that i see systemctl status mysql.service and the result was
● mysql.service - MySQL Community Server
Loaded: loaded (/lib/systemd/system/mysql.service; bad; vendor preset: enable
Active: failed (Result: exit-code) since Tue 2019-01-15 01:04:13 PKT; 28s ago
Process: 3359 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exit
جنوری 15 01:04:13 DevilsBook systemd[1]: mysql.service: Service hold-off time ov
جنوری 15 01:04:13 DevilsBook systemd[1]: mysql.service: Scheduled restart job, r
جنوری 15 01:04:13 DevilsBook systemd[1]: Stopped MySQL Community Server.
جنوری 15 01:04:13 DevilsBook systemd[1]: mysql.service: Start request repeated t
جنوری 15 01:04:13 DevilsBook systemd[1]: mysql.service: Failed with result 'exit
جنوری 15 01:04:13 DevilsBook systemd[1]: Failed to start MySQL Community Server.
lines 1-11/11 (END)...skipping...
● mysql.service - MySQL Community Server
Loaded: loaded (/lib/systemd/system/mysql.service; bad; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2019-01-15 01:04:13 PKT; 28s ago
Process: 3359 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=1/FAILURE)
جنوری 15 01:04:13 DevilsBook systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
جنوری 15 01:04:13 DevilsBook systemd[1]: mysql.service: Scheduled restart job, restart counter is at 5.
جنوری 15 01:04:13 DevilsBook systemd[1]: Stopped MySQL Community Server.
جنوری 15 01:04:13 DevilsBook systemd[1]: mysql.service: Start request repeated too quickly.
جنوری 15 01:04:13 DevilsBook systemd[1]: mysql.service: Failed with result 'exit-code'.
جنوری 15 01:04:13 DevilsBook systemd[1]: Failed to start MySQL Community Server.
~
~
~
~
~
~
~
[2]+ Stopped systemctl status mysql.service
At the end i ran journalctl -xe
جنوری 15 01:04:13 DevilsBook systemd[1]: mysql.service: Scheduled restart job, restart counter is at 5.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Automatic restarting of the unit mysql.service has been scheduled, as the result for
-- the configured Restart= setting for the unit.
جنوری 15 01:04:13 DevilsBook systemd[1]: Stopped MySQL Community Server.
-- Subject: Unit mysql.service has finished shutting down
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit mysql.service has finished shutting down.
جنوری 15 01:04:13 DevilsBook systemd[1]: mysql.service: Start request repeated too quickly.
جنوری 15 01:04:13 DevilsBook systemd[1]: mysql.service: Failed with result 'exit-code'.
جنوری 15 01:04:13 DevilsBook systemd[1]: Failed to start MySQL Community Server.
-- Subject: Unit mysql.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit mysql.service has failed.
--
-- The result is RESULT.
جنوری 15 01:05:29 DevilsBook systemd[1]: Starting Cleanup of Temporary Directories...
-- Subject: Unit systemd-tmpfiles-clean.service has begun start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit systemd-tmpfiles-clean.service has begun starting up.
جنوری 15 01:05:30 DevilsBook systemd[1]: Started Cleanup of Temporary Directories.
-- Subject: Unit systemd-tmpfiles-clean.service has finished start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit systemd-tmpfiles-clean.service has finished starting up.
--
-- The start-up result is RESULT.
Even though mysql is working in lamp see the result of lampp runing sudo /opt/lampp/lampp start
aq@DevilsBook:~$ sudo /opt/lampp/lampp start
[sudo] password for aq:
Starting XAMPP for Linux 7.2.13-0...
XAMPP: Starting Apache...fail.
XAMPP: Another web server is already running.
XAMPP: Starting MySQL...ok.
XAMPP: Starting ProFTPD...ok.
How do i locate the folder and the package to eliminiate this issue ??
This might not be the best place, but here i go.
I am thinking of switching to Midori Web Browser, as it is lighter than chromium/chrome/firefox. Currently I am struggling to find any web-dev tools for it.
Any web-developer toolset for Midori web browser?
I am looking for something similar to FF - Firebug or Chrome - Developer tools
Thanks!